[sork] Passwd on LDAP
Jorge Hernandez
jorgeh at fsbcomputers.com
Thu Oct 16 16:04:09 UTC 2008
Can anyone send me an example of how backends.php should look like
in order for passwd to change password on LDAP, this what I have for
LDAP:
$backends['ldapadmin'] = array(
'name' => 'LDAP Server with Admin Bindings',
'preferred' => 'www.mysite.com',
'password policy' => array(
'minLength' => 6,
'maxLength' => 16
),
'driver' => 'ldap',
'params' => array(
'host' => 'localhost',
'port' => 389,
'basedn' => 'ou=people,dc=mysite,dc=com',
'admindn' => 'cn=Administrator,dc=mysite,dc=com',
'adminpw' => 'xxxxxxxxxxx',
// LDAP object key attribute
'uid' => 'uid',
// these attributes will enable shadow password policies.
// 'shadowlastchange' => 'shadowlastchange',
// 'shadowmin' => 'shadowmin',
'attribute' => 'clearPassword',
// this will be appended to the username when looking for the userdn.
'realm' => '',
// Use this filter when searching for the user's DN.
'filter' => '',
// Hash method to use when storing the password
'encryption' => 'crypt',
// Whether to enable TLS for this LDAP connection
// Note: make sure the host matches cn in the server certificate
'tls' => false
)
);
Thanks in advance,
==========================
Jorge Hernandez
CEO/OWNER
FSB Computers
More information about the sork
mailing list