Hi !
I can see my Samba from my Win machine, but i can't log in.
I get this message in the samba log for the user i try to log in as:
"[2003/09/04 19:22:29, 0] passdb/pdb_smbpasswd.c
db_getsampwnam(1369)
unable to open passdb database."
Using RH 9 and shadowed passwords (had some problems before with the shadowed passwords)
I dont have the /etc/samba/smbpasswd file.
Do i have to create, since i want to use the users system pwd ?
If so how should it look.
My config:
[global]
workgroup = Home
server string = Samba
hosts allow = 192.168.0. 127.0.0.1
printcap name = /etc/printcap
load printers = no
printing = cups
log file = /var/log/samba/%m.log
max log size = 200
security = user
encrypt passwords = yes
smb passwd file = /etc/samba/smbpasswd
unix password sync = Yes
passwd program = /usr/bin/passwd %u
passwd chat = *New*password* %n\n *Retype*new*password* %n\n *passwd:*all*authentication*tokens*updated*successfully*
pam password change = yes
obey pam restrictions = yes
socket options = TCP_NODELAY SO_RCVBUF=8192 SO_SNDBUF=8192
[homes]
comment = Home Directories
browseable = yes
writable = yes
valid users = %S
create mode = 0664
directory mode = 0775
[printers]
comment = All Printers
path = /var/spool/samba
browseable = no
guest ok = no
writable = no
printable = yes