Author image Edward Rudd
and 1 contributors


DJabberd::Authen::LDAP - An LDAP authentication module for DJabberd


Version 0.04




        <Plugin DJabberd::Authen::LDAP>
            LDAPURI             ldap://localhost/
            LDAPBindDN          cn=reader
            LDAPBindPW          pass
            LDAPBaseDN          ou=people
            LDAPFilter          (&(inetAuthorizedServices=jabber)(uid=%u))
            LDAPVersion         2
            LDAPMethod          rebind

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.

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>


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.