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
Post a Comment