[Samba] Possible bug with Samba and LDAP
Erik Horn
Erik_Horn at beavton.k12.or.us
Fri Nov 5 00:40:07 GMT 2004
Jeremy Allison <jra at samba.org> on Thursday, November 04, 2004 at 4:25 PM
-0800 wrote:
>On Thu, Nov 04, 2004 at 04:04:44PM -0800, Erik Horn wrote:
>> Configuration Overview:
>>
>> OS: Fedora Core 2
>> Samba: 3.0.7-2 (as distributed) configured as a PDC using ldap for
>> authentication info
>> LDAP: openldap 2.1.29
>>
>>
>> Ever since we upgraded to Samba 3 we've been having problems with users
>> randomly getting disconnected from our server. I have managed to trace
>the
>> problem down to our LDAP server. Our LDAP server is configured with
>> idletimeout 60. This closes any ldap connections that are idle for more
>> than a minute, which keeps the number of open connections to the ldap
>> server down to a reasonable level (around 100) rather than one per
>active
>> session on the server (1000+).
>>
>> After Samba gets disconnected from the LDAP server, then tries to access
>> it, it receives a SIGPIPE and dies, disconnecting the user. Ideally,
>Samba
>> should re-attach to the LDAP server and continue working without any
>> problems.
>>
>> This same LDAP server option was used for years with Samba 2.x without
>any
>> problems.
>
>
>What client libraries are you using ? Samba is configured to ignore
>sigpipe.
>Something dynamically linked into your smbd binary is re-enabling it.
>
>
>Jeremy.
The ldap client libraries are from openldap-2.1.29.
Erik
More information about the samba
mailing list