Issue 6227 - autogroup overlay breaks all searches
Summary: autogroup overlay breaks all searches
Status: VERIFIED FIXED
Alias: None
Product: OpenLDAP
Classification: Unclassified
Component: slapd (show other issues)
Version: 2.4.17
Hardware: All All
: --- normal
Target Milestone: ---
Assignee: OpenLDAP project
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-07-24 14:40 UTC by mbuschman@cashnetusa.com
Modified: 2014-08-01 21:04 UTC (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this issue.
Description mbuschman@cashnetusa.com 2009-07-24 14:40:53 UTC
Full_Name: Marshall Buschman
Version: 2.4.17
OS: Debian Etch
URL: ftp://ftp.openldap.org/incoming/
Submission from: (NULL) (38.98.177.132)


I'm using OpenLDAP 2.4.17 with bdb 4.7 Debian Lenny. I've enabled the
autogroup overlay, and I get the following error when I do an ldapsearch:

$ ldapsearch -x -H "ldap://ldapserver" -b dc=cashnetusa,dc=com
# extended LDIF
...
# search result
search: 2
result: 53 Server is unwilling to perform
text: operation not supported within namingContext

Relevant config:
----------------------------------------------
moduleload autogroup

database        bdb
suffix          "dc=cashnetusa,dc=com"

overlay autogroup
autogroup-attrset groupOfURLs memberURL member
----------------------------------------------

OpenLDAP does start normally without the overlay.
Comment 1 mbuschman@cashnetusa.com 2009-07-24 14:44:55 UTC
OS is Debian Lenny, not Debian Etch. Apologies.

openldap-its@OpenLDAP.org wrote:
> *** THIS IS AN AUTOMATICALLY GENERATED REPLY ***
>
> Thanks for your report to the OpenLDAP Issue Tracking System.  Your
> report has been assigned the tracking number ITS#6227.
>
> One of our support engineers will look at your report in due course.
> Note that this may take some time because our support engineers
> are volunteers.  They only work on OpenLDAP when they have spare
> time.
>
> If you need to provide additional information in regards to your
> issue report, you may do so by replying to this message.  Note that
> any mail sent to openldap-its@openldap.org with (ITS#6227)
> in the subject will automatically be attached to the issue report.
>
> 	mailto:openldap-its@openldap.org?subject=(ITS#6227)
>
> You may follow the progress of this report by loading the following
> URL in a web browser:
>     http://www.OpenLDAP.org/its/index.cgi?findid=6227
>
> Please remember to retain your issue tracking number (ITS#6227)
> on any further messages you send to us regarding this report.  If
> you don't then you'll just waste our time and yours because we
> won't be able to properly track the report.
>
> Please note that the Issue Tracking System is not intended to
> be used to seek help in the proper use of OpenLDAP Software.
> Such requests will be closed.
>
> OpenLDAP Software is user supported.
> 	http://www.OpenLDAP.org/support/
>
> --------------
> Copyright 1998-2007 The OpenLDAP Foundation, All Rights Reserved.
>
>   

Comment 2 Howard Chu 2009-07-24 16:17:56 UTC
Fixed now in CVS HEAD.

mbuschman@cashnetusa.com wrote:
> Full_Name: Marshall Buschman
> Version: 2.4.17
> OS: Debian Etch
> URL: ftp://ftp.openldap.org/incoming/
> Submission from: (NULL) (38.98.177.132)
>

> I'm using OpenLDAP 2.4.17 with bdb 4.7 Debian Lenny. I've enabled the
> autogroup overlay, and I get the following error when I do an ldapsearch:
>
> $ ldapsearch -x -H "ldap://ldapserver" -b dc=cashnetusa,dc=com
> # extended LDIF
> ...
> # search result
> search: 2
> result: 53 Server is unwilling to perform
> text: operation not supported within namingContext
>
> Relevant config:
> ----------------------------------------------
> moduleload autogroup
>
> database        bdb
> suffix          "dc=cashnetusa,dc=com"
>
> overlay autogroup
> autogroup-attrset groupOfURLs memberURL member
> ----------------------------------------------
>
> OpenLDAP does start normally without the overlay.
>


-- 
   -- Howard Chu
   CTO, Symas Corp.           http://www.symas.com
   Director, Highland Sun     http://highlandsun.com/hyc/
   Chief Architect, OpenLDAP  http://www.openldap.org/project/

Comment 3 Howard Chu 2009-07-24 16:18:55 UTC
changed notes
changed state Open to Test
moved from Incoming to Software Bugs
Comment 4 Quanah Gibson-Mount 2009-07-27 18:27:05 UTC
changed notes
changed state Test to Release
Comment 5 mbuschman@cashnetusa.com 2009-08-03 21:19:26 UTC
Confirmed working.
Also experienced (possibly unrelated?) segfault on slapadd.

hyc@symas.com wrote:
> Fixed now in CVS HEAD.
>
> mbuschman@cashnetusa.com wrote:
>   
>> Full_Name: Marshall Buschman
>> Version: 2.4.17
>> OS: Debian Etch
>> URL: ftp://ftp.openldap.org/incoming/
>> Submission from: (NULL) (38.98.177.132)
>>
>>     
>
>   
>> I'm using OpenLDAP 2.4.17 with bdb 4.7 Debian Lenny. I've enabled the
>> autogroup overlay, and I get the following error when I do an ldapsearch:
>>
>> $ ldapsearch -x -H "ldap://ldapserver" -b dc=cashnetusa,dc=com
>> # extended LDIF
>> ...
>> # search result
>> search: 2
>> result: 53 Server is unwilling to perform
>> text: operation not supported within namingContext
>>
>> Relevant config:
>> ----------------------------------------------
>> moduleload autogroup
>>
>> database        bdb
>> suffix          "dc=cashnetusa,dc=com"
>>
>> overlay autogroup
>> autogroup-attrset groupOfURLs memberURL member
>> ----------------------------------------------
>>
>> OpenLDAP does start normally without the overlay.
>>
>>     
>
>
>   

Comment 6 Howard Chu 2009-08-03 21:48:57 UTC
mbuschman@cashnetusa.com wrote:
> Confirmed working.
> Also experienced (possibly unrelated?) segfault on slapadd.

We can't tell if it's related or not unless you post the stack trace from the 
segfault.
>
> hyc@symas.com wrote:
>> Fixed now in CVS HEAD.
>>
>> mbuschman@cashnetusa.com wrote:
>>
>>> Full_Name: Marshall Buschman
>>> Version: 2.4.17
>>> OS: Debian Etch
>>> URL: ftp://ftp.openldap.org/incoming/
>>> Submission from: (NULL) (38.98.177.132)
>>>
>>>
>>
>>
>>> I'm using OpenLDAP 2.4.17 with bdb 4.7 Debian Lenny. I've enabled the
>>> autogroup overlay, and I get the following error when I do an ldapsearch:
>>>
>>> $ ldapsearch -x -H "ldap://ldapserver" -b dc=cashnetusa,dc=com
>>> # extended LDIF
>>> ...
>>> # search result
>>> search: 2
>>> result: 53 Server is unwilling to perform
>>> text: operation not supported within namingContext
>>>
>>> Relevant config:
>>> ----------------------------------------------
>>> moduleload autogroup
>>>
>>> database        bdb
>>> suffix          "dc=cashnetusa,dc=com"
>>>
>>> overlay autogroup
>>> autogroup-attrset groupOfURLs memberURL member
>>> ----------------------------------------------
>>>
>>> OpenLDAP does start normally without the overlay.
>>>
>>>
>>
>>
>>
>
>
>


-- 
   -- Howard Chu
   CTO, Symas Corp.           http://www.symas.com
   Director, Highland Sun     http://highlandsun.com/hyc/
   Chief Architect, OpenLDAP  http://www.openldap.org/project/

Comment 7 ryans@aweber.com 2009-08-07 16:30:33 UTC
I can confirm that the segfault on slapadd, slapcat, and friends were in fact a result of this bug.  I don't have the
strace handy which confirmed it, but after applying Howard's patch and repackaging the .deb (Ubuntu Jaunty), I see none
of the aforementioned segfaults.

Regards,
Ryan

-- 
Ryan Steele                                    ryans-at-aweber-dot-com
Systems Administrator                          +1 215-825-2196 x758
AWeber Communications                          http://www.aweber.com

Comment 8 Quanah Gibson-Mount 2009-09-08 16:43:46 UTC
changed notes
changed state Release to Closed
Comment 9 OpenLDAP project 2014-08-01 21:04:23 UTC
fixed in HEAD
fixed in RE24