[Bug 571752] Re: slapd upgrades don't add frontend ACLs for base="" and cn=subschema

Nathan Stratton Treadway ubuntu.lp at nathanst.com
Thu Apr 29 18:32:33 BST 2010


I was also able to use "ldapmodify" to make the necessary changes:

* shut down slapd, removed the two lines I had added manually, restarted
slapd, and confirmed that the three test searches were not returning any
results

* created the file "frontend_acls.ldif" using the input lines given in
bug #427842

* ran the command
  #  ldapmodify -Y EXTERNAL -H ldapi:/// -f frontend_acls.ldif

As soon as I did that, the three test commands started returning data
again.

Using ldapmodify instead of editing the {-1}frontend.ldif file directly
has the advantage of allowing the LDAP server to work out the proper
indexes for the olcAccess lines even if the user has added some such
lines already.  However ldapmodify requires that the slapd server be
running, so it would probably be difficult to do from within the
slapd.postinst script.

-- 
slapd upgrades don't add frontend ACLs for base="" and cn=subschema
https://bugs.launchpad.net/bugs/571752
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to openldap in ubuntu.



More information about the Ubuntu-server-bugs mailing list