vmantunes
08-05-2003, 11:49 PM
I'm using RH 7.3 and Samba 2.2.3a. My smb.conf is setup up like this:
=== Global Settings ===
[global]
workgroup = WORKGROUP
netbios name = linux
server string = file server
printcap name = /etc/printcap
load printers = yes
printing = lprng
log file = /var/log/samba/%m.log
max log size = 50
min passwd length = 5
timestamp logs = yes
security = user
password server = *
encrypt passwords = yes
smb passwd file = /usr/local/samba/private/smbpasswd
unix password sync = Yes
passwd chat = *New*password* %n\n *Retype*new*password* %n\n *passwd:*all*authentication*tokens*updated*success fully*
socket options = TCP_NODELAY SO_RCVBUF=8192 SO_SNDBUF=8192
local master = yes
os level = 33
hide dot files = yes
wins support = yes
dns proxy = yes
=== Share Definitions ===
[f_server]
comment = file server
path = /f_server
valid users = %U
public = no
browsable = yes
writable = yes
read only = no
Although its not in my share definitions I did set the permissions on the /f_server to 777 which should allow all access (until of course I figure this out). I have added the ip address of the LINUX server to my WINS properties on the Windows server. I moved the smbpasswd file (which was in /usr/bin/smbpasswd) to /usr/local/samba/private/smbpasswd and changed the permissions on ../private to 500 and ../smbpasswd to 600. I used:
# cat /etc/passwd | mksmbpasswd.sh > /usr/local/samba/private/smbpasswd
to generate the smbpasswd file from my /etc/passwd file. Then, I tried:
# /usr/bin/smbadduser -c /etc/samba/.smbpass linuxuser:xpuser
plugging in actual linux username for linuxuser and vice versa for xpuser (although, its not a Window XP server its a Windows 2000 server - I figured I'd give it a shot).
Finally, I did a:
# testparm
#service smb restart
#smbclient //winserver/drive
Password:xxxxxxxxx
and got:
session setup failed: NT_STATUS_LOGON_FAILURE
I also tried from the Windows server and it showed the LINUX server in the network, but tried to open it and was prompted for a username and password which then failed.
What am I doing wrong??
Please help (if I missed any info please say so and I will provide any further data to assist)!!!
-VMAntunes
=== Global Settings ===
[global]
workgroup = WORKGROUP
netbios name = linux
server string = file server
printcap name = /etc/printcap
load printers = yes
printing = lprng
log file = /var/log/samba/%m.log
max log size = 50
min passwd length = 5
timestamp logs = yes
security = user
password server = *
encrypt passwords = yes
smb passwd file = /usr/local/samba/private/smbpasswd
unix password sync = Yes
passwd chat = *New*password* %n\n *Retype*new*password* %n\n *passwd:*all*authentication*tokens*updated*success fully*
socket options = TCP_NODELAY SO_RCVBUF=8192 SO_SNDBUF=8192
local master = yes
os level = 33
hide dot files = yes
wins support = yes
dns proxy = yes
=== Share Definitions ===
[f_server]
comment = file server
path = /f_server
valid users = %U
public = no
browsable = yes
writable = yes
read only = no
Although its not in my share definitions I did set the permissions on the /f_server to 777 which should allow all access (until of course I figure this out). I have added the ip address of the LINUX server to my WINS properties on the Windows server. I moved the smbpasswd file (which was in /usr/bin/smbpasswd) to /usr/local/samba/private/smbpasswd and changed the permissions on ../private to 500 and ../smbpasswd to 600. I used:
# cat /etc/passwd | mksmbpasswd.sh > /usr/local/samba/private/smbpasswd
to generate the smbpasswd file from my /etc/passwd file. Then, I tried:
# /usr/bin/smbadduser -c /etc/samba/.smbpass linuxuser:xpuser
plugging in actual linux username for linuxuser and vice versa for xpuser (although, its not a Window XP server its a Windows 2000 server - I figured I'd give it a shot).
Finally, I did a:
# testparm
#service smb restart
#smbclient //winserver/drive
Password:xxxxxxxxx
and got:
session setup failed: NT_STATUS_LOGON_FAILURE
I also tried from the Windows server and it showed the LINUX server in the network, but tried to open it and was prompted for a username and password which then failed.
What am I doing wrong??
Please help (if I missed any info please say so and I will provide any further data to assist)!!!
-VMAntunes