Solution
After I read the link above, I knew what to do. A non-secure authorization method (I’ve never heard of) was disabled.
I’ve edited the client’s smb.conf and added to the [global]
part:
client lanman auth = yes
Then I’ve restarted samba on the client machine:
/etc/init.d/samba restart
But the command smbtree kept giving me an error:
smbtree
Password:
failed tcon_X with NT_STATUS_WRONG_PASSWORD
failed tcon_X with NT_STATUS_WRONG_PASSWORD
I’ve logged on to my server and checked the /var/log/samba/log.192.168.0.22
file, which is my client atm. And saw a lot of errors:
[2008/10/27 21:57:11, 0] smbd/map_username.c:map_username(107)
can't open username map /etc/samba/user.map. Error No such file or directory
[2008/10/27 21:57:11, 0] smbd/password.c:authorise_login(795)
authorise_login: rejected invalid user nobody
Now I knew, that I had to grant access to the user ‘nobody
‘ in my /etc/samba/smb.conf
in the [global]
section:
.
.
comment = Server
path = /home/share
valid users = nobody, Gast, acme, Administrator, @users, @lpadmin
printer admin = @lpadmin
read only = No
guest ok = Yes
.
.
Then I’ve restarted samba on my server:
/etc/initd.d/samba restart
And finally the printer started to print the job I’ve sent him from my client machine!
Case closed.