I was inspired to install samba both at work and home. With debian this boiled down to:
apt-get install samba smbclient
After tweeking smb.conf to expose the home directories to browsing I could not connect
from windows without repeated user/password prompts. trying to browse using:
smbclient -L <hostname>
In both situations I got an error:
session setup failed: NT_STATUS_LOGON_FAILURE
I found a fix for this here which boiled down to:
- "May be dumb to ask but you did create the Samba password file and added passwords for
your users? Reason I ask is because I have searched quite a few links and the response
to that error is usually just that. Here is the commands I used to add my users:
To make the password file:
# cat /etc/passwd | /usr/bin/mksmbpasswd.sh > /etc/samba/smbpasswd
Then add your users:
# smbpasswd someusername"
At work the debian stable install did create a passwd file but apparently it didn't
do a good job. My debian unstable install at home didn't try but the above did the trick.
|