Hello,
I use the rwm overlay to forward the authentication of some users to the
general ldap replicas of my corp.
Part of slapd.conf :
###########################
...
overlay rwm
rwm-rewriteEngine on
rwm-rewriteContext bindDN
rwm-rewriteMap ldap mysearch "ldap://
ldap.example.com:389/ou=users,dc=example,dc=com?dn?sub"
rwm-rewriteRule "^uid=([^,]+),ou=people,dc=[^,]+,dc=example,dc=com$"
"${mysearch((&(objectClass=posixAccount)(uid=$1)))}" ":@I"
database ldap
suffix "ou=users,dc=example,dc=com"
uri "ldap://ldap.example.com:389/"
restrict read write extended
database bdb
suffix "dc=example,dc=com"
rootdn "cn=admin,dc=example,dc=com"
rootpw mypassword
directory /var/db/openldap-data/mydb
...
############################
Now I converted the 'slapd.conf' to 'cn=config' with slaptest, the remote
authentication stopped working;
and looking at cn=config, all the rules are there...
Any Ideas ?
Rafael NAVAZA.