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

Re: deleting pwdPolicySubentry attribute



On Wed, June 3, 2015 07:39, Michael Ströder wrote:
> 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.

Sigh. Yup. (It was a long day.)

$ ldapmodify -H ldap://ops -W -D 'cn=admin,dc=example,dc=com' -f del.ldif
Enter LDAP Password:
modifying entry "uid=dmagda,ou=People,dc=dc=example,dc=com"