Khosrow Ebrahimpour wrote:
>
> On 12/17/2014 03:22 PM, Howard Chu wrote:
>>>> Note that test032-chain in the test suite tests a config with two URIs
>>>> and it passes successfully.
>>> From what I see although test032 tests two URIs, it doesn't test two
>>> URIs defined in the same olcDbURI field. The crash I've discovered only
>>> occurs when two URIs are defined at the same time. And like I mentioned
>>> in the issue report, this should be valid according to the man-page.
No. slapo-chain(5) states explicitly:
chain-uri <ldapuri>
This directive instantiates a new underlying ldap database and
instructs it about which URI to contact to chase referrals. As
opposed to what stated in slapd-ldap(5), only one URI can appear
after this directive;
Closing this ITS.
--
-- Howard Chu
CTO, Symas Corp. http://www.symas.com
Director, Highland Sun http://highlandsun.com/hyc/
Chief Architect, OpenLDAP http://www.openldap.org/project/
On 12/16/2014 04:47 PM, Howard Chu wrote:
> Khosrow Ebrahimpour wrote:
>>
>> On 12/15/2014 01:20 PM, Howard Chu wrote:
>>> khosrow.ebrahimpour(a)ssc-spc.gc.ca wrote:
>>>> On 12/15/2014 12:09 PM, Howard Chu wrote:
>>>>> khosrow.ebrahimpour(a)ssc-spc.gc.ca wrote:
>>>>>> Full_Name: K. Ebrahimpour
>>>>>> Version: RE24 (commit dbc6741750de79b852ec9f728abb8b1425b6f03f)
>>>>>> OS: Ubuntu 14.04.1
>>>>>> URL: https://gist.github.com/khosrow/cc6640cad9275a2cd041
>>>>>> Submission from: (NULL) (205.211.133.128)
>>>>>
>>>>>> Finally, I'm running OpenLDAP 2.4.31 on Ubuntu Trusty, but was also
>>>>>> able to
>>>>>> replicate this same error on OpenLDAP 2.4.28 on Ubuntu Precise.
>>>>>
>>>>> The current release is 2.4.40. For such old releases you should
>>>>> contact Ubuntu for support.
>>>>>
>>>> I may not have been clear enough on which versions I have tested.
>>>> Please
>>>> see the *VERSION* field in the ITS submission form for the correct
>>>> version.
>>>>
>>>> To clarify, I have tested and reproduced the bug on the following
>>>> versions:
>>>>
>>>> * 2.4.28 on Ubuntu 12.04 (official Ubuntu package)
>>>> * 2.4.31 on Ubuntu 14.04 (official Ubuntu package)
>>>> * RE24 commit #dbc6741750de79b852ec9f728abb8b1425b6f03f on Ubuntu
>>>> 14.04
>>>> (from OpenLDAP git repo)
>>>>
>>>> I understand the two first instances are old releases, I simply tested
>>>> the bug on progressively newer versions of the software. Are you
>>>> saying
>>>> that the third tested version is also old?
>>>
>>> That commit ID is a few months old, from before 2.4.40 was released.
>>> We are currently preparing to release 2.4.41, so yes, it's old.
>>>
>> Bug confirmed and replicated against OPENLDAP_REL_ENG_2_4 branch on
>> commit 87c3614bee6de3a29ff95e311b2870322f1e35f0. I have updated the gist
>> (in the bug report) with a new crash log from the replica server.
>
> Note that test032-chain in the test suite tests a config with two URIs
> and it passes successfully.
From what I see although test032 tests two URIs, it doesn't test two
URIs defined in the same olcDbURI field. The crash I've discovered only
occurs when two URIs are defined at the same time. And like I mentioned
in the issue report, this should be valid according to the man-page.
>
> 1) provide a gdb stack trace of your crash
> 2) provide a complete config that reproduces your crash, including the
> data and commands used.
Crash data now available at http://khosrow.ca/its8005
>
> It might be easiest for you to edit the test032 setup to match yours.
>
Thanks,
hyc(a)symas.com wrote:
> Looks like you've compiled without DEBUG enabled, otherwise your 2.4.26
> build would have died with an assert() failure there.
>
> Send a complete config that reproduces the issue.
Repeating myself:
> Also give the complete
> command you used.
--
-- Howard Chu
CTO, Symas Corp. http://www.symas.com
Director, Highland Sun http://highlandsun.com/hyc/
Chief Architect, OpenLDAP http://www.openldap.org/project/
Dirk Kastens wrote:
> Hi,
>
> I have attached my config directory.
For future reference - just use slapcat -n0.
The slapd config database internal format will not always be a directory
tree, but slapcat will always do the right thing.
--
-- Howard Chu
CTO, Symas Corp. http://www.symas.com
Director, Highland Sun http://highlandsun.com/hyc/
Chief Architect, OpenLDAP http://www.openldap.org/project/
Khosrow Ebrahimpour wrote:
>
> On 12/15/2014 01:20 PM, Howard Chu wrote:
>> khosrow.ebrahimpour(a)ssc-spc.gc.ca wrote:
>>> On 12/15/2014 12:09 PM, Howard Chu wrote:
>>>> khosrow.ebrahimpour(a)ssc-spc.gc.ca wrote:
>>>>> Full_Name: K. Ebrahimpour
>>>>> Version: RE24 (commit dbc6741750de79b852ec9f728abb8b1425b6f03f)
>>>>> OS: Ubuntu 14.04.1
>>>>> URL: https://gist.github.com/khosrow/cc6640cad9275a2cd041
>>>>> Submission from: (NULL) (205.211.133.128)
>>>>
>>>>> Finally, I'm running OpenLDAP 2.4.31 on Ubuntu Trusty, but was also
>>>>> able to
>>>>> replicate this same error on OpenLDAP 2.4.28 on Ubuntu Precise.
>>>>
>>>> The current release is 2.4.40. For such old releases you should
>>>> contact Ubuntu for support.
>>>>
>>> I may not have been clear enough on which versions I have tested. Please
>>> see the *VERSION* field in the ITS submission form for the correct
>>> version.
>>>
>>> To clarify, I have tested and reproduced the bug on the following
>>> versions:
>>>
>>> * 2.4.28 on Ubuntu 12.04 (official Ubuntu package)
>>> * 2.4.31 on Ubuntu 14.04 (official Ubuntu package)
>>> * RE24 commit #dbc6741750de79b852ec9f728abb8b1425b6f03f on Ubuntu 14.04
>>> (from OpenLDAP git repo)
>>>
>>> I understand the two first instances are old releases, I simply tested
>>> the bug on progressively newer versions of the software. Are you saying
>>> that the third tested version is also old?
>>
>> That commit ID is a few months old, from before 2.4.40 was released.
>> We are currently preparing to release 2.4.41, so yes, it's old.
>>
> Bug confirmed and replicated against OPENLDAP_REL_ENG_2_4 branch on
> commit 87c3614bee6de3a29ff95e311b2870322f1e35f0. I have updated the gist
> (in the bug report) with a new crash log from the replica server.
Note that test032-chain in the test suite tests a config with two URIs
and it passes successfully.
1) provide a gdb stack trace of your crash
2) provide a complete config that reproduces your crash, including the
data and commands used.
It might be easiest for you to edit the test032 setup to match yours.
--
-- Howard Chu
CTO, Symas Corp. http://www.symas.com
Director, Highland Sun http://highlandsun.com/hyc/
Chief Architect, OpenLDAP http://www.openldap.org/project/
On 12/15/2014 01:20 PM, Howard Chu wrote:
> khosrow.ebrahimpour(a)ssc-spc.gc.ca wrote:
>> On 12/15/2014 12:09 PM, Howard Chu wrote:
>>> khosrow.ebrahimpour(a)ssc-spc.gc.ca wrote:
>>>> Full_Name: K. Ebrahimpour
>>>> Version: RE24 (commit dbc6741750de79b852ec9f728abb8b1425b6f03f)
>>>> OS: Ubuntu 14.04.1
>>>> URL: https://gist.github.com/khosrow/cc6640cad9275a2cd041
>>>> Submission from: (NULL) (205.211.133.128)
>>>
>>>> Finally, I'm running OpenLDAP 2.4.31 on Ubuntu Trusty, but was also
>>>> able to
>>>> replicate this same error on OpenLDAP 2.4.28 on Ubuntu Precise.
>>>
>>> The current release is 2.4.40. For such old releases you should
>>> contact Ubuntu for support.
>>>
>> I may not have been clear enough on which versions I have tested. Please
>> see the *VERSION* field in the ITS submission form for the correct
>> version.
>>
>> To clarify, I have tested and reproduced the bug on the following
>> versions:
>>
>> * 2.4.28 on Ubuntu 12.04 (official Ubuntu package)
>> * 2.4.31 on Ubuntu 14.04 (official Ubuntu package)
>> * RE24 commit #dbc6741750de79b852ec9f728abb8b1425b6f03f on Ubuntu 14.04
>> (from OpenLDAP git repo)
>>
>> I understand the two first instances are old releases, I simply tested
>> the bug on progressively newer versions of the software. Are you saying
>> that the third tested version is also old?
>
> That commit ID is a few months old, from before 2.4.40 was released.
> We are currently preparing to release 2.4.41, so yes, it's old.
>
Bug confirmed and replicated against OPENLDAP_REL_ENG_2_4 branch on
commit 87c3614bee6de3a29ff95e311b2870322f1e35f0. I have updated the gist
(in the bug report) with a new crash log from the replica server.
--
Khosrow
Full_Name: Howard Chu
Version: 2.5
OS:
URL: ftp://ftp.openldap.org/incoming/
Submission from: (NULL) (78.155.233.73)
Submitted by: hyc
Sometimes it would be useful to control how large an entry may be stored.