Removing memberUid from OpenLDAP group
The following syntax can be used to remove a user from an OpenLDAP group:
$ ldapmodify -x -D "cn=manager,dc=example,dc=com" -W <<EOF
> dn: cn=sshusers,ou=groups,dc=example,dc=com
> changetype: modify
> delete: memberUid
> memberUid: previousMember
> EOF
This entry was posted
on Tuesday, February 2nd, 2010 at 12:09 pm and is filed under Open Source Software.
You can follow any responses to this entry through the RSS 2.0 feed.
You can leave a response, or trackback from your own site.