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

(ITS#5377) Why can I delete attributeType and objectClass together



Full_Name: Niki Petrov
Version: 2.4.6
OS: FreeBSD 7.0 RC1
URL: ftp://ftp.openldap.org/incoming/
Submission from: (NULL) (193.125.204.194)


Why can I delete attributeType and objectClass together, and how can I do this?
-----------------------------------------------------------------------------------------
# ldapmodify -x -W -D "cn=rtoo,o=hoji,l=gu,c=fr" -f
/usr/home/testu/scripts/user_delete
...
..(file user_delete)
dn: uid=user,o=hoji,l=gu,c=fr                                                   
                               
changetype: modify                                                              
                                                   
delete: virtualdomain                                                           
                                                   
virtualdomain: hoji.gu.fr                                                       
                                                  
delete: objectClass                                                             
                                                   
objectClass: CourierDomainAlias
.....
(error in command-line)
ldapmodify: wrong attributeType at line 5, entry "uid=user,o=hoji,l=gu,c=fr"