Hello.
I set up my samba server and added two users, "alvarezp" and
"lunablack".
The first one works, but the second one gives Access Denied errors.
I already tried to map "lunablack" to "luna" via
'username map', with no
luck.
Both passwords are under or equal 8 chars long.
Here is some info:
root@alvarezp:/home/alvarezp# cat /etc/samba/smb.conf
# Samba config file created using SWAT
# from 192.168.0.65 (192.168.0.65)
# Date: 2005/03/31 15:36:25
# Global parameters
[global]
workgroup = ALVAREZ
netbios name = SERVIDOR
log level = 3 passdb:5 auth:10 winbind:2
ldap ssl = no
username map = /etc/samba/usernamemap
[printers]
path = /tmp
printable = Yes
browseable = No
root@alvarezp:/home/alvarezp# uname -a
Linux xxxxxxxx.xxx 2.6.7 #1 Wed Jun 16 16:23:03 PDT 2004 i686 unknown
unknown GNU/Linux
root@alvarezp:/home/alvarezp# cat /etc/slackware-version
Slackware 10.1.0
root@alvarezp:/home/alvarezp# smbpasswd lunablack
New SMB password: xx
Retype new SMB password: xx
root@alvarezp:/home/alvarezp# smbclient -L //localhost -U lunablack
Password: xx
session setup failed: NT_STATUS_LOGON_FAILURE
root@alvarezp:/home/alvarezp# smbclient -L //localhost -U alvarezp
Password:
Domain=[SERVIDOR] OS=[Unix] Server=[Samba 3.0.10]
Sharename Type Comment
--------- ---- -------
IPC$ IPC IPC Service (Samba 3.0.10)
ADMIN$ IPC IPC Service (Samba 3.0.10)
Domain=[SERVIDOR] OS=[Unix] Server=[Samba 3.0.10]
Server Comment
--------- -------
Workgroup Master
--------- -------
ALVAREZ OCTAVIO
I'd appreciate any help.
--Octavio.
Somehow, I solved it, but I'm not completely sure how. <sigh> It MIGHT had to do that I had confused smbpasswd -x with smbpasswd -d (delete vs. disabled), that I was trying to delete the user with smbpasswd -d instead that using -x. Everything got fixed up while trying to compare two logs, one for the user that was working and one for the user that wasn't working, so I tried to reset everything: removed both users from /etc/passwd and from the samba user database with smbpasswd -x and added them again. I also brought the service up and down several times just to ensure changes were being applied.