[jadmin] Jabberd + ActiveDirectory + MySQL auto-create not creating? "couldn't load user, can't start session"

Dominic Marks dom at helenmarks.co.uk
Mon Nov 13 10:25:07 CST 2006


Hello,

I've setup Jabberd2 from FreeBSD ports. I've configured it to
authenticate against our Active Directory LDAP server.
Authentication is working correctly (I believe).

However, <auto-create/> does not seem to be working:

Some logging output:

Nov 13 16:16:45 bobby jabberd/sm[14895]: ready for sessions
Nov 13 16:16:45 bobby jabberd/c2s[14896]: [0.0.0.0, port=5222]
listening for connections Nov 13 16:16:45 bobby jabberd/c2s
[14896]: ready for connections Nov 13 16:16:56 bobby jabberd/c2s
[14896]: [6] [192.168.0.86, port=57682] connect Nov 13 16:16:56
bobby jabberd/c2s[14896]: [6] SASL authentication succeeded:
mechanism=PLAIN; authzid=dominicm at jabber.example.com Nov 13
16:16:56 bobby jabberd/c2s[14896]: [6] bound:
jid=dominicm at jabber.example.com/Gaim Nov 13 16:16:56 bobby
jabberd/c2s[14896]: [6] requesting session:
jid=dominicm at jabber.example.com/Gaim Nov 13 16:16:56 bobby
jabberd/sm[14895]: created user:
jid=dominicm at jabber.example.com Nov 13 16:16:56 bobby jabberd/sm
[14895]: couldn't load user, can't start session:
jid=dominicm at jabber.example.com/Gaim Nov 13 16:16:56 bobby
jabberd/c2s[14896]: [6] packet sent before session start,
closing stream Nov 13 16:16:56 bobby jabberd/c2s[14896]: [6]
[192.168.0.86, port=57682] disconnect

I can connect to the (remote) MySQL server from our Jabber
server using the command line MySQL client and the credentials
given to the Jabber server so I know it is not a problem
connecting to the database.

Any clues? I'm new to Jabber so perhaps I'm missing the
obvious. Also, how can I increase the verbosity of debug
logging? Seems like I'm still missing out on the nitty gritty.

Thanks,
Dominic



More information about the JAdmin mailing list