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
please retest against 3.0.20a (the current SAMBA_3_0_RELEASE branch) which will publically be availebl next week.