Using LDAP search to look before deleting:
<pre>
ldapsearch -WxLLL -b cn=config -D cn=admin,cn=config olcDatabase={1}hdb
<pre>
I have not found how to do it with the ldapdelete command, But I've
successfully used the ldapmodify command to delete the example attribute
"olcDbIndex: uid eq,pres,sub":
<pre>
# ldapmodify -Wx -D cn=admin,cn=config
Enter LDAP Password:
dn: olcDatabase={1}hdb,cn=config
delete: olcDbIndex
olcDbIndex: uid eq,pres,sub
^D
modifying entry "olcDatabase={1}hdb,cn=config"
</pre>
Using LDAP search to look again and verify:
<pre>
ldapsearch -WxLLL -b cn=config -D cn=admin,cn=config olcDatabase={1}hdb
<pre>
--
OpenLDAP Server should demonstrate ldapdelete cleanup commands for example
ldapadd commands
https://bugs.launchpad.net/bugs/473921
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
--
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs