[Samba] nsswitch segfaults with Samba 3.0.21 on Solaris 9

J S js.tech.mailer at gmail.com
Mon Mar 13 23:07:53 GMT 2006


I've built Samba 3.0.21 with Kerb ADS, NSS, Winbind and PAM support  on
Solaris 9 using gcc 3.3.2.

  I'm able to compile and install and authentication works fine - I can
query and authenticate with AD, but when I su, passwd or some other local
auth Solaris command the command segfaults. This even happens if a valid
user is in any of the databases previous in the search pattern to winbind.


[root at smb01:/export/build/smb321/lib]#  su - bob
Segmentation Fault


nsswitch.conf:
passwd:     files winbind ldap
group:      files winbind ldap

-rwxr-xr-x   1 root     other      87004 Dec 16 13:38
/usr/lib/libnss_winbind.so
lrwxrwxrwx   1 root     other         26 Nov 30 15:46 libnss_winbind.so.1 ->
/usr/lib/libnss_winbind.so
lrwxrwxrwx   1 root     other         26 Nov 30 15:46 libnss_winbind.so.2 ->
/usr/lib/libnss_winbind.so
lrwxrwxrwx   1 root     other         26 Nov 30 15:46 nss_winbind.so.1 ->
/usr/lib/libnss_winbind.so
lrwxrwxrwx   1 root     other         26 Nov 30 15:46 nss_winbind.so.2 ->
/usr/lib/libnss_winbind.so


I tried to get clever with nsswitch, and still got the same errors. :

#passwd:     files ldap winbind [NOTFOUND=return]
#passwd:     files ldap [SUCCESS=return] winbind
#group:      files ldap [SUCCESS=return] winbind


More information about the samba mailing list