[Bug 1023025] Re: search fail with get_ctrls : controls require LDAPv3

2012-07-19 Thread PierreF
I have found an upstream ticket which seems to be exactly our issue: ITS#7107 [1]. It's fixed on upstream, but was fixed after the release of 2.4.28. It's a one line fix, see git commit [2]. I don't have tested if it effectivelly fix our issue, but description seem very close to our problem.

[Bug 1023025] Re: search fail with get_ctrls : controls require LDAPv3

2012-07-19 Thread Lionel Porcheron
** Changed in: openldap (Ubuntu) Importance: Undecided = Medium -- You received this bug notification because you are a member of Ubuntu Server Team, which is subscribed to openldap in Ubuntu. https://bugs.launchpad.net/bugs/1023025 Title: search fail with get_ctrls : controls require

[Bug 1023025] Re: search fail with get_ctrls : controls require LDAPv3

2012-07-19 Thread James Page
** Also affects: openldap (Ubuntu Precise) Importance: Undecided Status: New ** Changed in: openldap (Ubuntu Precise) Status: New = Triaged ** Changed in: openldap (Ubuntu Precise) Importance: Undecided = Medium ** Changed in: openldap (Ubuntu Precise) Milestone: None =

[Bug 1023025] Re: search fail with get_ctrls : controls require LDAPv3

2012-07-19 Thread PierreF
** Description changed: - On precise, the slapd daemon return error code 2 - controls require - LDAPv3 to client search. I don't see any reason why this would occure, - because if you run the same command few seconds later, it (may) work. + [IMPACT] - For example, using nss_ldap, when running

[Bug 1023025] Re: search fail with get_ctrls : controls require LDAPv3

2012-07-19 Thread PierreF
debdiff for precise sru. ** Patch added: lp1023025.debdiff https://bugs.launchpad.net/ubuntu/+source/openldap/+bug/1023025/+attachment/3228396/+files/lp1023025.debdiff -- You received this bug notification because you are a member of Ubuntu Server Team, which is subscribed to openldap in

[Bug 1023025] Re: search fail with get_ctrls : controls require LDAPv3

2012-07-19 Thread PierreF
debdiff for quantal. ** Patch added: lp-1023025-quantal.debdiff https://bugs.launchpad.net/ubuntu/+source/openldap/+bug/1023025/+attachment/3228408/+files/lp-1023025-quantal.debdiff -- You received this bug notification because you are a member of Ubuntu Server Team, which is subscribed to

[Bug 1023025] Re: search fail with get_ctrls : controls require LDAPv3

2012-07-19 Thread Launchpad Bug Tracker
This bug was fixed in the package openldap - 2.4.28-1.1ubuntu6 --- openldap (2.4.28-1.1ubuntu6) quantal; urgency=low * Fix issue with intermittent connection issues when using LDAPv3 protocol (LP: #1023025): - d/patches/its-7107-fix-Operation-init-on-reuse.diff: Cherry

[Bug 1023025] Re: search fail with get_ctrls : controls require LDAPv3

2012-07-19 Thread James Page
Pierre Thanks for the debdiffs. I made one change to both which was to fill out the changelog entry in more detail to explain what's being fixed and how. Other than that looked good so uploaded. ** Description changed: [IMPACT] * Any client connecting in LDAPv3 and using v3 specific

[Bug 1023025] Re: search fail with get_ctrls : controls require LDAPv3

2012-07-18 Thread PierreF
I can reproduce this issue with a simple ldapsearch: ldapsearch -h ldap-1 -b ou=people,o=company -x (((objectClass=posixAccount)(uid=*))(uid=pierref)) -M -v Note: I think the exact query filter doesn't matter, only the -M switch is important. The result when it fail is: ldap_initialize(

[Bug 1023025] Re: search fail with get_ctrls : controls require LDAPv3

2012-07-18 Thread cswingle
I can also reproduce this issue with the same ldapsearch, except I get a failure about half the time (this is with the daemon versions of lib(pam|nss)-ldapd): $ ldapsearch -h localhost -b ou=people,dc=company,dc=com -x (((objectClass=posixAccount)(uid=*))(uid=cswingley)) -M -v ldap_initialize(

[Bug 1023025] Re: search fail with get_ctrls : controls require LDAPv3

2012-07-11 Thread cswingle
In my earlier comment (#5) I mentioned installing libnss-ldapd / libpam- ldapd as replacements for libnss-ldap / libpam-ldap. This did *not* solve the issue with group mappings: I experience the group mapping failures with both versions of the libnss and libpam LDAP packages on my 12.04 server.

[Bug 1023025] Re: search fail with get_ctrls : controls require LDAPv3

2012-07-10 Thread PierreF
** Attachment added: Log on one of slapd server when bug occure https://bugs.launchpad.net/bugs/1023025/+attachment/3218612/+files/syslog -- You received this bug notification because you are a member of Ubuntu Server Team, which is subscribed to openldap in Ubuntu.

[Bug 1023025] Re: search fail with get_ctrls : controls require LDAPv3

2012-07-10 Thread PierreF
** Attachment added: Configuration of slapd on master https://bugs.launchpad.net/ubuntu/+source/openldap/+bug/1023025/+attachment/3218625/+files/slapd-1.conf -- You received this bug notification because you are a member of Ubuntu Server Team, which is subscribed to openldap in Ubuntu.

[Bug 1023025] Re: search fail with get_ctrls : controls require LDAPv3

2012-07-10 Thread PierreF
** Attachment added: Configuration of slapd on slave https://bugs.launchpad.net/ubuntu/+source/openldap/+bug/1023025/+attachment/3218626/+files/slapd-2.conf -- You received this bug notification because you are a member of Ubuntu Server Team, which is subscribed to openldap in Ubuntu.

[Bug 1023025] Re: search fail with get_ctrls : controls require LDAPv3

2012-07-10 Thread Launchpad Bug Tracker
Status changed to 'Confirmed' because the bug affects multiple users. ** Changed in: openldap (Ubuntu) Status: New = Confirmed -- You received this bug notification because you are a member of Ubuntu Server Team, which is subscribed to openldap in Ubuntu.

[Bug 1023025] Re: search fail with get_ctrls : controls require LDAPv3

2012-07-10 Thread cswingle
I also have this issue with a 12.04 server, also using replication. The issue appears on the slave, not the master, but the master LDAP server is still running 10.04, so I don't know if that is relevant or not. This morning I installed libnss-ldapd / libpam-ldapd (which also installed nscd) and I