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

re: ldappasswd fails with "context csn indexing failed"

I saw this in the archive the other day, just got bitten by the same thing so
thought I'd share my fix.

ldappasswd was failing with this error:

$ ldappasswd -D "uid=user,dc=domain" -S -W -H "ldaps://ldap.server"
New password: 
Re-enter new password: 
Enter LDAP Password: 
Result: Internal (implementation specific) error (80)
Additional info: context csn indexing failed

This is OpenLDAP server 2.2.14 - I got the same errors with 2.1.30 client, so it looked
like a server problem.

the slapd log showed :

Jul 22 15:43:35 server slapd[68699]: daemon: read activity on 12 
Jul 22 15:43:35 server slapd[68699]: bdb_db_cache: db_open(objectClass) failed: Permission denied (13) 
Jul 22 15:43:35 server slapd[68699]: bdb_index_read: Could not open DB objectClass 

after investigation, the permissions on the bdb files were wrong - owned by root - I chmodded those
and restarted, all works now.

Executive ability is deciding quickly and getting somebody else to do
the work.
		-- John G. Pollard
Rasputin :: Jack of All Trades - Master of Nuns