Help creating a new Authen driver
Guillermo Roditi
groditi at gmail.com
Tue Jul 4 16:10:02 UTC 2006
Hi, I am kind of in need of help creating a new authen driver. I'm using
miranda IM on XP and I am trying to test a new jabber server, I attached my
configs below. Basically what is happeneing is that the client is sending a
digest of the password and I dont know what type of digest it is, so I dont
know how to check it, but it doesnt seem like the client gives me any
options as to how it does the auth. I oculd use any information anyone can
give me really, i am trying to create a DBIC authen driver that uses Digest
to handle digest passwords, but im not having much luck here. I'm getting
authentication denied back, but I dont know how my driver is supposed to
know what kind of digest the client is sending since the client doesnt say.
if it helps any the auth function being called is get_password() on
...Authen::DBIC (the module I am working on)
10.0.3.13 = Client
10.0.2.1 = Server
D...ClientIn New connection '1' from 10.0.3.13
D...XML.ClientIn 1 > <?xml version="1.0"
encoding="UTF-8"?><stream:stream from='10.0.2.1'
id="88dec53f27fa006a5c3a6db34d5032f1d7309850" xmlns:stream="
http://etherx.jabber.org/streams" xmlns="jabber:client">
D...XML.ClientIn 1 < <iq type='get' id='mir_47'><query
xmlns='jabber:iq:auth'><username>wroditi</username></query></iq>
I...XML.ClientIn <iq type='result' id='mir_47'><query
xmlns='jabber:iq:auth'><username>wroditi</username><digest/><resource/></query></iq>
D...XML.ClientIn 1 < <iq type='set' id='mir_48'><query
xmlns='jabber:iq:auth'><username>wroditi</username><digest>8b114cdbf76bc004de45bac55107e97d21ceba83</digest><resource>Miranda</resource></query></iq>
I...XML.ClientIn <iq type='error' id='mir_48'><error code='401'
type='auth'><not-authorized
xmlns='urn:ietf:params:xml:ns:xmpp-stanzas'/></error></iq>
D...ClientIn DISCONNECT: 1
<VHost 10.0.2.1>
<Plugin DJabberd::Authen::DBIC>
DBType mysql
DBName pk
DBHost 10.0.2.10
DBUserName mydbuser
DBPassword mysecret
DBUsernameColumn username
DBPasswordColumn password
DBSchemaClass Cantella::Schema
DBTableClass Users
DigestAlgorithm MD5
DigestEncoding binary
</Plugin>
<Plugin DJabberd::RosterStorage::SQLite>
Database /home/wroditi/ctlajabber.sqlite
</Plugin>
</VHost>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.danga.com/pipermail/djabberd/attachments/20060704/9395333e/attachment.html
More information about the Djabberd
mailing list