DJabberd::Authen::LDAP - An LDAP authentication module for DJabberd
Version 0.04
<VHost mydomain.com> [...] <Plugin DJabberd::Authen::LDAP> LDAPURI ldap://localhost/ LDAPBindDN cn=reader LDAPBindPW pass LDAPBaseDN ou=people LDAPFilter (&(inetAuthorizedServices=jabber)(uid=%u)) LDAPVersion 2 LDAPMethod rebind </Plugin> </VHost>
LDAPURI , LDAPBaseDN, and LDAPFilter are required Everything else is optional.
The Only LDAPMethod supported at the moment is rebind which performs a bind as LDAPBindDN or does anonymous bind, then searches for the user using LDAPFilter and then will rebind as the found DN to verify the password.
LDAPFilter is an LDAP filter substutions - %u will be substituted with the incoming userid (w/o the domain) (ie. myuser) - %d will be substituted with the incoming userid's domain (ie. mydoman.com)
LDAPVersion is either 2 or 3, if nothing is specified then default to Net::LDAP default. This value is passed straight to Net::LDAP
Edward Rudd, <urkle at outoforder.cc>
<urkle at outoforder.cc>
Original work Copyright 2006 Alexander Karelas, Martin Atkins, Brad Fitzpatrick and Aleksandar Milanov. All rights reserved. Copyright 2007-2010 Edward Rudd. All rights reserved.
This program is free software; you can redistribute it and/or modify it under the same terms as Perl itself.
To install DJabberd::Authen::LDAP, copy and paste the appropriate command in to your terminal.
cpanm
cpanm DJabberd::Authen::LDAP
CPAN shell
perl -MCPAN -e shell install DJabberd::Authen::LDAP
For more information on module installation, please visit the detailed CPAN module installation guide.