Winbindd limited by select

Michael Steffens michael.steffens at
Sat Feb 15 12:25:37 GMT 2003

Michael Steffens wrote:
> Ken Cross wrote:
>> There is pretty much a one-to-one correspondence between the number of
>> smbd processes open (i.e. connected users) and winbindd file descriptors
>> (per fstat).
> Hmm, it may be platform specific. smbd connects winbindd both directly
> and via NSS. On HP-UX it consumes two client pipes per smbd, and this
> might be due to linking libnss_winbind.1 with "-B symbolic", having
> symbols resolved locally, such that the two ways used by every smbd
> don't share client environment? It's just a guess.

It seems correct, the behaviour is depending on how the NSS backend
library was linked. Build libnss_winbind.1 without the linker option
"-B symbolic" and, bingo, there is only one client connection per smbd.

For the PAM module libpam_winbind.1 preferred local resolution of
symbols with "-B symbolic" is still required to work properly. So
optimally the two backend libraries should be linked differently.


More information about the samba-technical mailing list