Skip to main content

Thread: OpenLDAP delete an attribute on all the record


hello

need delete attribute on each record on entire database. using following method works single entire when remove uid=usertest,ou=people doesn't work. error "telephonenumber" attribute not found

ldapmodify -v -h localhost -x -d "cn=admin,dc=test,dc=com" -w pass123 -f ./input.ldif


input.ldif:

dn:uid=usertest,ou=people,dc=test,dc=com
changetype: modify
delete: telephonenumber



#>ldapmodify -v -h localhost -x -d "cn=admin,dc=test,dc=com" -w pass123 -f ./input.ldif
ldap_initialize( ldap://localhost )
delete telephonenumber:
modifying entry "dc=sag,dc=com"
modify complete
ldapmodify: no such attribute (16)
additional info: modify/delete: telephonenumber: no such attribute



Forum The Ubuntu Forum Community Ubuntu Specialised Support Ubuntu Servers, Cloud and Juju Server Platforms [ubuntu] OpenLDAP delete an attribute on all the record


Ubuntu

Comments

Popular posts from this blog

Thread: Can not create raid array: mdadm: no raid-devices specified.

Thread: HOW TO: Package and theme GTK+ / Gtkmm apps in Linux for Windows

Thread: Twinview issues