[JDEV] Some more :)
Dennis Noordsij
dennis.noordsij at wiral.com
Wed Nov 29 06:39:41 CST 2000
On Wednesday 29 November 2000 03:50, you wrote:
> Just a thought, remove the mod_auth_* modules (just comment them out within
> a non-nested <!-- --> block)
>
> -David Waite
>
Hi,
Yes, that is how it works. First Gabber sends a login request with a digest,
which I reject. Then it sends one with the plaintext password, I check it
with the LDAP database and send either a right or wrong reply. Gabber is now
succesfully logged in via LDAP. Mission accomplished :-) 20 lines of Perl or
so.
Next mission, retrieve a roster based on LDAP. 20 lines of Perl again, only
one problem - how do I tell jabber to send jabber:iq:roster packets to my
module?
I used the exact same approach, create a service id = rostermod, connect to
it via <accept>, etc.
With the authorization script I defined <auth>perlauth</auth> in jabber.xml
What do I define in jabber.xml do send roster requests to this service?
Regards,
Dennis
More information about the JDev
mailing list