I have been tring to get my samba and my WIN2K Server for two days and have not had any luck. I can see my samba shares and I can browse them but I can not add files or delete files. I tried to set up pam and winbind. I can use the comands wbinfo -t -u -p, getent and every thing works with no problems. But I can not logon to my linux box using my NT account names. but when I logon using telnet I see my welcome txt then I get "connection to host lost". If I use an account local to the linux machine it works fine. I think there is a problem with my /etc/pam.d/logon file which I have included. below
#%PAM-1.0
auth required /lib/security/pam_securetty.so
auth sufficient /lib/security/pam_winbind.so
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
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
also here is my smb.conf
[global]
workgroup = HOMENET
netbios name = VETTY
server string = Linux server
security = DOMAIN
encrypt passwords = Yes
null passwords = Yes
password server = transam
passwd program = /usr/bin/passwd %u
passwd chat = *New*UNIX*password* %n\n *ReType*new*UNIX*password* %n\n
unix password sync = Yes
log file = /var/log/samba/log.%m
max log size = 50
socket options = TCP_NODELAY SO_RCVBUF=8192 SO_SNDBUF=8192
printcap name = lpstat
domain admin group = Homenet
local master = No
domain master = No
dns proxy = No
wins server = transam
winbind uid = 10000-20000
winbind gid = 10000-20000
winbind separator = +
printing = cups
add user script = /usr/sbin/useradd %u
force group =somegroup
force user = someuser
[homes]
comment = Home Directories
read only = No
browseable = No
[printers]
comment = All Printers
path = /var/spool/samba
create mask = 0700
guest ok = Yes
printable = Yes
lpq command = lpstat -o %p
lprm command = cancel %p-%j
browseable = No
[public]
comment = Public Stuff
path = /home/samba/public
write list = homenet+administrator
read only = No
guest ok = Yes
~
~
#%PAM-1.0
auth required /lib/security/pam_securetty.so
auth sufficient /lib/security/pam_winbind.so
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
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
also here is my smb.conf
[global]
workgroup = HOMENET
netbios name = VETTY
server string = Linux server
security = DOMAIN
encrypt passwords = Yes
null passwords = Yes
password server = transam
passwd program = /usr/bin/passwd %u
passwd chat = *New*UNIX*password* %n\n *ReType*new*UNIX*password* %n\n
unix password sync = Yes
log file = /var/log/samba/log.%m
max log size = 50
socket options = TCP_NODELAY SO_RCVBUF=8192 SO_SNDBUF=8192
printcap name = lpstat
domain admin group = Homenet
local master = No
domain master = No
dns proxy = No
wins server = transam
winbind uid = 10000-20000
winbind gid = 10000-20000
winbind separator = +
printing = cups
add user script = /usr/sbin/useradd %u
force group =somegroup
force user = someuser
[homes]
comment = Home Directories
read only = No
browseable = No
[printers]
comment = All Printers
path = /var/spool/samba
create mask = 0700
guest ok = Yes
printable = Yes
lpq command = lpstat -o %p
lprm command = cancel %p-%j
browseable = No
[public]
comment = Public Stuff
path = /home/samba/public
write list = homenet+administrator
read only = No
guest ok = Yes
~
~