NAME
DJabberd::Authen::LDAP - An LDAP authentication module for DJabberd
VERSION
Version 0.04
SYNOPSIS
<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
AUTHOR
Edward Rudd, <urkle at outoforder.cc>
COPYRIGHT & LICENSE
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.