Sign up ×
Server Fault is a question and answer site for system and network administrators. It's 100% free, no registration required.

I've removed the user from the LDAP server and now I would like to remove the group however I'm not sure about the proper command for this.

The command that was used to remove the user:

ldapdelete uid=user,ou=People,dc=example,dc=com -W -D "cn=ldapadmin,dc=example,dc=com" -x
share|improve this question
Do you really mean remove the group, or remove his membership of the group? – EJP Dec 15 '12 at 8:40

1 Answer 1

up vote 1 down vote accepted

It will be something similar to the example below, but the exact DN name will vary to your specific system.

ldapdelete cn=groupname,ou=groups,dc=example,dc=com -W -D "cn=ldapadmin,dc=example,dc=com" -x
share|improve this answer

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.