[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) (88.184.63.204)


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://192.168.44.88:389
lastmod  off
acl-authcDN cn=admin,cn=config
acl-passwd secret
idassert-bind bindmethod="simple"
 binddn="CN=srv_ldap,OU=Services-account,OU=Administration,dc=CNC,dc=LOCAL"
 credentials="Azerty00"
 mode="legacy"
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  *