[Date Prev][Date Next] [Chronological] [Thread] [Top]

(ITS#6434) Problem with rewrite overlay

Full_Name: Raphaël KISTER
Version: 2.4.20
OS: Linux CentOS 5.4
URL: http://www.raphael-kister.fr/openldap_its
Submission from: (NULL) (

I would like to use OpenLDAP as an Active Directory Proxy. I configure ldap
backend and i rewrite some attributes and objectclass. When i test my
configuration file, i get this error :
config error processing olcOverlay={0}rwm,olcDatabase={2}ldap,cn=config:
<olcRwmMap> handler exited with 1
slaptest: bad configuration directory!

This is an extract of my config file :
database ldap
suffix dc=CNC,dc=LOCAL
rootdn     "cn=admin,cn=config"
uri ldap://
lastmod  off
acl-authcDN cn=admin,cn=config
acl-passwd secret
idassert-bind bindmethod="simple"
overlay rwm
#rwm-suffixmassage   dc=CNC,dc=LOCAL
rwm-map objectclass inetOrgPerson user
rwm-map attribute uid sAMAccountName
rwm-map     attribute       cn      cn
rwm-map     attribute       displayName      displayName
rwm-map     attribute       givenName      givenName
rwm-map     attribute       sn      sn
rwm-map     attribute       mail    mail
rwm-map     attribute       userPassword      userPassword
rwm-map attribute  *