I am trying to modify cn=config, but I don't understand why It doesn't work any more.
root@auth-dev:/etc/ldap# ldapsearch -v -x -D 'cn=admin,cn=config' -W
ldap_initialize( <DEFAULT> )
Enter LDAP Password:
ldap_bind: Invalid credentials (49)
root@auth-dev:/etc/ldap# ldapsearch -v -x -D 'cn=admin,^C-W
root@auth-dev:/etc/ldap# cat /etc/ldap/slapd.d/cn=config/olcDatabase\=\{0\}config.ldif
dn: olcDatabase={0}config
objectClass: olcDatabaseConfig
olcDatabase: {0}config
olcAccess: {0}to * by dn.exact=gidNumber=0+uidNumber=0,cn=peercred,cn=external
,cn=auth manage by * break
olcRootDN: cn=admin,cn=config
structuralObjectClass: olcDatabaseConfig
entryUUID: 7904eb62-0b79-1032-92e0-3d0a3fa53956
creatorsName: cn=config
createTimestamp: 20130215050825Z
entryCSN: 20130215050825.984665Z#000000#000#000000
modifiersName: cn=config
modifyTimestamp: 20130215050825Z
Thanks.