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

Re: ldapmodify - deletion of related attributes



lør, 2002-07-20 kl. 09:42 skrev Gerard Patel:

> dn: cn=grptest,cn=testOU, dc=example, dc=com
> delete: objectClass, uniqueMember
> objectClass:groupOfUniqueNames
> uniqueMember: uid=test,cn=testOU, dc=example, dc=com
> 
> get me the following result :
> 
> ldap_modify: Undefined attribute type
>  additional info: objectClass, uniqueMember: attribute description
>  contains inappropriate characters

I wouldn't know the exact cause - but ldap v3 at least, which you are
using, says that you cannot have spaces in attribute entries without
escaping them (source Adam Williams's ldapv3.pdf).

So, do it all again, this time without spaces.

The fact that some clients wil and some won't presumably depends on how
"intelligent" (or rather luddite) they are.

Best,

Tony 

-- 

Tony Earnshaw

e-post:		tonni@billy.demon.nl
www:		http://www.billy.demon.nl
gpg public key:	http://www.billy.demon.nl/tonni.armor

Telefoon:	(+31) (0)172 530428
Mobiel:		(+31) (0)6 51153356

GPG Fingerprint = 3924 6BF8 A755 DE1A 4AD6 FA2B F7D7 6051 3BE7 B981
3BE7B981


Attachment: signature.asc
Description: Dette er en digitalt signert meldingsdel