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

delete an attribut



I have a problem in order to delete mail attribut:


My user:

cn=Fabrice Cartron, dc=fondation, dc=org
objectClass=top
objectClass=person
objectClass=organizationalPerson
objectClass=inetOrgPerson
cn=Fabrice Cartron
sn=Cartron
givenName=Fabrice
mail=fcartron@apm-online.fr
internationaliSDNNumber=0565350407
facsimileTelephoneNumber=0565350406
postOfficeBox=Duravel
postalCode=46000
postalAddress=route de la gineste
telephoneNumber=0682657649
userPassword=pkwiz.tag
description=technicien 

My file using for deleting mail attribut:

cn=Fabrice Cartron, dc=fondation, dc=org
changetype: modify
delete: mail

the command:

ldapmodify -D "cn=Manager, dc=fondation, dc=org" -W -f /tmp/fabr

and the reslut:

modifying entry cn=Fabrice Cartron, dc=fondation, dc=org
ldap_modify: Protocol error
ldap_modify: additional info: modify/add operation requires values 

And idea please.

Bye


-- 
Fabrice Cartron