[Samba] winbind setup

Stephen M. Przepiora support at nyhost.net
Wed Apr 24 07:24:02 GMT 2002


Hello,
	I have been trying to setup winbind and am running into problems. I
followed the document at 
http://de.samba.org/samba/ftp/docs/htmldocs/Samba-HOWTO-Collection.html
to setup winbind, but i can not get it to work. the samba version I am
running is 2.2.3a. I am wondering if anyone can help me out with this?


nsswitch.conf  (relevent portions)
passwd:     winbind files nisplus
shadow:     winbind files nisplus
group:      winbind files nisplus

/etc/pam.d/login
auth       required     /lib/security/pam_securetty.so
auth       sufficient   /lib/security/pam_winbind.so debug
auth       sufficient   /lib/security/pam_unix.so use_first_pass
auth       required     /lib/security/pam_stack.so service=system-auth
auth       required     /lib/security/pam_nologin.so
account    sufficient   /lib/security/pam_winbind.so debug
account    required     /lib/security/pam_stack.so service=system-auth
password   required     /lib/security/pam_stack.so service=system-auth
session    required     /lib/security/pam_stack.so service=system-auth
session    optional     /lib/security/pam_console.so

wbinfo -u lists the user test
	NCOASTSOFT.COM/test


/var/log/messages
Apr 24 06:04:42 astro pam_winbind[8863]: Verify user `test' with
password `edited out'
Apr 24 06:04:42 astro pam_winbind[8863]: user `test' not found


winbind run as winbindd -d3 -i output
added interface ip=192.168.1.95 bcast=192.168.1.255 nmask=255.255.255.0
getting trusted domain list
resolve_lmhosts: Attempting lmhosts lookup for name NCOASTSOFT.COM<0x1c>
resolve_wins: Attempting wins lookup for name NCOASTSOFT.COM<0x1c>
resolve_wins: WINS server == <192.168.1.2>
bind succeeded on port 0
Got a positive name query response from 192.168.1.2 ( 192.168.1.2
192.168.1.18 192.168.1.3 192.168.1.4 )
bind succeeded on port 0
resolve_lmhosts: Attempting lmhosts lookup for name KRYPTON<0x20>
resolve_hosts: Attempting host lookup for name KRYPTON<0x20>
IPC$ connections done NCOASTSOFT.COM\smp
Connecting to 192.168.1.2 at port 445
error connecting to 192.168.1.2:445 (Connection refused)
Connecting to 192.168.1.2 at port 139
session setup ok
Domain=[NCOASTSOFT.COM] OS=[Windows NT 4.0] Server=[NT LAN Manager 4.0]
adding domain NCOASTSOFT.COM
[ 8882]: getpwnam test
[ 8882]: pam auth test
[ 8882]: getpwnam test
[ 8882]: pam auth test
[ 8882]: getpwnam test
[ 8882]: getpwnam test


Thank you,
Steve





More information about the samba mailing list