Q: iChat Server, Can login with Adium but not with iChat
Since being able to login with Adium was not mentioned in the "iChat, login does not work" thread I started a new one.
I'm transitioning from a 10.5 server to a 10.6 server. On 10.5.8 my iChat server runs without hiccup but the 10.6.2 iChat server, with the same configuration, has problems. DNS is setup correctly with reverse lookup working as it should. I'll outline my results trying to connect to the server with iChat (client) and Adium from both inside and outside the server's private network with no firewall running.
Inside the network:
- iChat on 10.5.8
- When trying to login I'm told that my screen name or password is incorrect and asked to re-enter which continues to fail. I am using the login id: username@server.domain.tld.
- The iChat server log reads:
Jan 13 20:55:33 sl jabberd/c2s[4357]: [7] [::ffff:192.168.1.173, port=55927] connect
Jan 13 20:55:33 sl jabberd/c2s[4357]: ODKVerifyClientRequestFixed: Unable to authenticate
Jan 13 20:55:33 sl jabberd/c2s[4357]: [7] [::ffff:192.168.1.173, port=55927] disconnect jid=unbound, packets: 0
- Adium
- With the same setup as iChat (client), when I try to connect I'm told "[the server] requires plaintext authentication over an unencrypted connection. Allow this and continue authentication? If I click "yes" I can connect to the server.
- The iChat server log reads:
Jan 13 21:02:28 sl jabberd/c2s[4357]: odauth_check_servicemembership: checking user "berylium" access for service "chat"
Jan 13 21:02:28 sl jabberd/c2s[4357]: odauth_check_servicemembership: mbrcheck_servicemembership returned 2
Jan 13 21:02:28 sl jabberd/c2s[4357]: odauth_check_servicemembership: no access restrictions found
Jan 13 21:02:28 sl jabberd/c2s[4357]: [7] SASL authentication succeeded: mechanism=PLAIN; authzid=john@sl.enco.re
Jan 13 21:02:28 sl jabberd/c2s[4357]: odauth_check_servicemembership: checking user "berylium" access for service "chat"
Jan 13 21:02:28 sl jabberd/c2s[4357]: odauth_check_servicemembership: mbrcheck_servicemembership returned 2
Jan 13 21:02:28 sl jabberd/c2s[4357]: odauth_check_servicemembership: no access restrictions found
Jan 13 21:02:28 sl jabberd/c2s[4357]: [7] bound: jid=berylium@[server.domain.tld]
Jan 13 21:02:28 sl jabberd/sm[4356]: session started: jid=berylium@[server.domain.tld]
Outside the network:
- iChat on 10.6.2
- iChat (client) acts exactly the same whether inside or outside the network
- Adium
- Adium asks me to type out my Kerberos identity, if I cancel that dialog I'm asked the same question as before about allowing plaintext authentication. And, again, if I allow plaintext authentication I can connect.
Since it was asked for in a similar post for iChat Server 10.5, here's the output from 'sudo serveradmin settings jabber' run from the server:
jabber:enableSavedChats = yes
jabber:authLevel = "ANYMETHOD"
jabber:jabberdDatabasePath = "/private/var/jabberd/sqlite/jabberd2.db"
jabber:sslCAFile = ""
jabber:hosts:arrayindex:0 = "sl.enco.re"
jabber:savedChatsLocation = "/var/jabberd/message_archives"
jabber:savedChatsArchiveInterval = 7
jabber:initialized = yes
jabber:dataLocation = ""
jabber:enableXMPP = no
jabber:eventLogArchiveInterval = 7
jabber:serviceMode = "ALL"
jabber:enableAutoBuddy = no
jabber:s2sRestrictDomains = no
jabber:logLevel = "ALL"
jabber:sslKeyFile = ""
jabber:requireSecureS2S = no
jabber:s2sAllowedDomains = emptyarray
It's so odd that Adium can connect but iChat cannot. Any help on this would be greatly appreciated!
thanks,
Berylium
I'm transitioning from a 10.5 server to a 10.6 server. On 10.5.8 my iChat server runs without hiccup but the 10.6.2 iChat server, with the same configuration, has problems. DNS is setup correctly with reverse lookup working as it should. I'll outline my results trying to connect to the server with iChat (client) and Adium from both inside and outside the server's private network with no firewall running.
Inside the network:
- iChat on 10.5.8
- When trying to login I'm told that my screen name or password is incorrect and asked to re-enter which continues to fail. I am using the login id: username@server.domain.tld.
- The iChat server log reads:
Jan 13 20:55:33 sl jabberd/c2s[4357]: [7] [::ffff:192.168.1.173, port=55927] connect
Jan 13 20:55:33 sl jabberd/c2s[4357]: ODKVerifyClientRequestFixed: Unable to authenticate
Jan 13 20:55:33 sl jabberd/c2s[4357]: [7] [::ffff:192.168.1.173, port=55927] disconnect jid=unbound, packets: 0
- Adium
- With the same setup as iChat (client), when I try to connect I'm told "[the server] requires plaintext authentication over an unencrypted connection. Allow this and continue authentication? If I click "yes" I can connect to the server.
- The iChat server log reads:
Jan 13 21:02:28 sl jabberd/c2s[4357]: odauth_check_servicemembership: checking user "berylium" access for service "chat"
Jan 13 21:02:28 sl jabberd/c2s[4357]: odauth_check_servicemembership: mbrcheck_servicemembership returned 2
Jan 13 21:02:28 sl jabberd/c2s[4357]: odauth_check_servicemembership: no access restrictions found
Jan 13 21:02:28 sl jabberd/c2s[4357]: [7] SASL authentication succeeded: mechanism=PLAIN; authzid=john@sl.enco.re
Jan 13 21:02:28 sl jabberd/c2s[4357]: odauth_check_servicemembership: checking user "berylium" access for service "chat"
Jan 13 21:02:28 sl jabberd/c2s[4357]: odauth_check_servicemembership: mbrcheck_servicemembership returned 2
Jan 13 21:02:28 sl jabberd/c2s[4357]: odauth_check_servicemembership: no access restrictions found
Jan 13 21:02:28 sl jabberd/c2s[4357]: [7] bound: jid=berylium@[server.domain.tld]
Jan 13 21:02:28 sl jabberd/sm[4356]: session started: jid=berylium@[server.domain.tld]
Outside the network:
- iChat on 10.6.2
- iChat (client) acts exactly the same whether inside or outside the network
- Adium
- Adium asks me to type out my Kerberos identity, if I cancel that dialog I'm asked the same question as before about allowing plaintext authentication. And, again, if I allow plaintext authentication I can connect.
Since it was asked for in a similar post for iChat Server 10.5, here's the output from 'sudo serveradmin settings jabber' run from the server:
jabber:enableSavedChats = yes
jabber:authLevel = "ANYMETHOD"
jabber:jabberdDatabasePath = "/private/var/jabberd/sqlite/jabberd2.db"
jabber:sslCAFile = ""
jabber:hosts:arrayindex:0 = "sl.enco.re"
jabber:savedChatsLocation = "/var/jabberd/message_archives"
jabber:savedChatsArchiveInterval = 7
jabber:initialized = yes
jabber:dataLocation = ""
jabber:enableXMPP = no
jabber:eventLogArchiveInterval = 7
jabber:serviceMode = "ALL"
jabber:enableAutoBuddy = no
jabber:s2sRestrictDomains = no
jabber:logLevel = "ALL"
jabber:sslKeyFile = ""
jabber:requireSecureS2S = no
jabber:s2sAllowedDomains = emptyarray
It's so odd that Adium can connect but iChat cannot. Any help on this would be greatly appreciated!
thanks,
Berylium
2.66x4 Mac Pro, 2.8x8 Mac Pro, Mac OS X (10.6.2)
Posted on Jan 13, 2010 7:19 PM
by Tim Harris,Solvedanswer
So, the two of us looked at this offline. The problem was fixed by doing the following:
Stop the iChat Server: *sudo launchctl unload /System/Library/LaunchDaemons/org.jabber.jabberd.plist*
Edit the file /etc/jabberd/c2s.xml with a text editor and remove <digest-md5/> option by commenting it out thus <!-- <digest-md5/> -->
Restart the iChat server: *sudo launchctl load /System/Library/LaunchDaemons/org.jabber.jabberd.plist*
This stops the iChat server from offering this mode of authentication which is very sensitive DNS settings - which in a test systems is not always easy have the way you want it.
Stop the iChat Server: *sudo launchctl unload /System/Library/LaunchDaemons/org.jabber.jabberd.plist*
Edit the file /etc/jabberd/c2s.xml with a text editor and remove <digest-md5/> option by commenting it out thus <!-- <digest-md5/> -->
Restart the iChat server: *sudo launchctl load /System/Library/LaunchDaemons/org.jabber.jabberd.plist*
This stops the iChat server from offering this mode of authentication which is very sensitive DNS settings - which in a test systems is not always easy have the way you want it.
Posted on Jan 22, 2010 1:21 PM