Bug 2281 - The libnss_winbind and libnss_wins libraries link with libthread
The libnss_winbind and libnss_wins libraries link with libthread
Status: RESOLVED FIXED
Product: Samba 3.0
Classification: Unclassified
Component: winbind
3.0.10
Sparc Solaris
: P3 major
: none
Assigned To: Samba Bugzilla Account
Samba QA Contact
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2005-01-27 02:46 UTC by Sergei V. Rozinov
Modified: 2005-09-29 09:07 UTC (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Sergei V. Rozinov 2005-01-27 02:46:28 UTC
The libnss_winbind and libnss_wins libraries link with libthread,
which sometimes causes session to hang.
Removing libthread from Makefile variable WINBIND_NSS_LDSHFLAGS
resolves this for libnss_winbind, but not libnss_wins for which
there isn't separate LDSHFLAGS variable.

Note that I discovered this for Solaris 8.
On Solaris 9 it works without fixing but it's still
incorrect to link thread library for process which does not
know about it and is not multithreaded (cron, sh etc.)

Please see also bug #2090
Comment 1 Gerald (Jerry) Carter 2005-09-29 09:07:04 UTC
please retest against 3.0.20a (the current SAMBA_3_0_RELEASE branch) which will
publically be availebl next week.