[Samba] Solaris 8 and winbindd/wbinfo
Apostolou, Nicholas [IT]
Nicholas.Apostolou at citigroup.com
Mon Apr 7 08:18:12 GMT 2003
Hi All,
I cannot get my Samba server 2.2.8 working with winbind correctly on Solaris
8.
I intend to use this to transparently authenticate squid 2.5stable2.
I compiled samba using gcc 2.95.3. configure options were
./configure --with-winbind-auth-challenge --with-winbind --with-pam
root# ./wbinfo -t
Secret is good
root# ./wbinfo -u
0xc0000022
The same thing with wbinfo -g.
getent group and getent passwd only get back local password and group
entries.
root# ./wbinfo -m
EU
NT2_DOMAIN
AUS-USR
SSBAM
NYC
RBSDEV1
USINFRA
AP
NA
SSBCITI
AUS
These are my lib configs taken. Hints coming from
http://us3.samba.org/samba/ftp/docs/textdocs/Solaris-Winbind-HOWTO.txt
root# ls -la /usr/lib/*win*
-rwxr-xr-x 1 root other 19740 Apr 7 11:20
/usr/lib/libnss_winbind.so
lrwxrwxrwx 1 root other 26 Apr 3 09:41
/usr/lib/libnss_winbind.so.1 -> /usr/lib/libnss_winbind.so
lrwxrwxrwx 1 root other 26 Apr 3 09:42
/usr/lib/libnss_winbind.so.2 -> /usr/lib/libnss_winbind.so
-rwxr-xr-x 1 root other 30088 Apr 4 13:35
/usr/lib/libnss_winbind.so.old
lrwxrwxrwx 1 root other 26 Apr 3 09:42
/usr/lib/nss_winbind.so.1 -> /usr/lib/libnss_winbind.so
lrwxrwxrwx 1 root other 26 Apr 3 09:42
/usr/lib/nss_winbind.so.2 -> /usr/lib/libnss_winbind.so
/usr/local/samba/bin
root at sydap1-3# ls -la /usr/lib/security/*win*
-rwxr-xr-x 1 root other 24652 Apr 7 11:20
/usr/lib/security/pam_winbind.so
This is my /etc/pam.conf entries for winbind
root at sydap1-3# grep win /etc/pam.conf
other auth sufficient /usr/lib/security/pam_winbind.so
login account sufficient /usr/lib/security/pam_winbind.so
other account sufficient /usr/lib/security/pam_winbind.so
#other account required /usr/lib/security/pam_winbind.so
This is my smb.conf config
[global]
workgroup = AU
netbios name = NTLMPROXY
netbios aliases = ntlmproxy ntlnproxy.aus.nsroot.net
sydap1-3.aus.nsroot.net
server string = "NTLM WEB PROXY SERVER"
security = DOMAIN
encrypt passwords = Yes
password server = syddc002
log file = /var/log/samba/smbd.log
deadtime = 5
load printers = No
preferred master = False
local master = No
domain master = False
wins server = sydwins001.au.ssmb.com
winbind separator = +
winbind uid = 10000-20000
winbind gid = 10000-20000
winbind enum users = yes
winbind enum groups = yes
winbind use default domain = yes
I have attached the output from winbindd -i -d 4 from a wbinfo -u command.
Too large to include normally
<<nick.log>>
Thanks
Nick
More information about the samba
mailing list