When you check the log (/var/log/samba/log.*), you would find something like this:
[2010/03/28 23:26:35, 1] smbd/service.c:676(make_connection_snum)
create_connection_server_info failed: NT_STATUS_ACCESS_DENIED
The following simple command will create a new user in Samba server (e.g, "newuser" should match with the user in the Linux machine managed by PAM module).
mnt$ sudo smbpasswd -a -U newuser
New SMB password:
Retype new SMB password:
Added user newuser.
Now, from Windows explorer, we can just type "\\linuxserver\newuser". It will then ask for password. Use the password we entered above.
mnt$ sudo smbpasswd -a -U newuser
New SMB password:
Retype new SMB password:
Added user newuser.
Now, from Windows explorer, we can just type "\\linuxserver\newuser". It will then ask for password. Use the password we entered above.
No comments:
Post a Comment