[Bug 563829] Re: olcAccess are options broken on upgrade in {-1}frontend.ldif

Steve Langasek steve.langasek at canonical.com
Mon Apr 26 11:53:29 BST 2010


+                       sed -i 's/^\(olcDatabase: {-1}frontend\)/\0\nolcAccess: {0}to * by dn.exact=gidNumber=0+uidNumber=0,cn=peercred,cn=external,cn=auth manage by * break/' "${SLAPD_CONF}/cn=config/olcDatabase={-1}frontend.ldif"
+                       sed -i 's/^\(olcDatabase: {0}config\)/\0\nolcAccess: {0}to * by dn.exact=gidNumber=0+uidNumber=0,cn=peercred,cn=external,cn=auth manage by * break/' "${SLAPD_CONF}/cn=config/olcDatabase={0}config.ldif"

I know this isn't new to this patch, but I think I need to teach someone
about the sed 'a' command :)

This patch doesn't appear to clean up any previously-added
olcAuthzRegexp lines, or previously-added olcAccess lines referencing
localroot, so the resulting config will be different for users upgrading
to lucid final from an earlier release, vs. users who have upgraded to
lucid RC.  Is this ok?

-- 
olcAccess are options broken on upgrade in {-1}frontend.ldif
https://bugs.launchpad.net/bugs/563829
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