Now i followed the step 2 and tried to
ldapadd -x -D cn=admin,cn=config -W -f cn\=\{6\}vacation.ldif
Enter LDAP Password:
ldap_bind: Invalid credentials (49)
Then i found somewhere that i have to add "admin" to make changes on the schema.
I did it also, like its described on this site
http://ubuntuforums.org/showthread.php?t=1515119
But when i try to modify the schema like this
ldapadd -Y EXTERNAL -H ldapi:/// -f config.ldif - dont works
At last i made the changes described in the article above manually in the /etc/ldap/cn\=config/olcDatabase\=\{0\}config.ldif
dn: olcDatabase={0}config
objectClass: olcDatabaseConfig
olcDatabase: {0}config
olcLastMod: TRUE
olcMaxDerefDepth: 15
olcReadOnly: FALSE
olcRootDN: cn=admin,cn=config
olcRootPW: {SSHA}Secret
olcSyncUseSubentry: FALSE
olcMonitoring: FALSE
structuralObjectClass: olcDatabaseConfig
entryUUID: 46b43100-b692-1030-89be-cbe1073d381b
creatorsName: cn=config
createTimestamp: 20111209091652Z
entryCSN: 20111209091652.472369Z#000000#000#000000
modifiersName: cn=config
modifyTimestamp: 20111209091652Z
Then it is also not working with
ldapadd -x -D cn=admin,cn=config -W -f cn\=\{6\}vacation.ldif
Error: invalid credentials.
Now iam stuck with modifying the schema.
How can add this admin who can change the schema?
Any hints?
i have another admin on a bdb{1} database who is configured as rootDN for dc=company,dc=org.
But when i try to
ldapadd -x -D cn=admin,dc=company,dc=org -W -f cn\=\{6\}vacation.ldif
it ends up with "unsufficient access"
Any idea?