[Pkg-openldap-devel] OpenLDAP upload postponed a bit

Matthijs Möhlmann matthijs at cacholong.nl
Sat Apr 2 16:09:50 UTC 2011


On Apr 1, 2011, at 2:25 PM, Mark Cave-Ayland wrote:

> On 01/04/11 10:35, Matthijs Möhlmann wrote:
> 
>> Hello,
>> 
>> I'm testing openldap on my pc. ldapsearch hangs when I'm doing a
>> simple test search.
>> 
>> This is the strace output:
>> geteuid()                               = 1000
>> getuid()                                = 1000
>> open("/home/matthijs/ldaprc", O_RDONLY) = -1 ENOENT (No such file or directory)
>> open("/home/matthijs/.ldaprc", O_RDONLY) = -1 ENOENT (No such file or directory)
>> open("ldaprc", O_RDONLY)                = -1 ENOENT (No such file or directory)
>> rt_sigaction(SIGPIPE, {SIG_IGN, [], SA_RESTORER|SA_RESTART, 0x7feac85401e0}, {SIG_DFL, [], 0}, 8) = 0
>> futex(0x1e6f2a0, FUTEX_WAIT_PRIVATE, 2, NULL
>> 
>> The strangest thing is that the ldapsearch used in "make test" works.
>> 
>> So it has to do with some configuration that I need to find out. I'll won't upload until I
>> found out what's going on.
> 
> FWIW I found myself with exactly the same thing when testing packaged builds of 2.4.23 and 2.4.24 for my bug here. I just assumed that I'd managed to mix up some 2.4.23 and 2.4.24 libraries somewhere when building .deb packages, since switching to vanilla source builds seemed to work fine. It does seem that there is something else going on here though.
> 
> ATB,
> 
> Mark.

I've checked it with gdb too, and it locks at libraries/libldap/options.c:455
That is in the function ldap_set_option, still no clue why it is locking there.

Regards,

Matthijs Möhlmann


More information about the Pkg-openldap-devel mailing list