Server Fault is a question and answer site for system and network administrators. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I have created a new user in .ldif file and it get appeared in the LDAP container also but later, when I deleted the user from .ldif file, that user is still appearing in LDAP container.

I'm using Apache Ds 1.5.5. I have deleted record from both .ldif files i.e "\Apache Directory Server\bin\filename.ldif" and "Apache Directory Server\instances\default\ldif\filename.ldif".

share|improve this question
Why are you editing ldif files instead of using LDAP operations? – Sven Jan 18 '13 at 12:08

ldif files are intended as input for tools like ldapmodify (see man ldapmodify and man 5 ldif). As such, they list usually only thos records you want to modify (add, change, delete). Objects not listed in the ldif file are not affectde (specifically, they do not get deleted by simply removing them from the ldif file).

share|improve this answer
Exactly, you have to do basically a change request to remove entries: ldapdelete or ldapmodify with a changetype of delete. – lsd Jan 18 '13 at 13:33

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.