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

Re: Using ldapdelete to delete a user from a group



tir, 08.04.2003 kl. 20.37 skrev Karl Kopper:

> #ldapdelete -D  "cn=manager,dc=unfiw,dc=com" -v -w secret -x -c
> "memberUid=johnd,cn=sales,ou=Group,dc=unfiw,dc=com"

> And "sales" looks like this:
> 
> dn: cn=sales,ou=Group,dc=unfiw,dc=com
> objectClass: posixGroup
> objectClass: top
> cn: sales
> gidNumber: 110
> memberUid: johnd
> memberUid: joe
> memberUid: rick
> memberUid: sam
> memberUid: tinah

Looks good enough to me. Just a shot in the dark: make sure that /none/
of the RDNs in the respective entries have spaces at the end, when you
do a 'slapcat -l' on the database and vi '/ $' or sed it.

Best,

Tony

-- 

Tony Earnshaw

e-post:		tonni@billy.demon.nl
www:		http://www.billy.demon.nl