Q: iChat cannot login with Virtual Domains on Lion Server
Hey there,
I've got an issue with the iChat server in the latest Mac OS Lion Server version. I've enabled the server in Server.app and configured two virtual domains with the following command:
sudo serveradmin settings jabber:hostsCommaDelimitedString = "example.de,example.com"
In Workgroup Manager.app in configured a user account to have to jabber chat accounts (in Info -> Chat):
hello@example.de hello@example.com
This seemed to work with previous versions. When I now try to login with one of the accounts I get the error that the ID or password is wrong.
The only additional information I could find was this entries inside the logs of the server:
05.04.12 14:14:18,791 jabberd/c2s: [11] [::ffff:10.0.1.148, port=58925] connect 05.04.12 14:14:18,988 jabberd/c2s: ODKConfigureUserRecord: Failed to find user 05.04.12 14:14:18,988 jabberd/c2s: ODKConfigureUserRecord: Failed to find user 05.04.12 14:14:18,988 jabberd/c2s: Authentication failed, mech: DIGEST-MD5 client IP: ::ffff:10.0.1.148 client port: 58925 username: ? 05.04.12 14:14:19,092 jabberd/c2s: [11] [::ffff:10.0.1.148, port=58925] disconnect jid=unbound, packets: 0 05.04.12 14:14:22,949 jabberd/c2s: [11] [::ffff:10.0.1.148, port=58926] connect 05.04.12 14:14:23,010 jabberd/c2s: ODKConfigureUserRecord: Failed to find user 05.04.12 14:14:23,010 jabberd/c2s: ODKConfigureUserRecord: Failed to find user 05.04.12 14:14:23,010 jabberd/c2s: Authentication failed, mech: DIGEST-MD5 client IP: ::ffff:10.0.1.148 client port: 58926 username: ? 05.04.12 14:14:23,114 jabberd/c2s: [11] [::ffff:10.0.1.148, port=58926] disconnect jid=unbound, packets: 0
This text is posted as it was, including the username: ? part. I assume it's kind of related to that.
After lookin at https://discussions.apple.com/message/10898562 I disabled digest-md5 in the configuration and got the following additional information from the logs:
05.04.12 14:35:40,896 jabberd/c2s: [9] [::ffff:10.0.1.148, port=59097] connect 05.04.12 14:35:40,956 jabberd/c2s: in pam_sm_authenticate(): OpenDirectory - User record NULL. 05.04.12 14:35:40,956 jabberd/c2s: PAM: Unable to authenticate. 05.04.12 14:35:40,957 jabberd/c2s: Password verification failed 05.04.12 14:35:40,957 jabberd/c2s: Authentication failed, mech: PLAIN client IP: ::ffff:10.0.1.148 client port: 59097 username: hello@example.com 05.04.12 14:35:41,100 jabberd/c2s: [9] [::ffff:10.0.1.148, port=59097] disconnect jid=unbound, packets: 0
Anyone else experienced the same issue? Any ideas on how to solve it?
Thank you very much for your time
Tobias
Mac mini, Mac OS X (10.7), Server
Posted on Apr 5, 2012 5:36 AM