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

Re: deleting pwdPolicySubentry attribute



On 2015-06-02 20:30, David Magda wrote:
$ cat del.ldif
dn: uid=dmagda,ou=People,dc=example,dc=com
changetype: modify
delete: pwdPolicySubentry

$ ldapsearch -H ldap://master -W -D 'cn=admin,dc=example,dc=com' -f del.ldif
Enter LDAP Password:
[...]
# search result
search: 2
result: 32 No such object

You probably want to use command-line tool ldapmodify instead of ldapsearch.

Ciao, Michael.