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

2010-04-29 Thread Nathan Stratton Treadway
I have opened Bug #571752 for the issue related to missing ACLs for the frontend database after upgrading from earlier versions of slapd (discussed in comments 3 12 here). (Obviously, the discussion related to the issue mentioned in comment 11 here has moved to Bug #571057.) -- olcAccess are

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

2010-04-28 Thread Thierry Carrez
Moving the release notes item to bug 571057, where it belongs. ** Changed in: ubuntu-release-notes Status: New = Invalid -- 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

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

2010-04-28 Thread Nathan Stratton Treadway
To follow up on my comment #2: I did some more testing and determined that the behavior I was seeing related to the olcAccess lines in the olcDatabase={0}config.ldif file was due to the localroot-related lines left over from earlier versions of the slapd.posting script. Once I removed all

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

2010-04-27 Thread Thierry Carrez
We should definitely add a release notes, as this will affect every OpenLDAP server users that upgraded to pre-release lucid. ** Also affects: ubuntu-release-notes Importance: Undecided Status: New -- olcAccess are options broken on upgrade in {-1}frontend.ldif

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

2010-04-27 Thread Mathias Gug
Please open new bugs. Nathan you're analysis in comment 11 is correct. -- 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

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

2010-04-27 Thread Nathan Stratton Treadway
When you say bugs, would you like two separate new bugs, one for the slapd-won't-start-after-upgrading issue and the other about the dn.base= permissions? (Or do you just need a new bug related to the permissions issue?) -- olcAccess are options broken on upgrade in {-1}frontend.ldif

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

2010-04-27 Thread Mathias Gug
On Tue, Apr 27, 2010 at 05:38:25PM -, Nathan Stratton Treadway wrote: When you say bugs, would you like two separate new bugs, one for the slapd-won't-start-after-upgrading issue and the other about the dn.base= permissions? A bug for each separate problem as it makes things simpler to

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

2010-04-27 Thread Nathan Stratton Treadway
On Tue, Apr 27, 2010 at 19:10:03 -, Mathias Gug wrote: A bug for each separate problem as it makes things simpler to track and to focus on. I guess my question is whether you consider the issue raised in comment 11 to be a separate problem from this bug (LP#563829), thus requiring a

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

2010-04-26 Thread Steve Langasek
+ 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:

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

2010-04-26 Thread Launchpad Bug Tracker
This bug was fixed in the package openldap - 2.4.21-0ubuntu5 --- openldap (2.4.21-0ubuntu5) lucid; urgency=low * Fix local root connection access: replace olcAuthzRegexp mapping to cn=localroot,cn=config with using the SASL dn directly in olcAccess. Makes upgrades much

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

2010-04-26 Thread Mathias Gug
On Mon, Apr 26, 2010 at 10:53:29AM -, Steve Langasek wrote: 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

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

2010-04-26 Thread zoolook
THANK YOU for breaking my ldap install. THANK YOU!! THANK YOU!! zool...@venkman:~$ dpkg -l | grep slap ii slapd 2.4.21-0ubuntu5 OpenLDAP server (slapd) before this (broken) version: zool...@venkman:~$ ldapsearch

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

2010-04-26 Thread Nathan Stratton Treadway
On Tue, Apr 27, 2010 at 02:40:11 -, Mathias Gug wrote: The issue with deleting the old configuration is that it's hard (if not impossible) to figure out if the olcAuthzRegexp and relevant olcAccess options have been added by the package or manually by the local sysadmin. Having the old

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

2010-04-26 Thread Mathias Gug
On Tue, Apr 27, 2010 at 02:49:11AM -, zoolook wrote: THANK YOU for breaking my ldap install. THANK YOU!! THANK YOU!! Could you please open a new bug outlining the configuration of your infrastructure: * SASL mechanism used * local ACLs * which queries were working before * how you

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

2010-04-23 Thread Nathan Stratton Treadway
I took a quick look through the new slapd.postinst script found in: lp:~mathiaz/ubuntu/lucid/openldap/fix-root-olcaccess-upgrade Am I correct that you no longer attempt to delete the olcAccess: {0}to * by * none line from the olcDatabase={0}config.ldif file (i.e the line that is generated

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

2010-04-23 Thread Nathan Stratton Treadway
(Obviously, that should be LP: #427842 .) -- 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. -- Ubuntu-server-bugs

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

2010-04-22 Thread Mathias Gug
** Changed in: openldap (Ubuntu Lucid) Status: Triaged = In Progress -- 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

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

2010-04-22 Thread Launchpad Bug Tracker
** Branch linked: lp:~mathiaz/ubuntu/lucid/openldap/fix-root-olcaccess- upgrade -- 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

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

2010-04-21 Thread Thierry Carrez
** Changed in: openldap (Ubuntu Lucid) Assignee: (unassigned) = Mathias Gug (mathiaz) -- 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

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

2010-04-15 Thread Thierry Carrez
** Changed in: openldap (Ubuntu) Importance: Undecided = Medium ** Changed in: openldap (Ubuntu) Status: New = Triaged ** Also affects: openldap (Ubuntu Lucid) Importance: Medium Status: Triaged -- olcAccess are options broken on upgrade in {-1}frontend.ldif