smbpasswd error with permission denied.

JM Bonnefond bon at
Wed Nov 21 06:59:03 GMT 2001


I'm using Samba to replace an old Novell Server and I have about 30 clients 
which are under Win2K.

I've the following problem with the authentication of the 2k stations, the 
user and the machine account are well declared, but when a 2k station try to 
log to the domain, I've this logs in my /var/log/log.server :

[2001/11/21 15:39:17, 0] passdb/smbpass.c:startsmbfilepwent_internal(87)
  startsmbfilepwent_internal: unable to open file /etc/samba/smbpasswd. Error 
was Permission
[2001/11/21 15:39:17, 0] passdb/smbpass.c:iterate_getsmbpwuid(1240)
  unable to open smb password database.

the smbpasswd have the following right : 
-rw-------    1 root     root          949 Nov 21 15:37 smbpasswd 

I try this : 
chmod +r /etc/samba/smbpasswd 

-rw-r--r--    1 root     root          949 Nov 21 15:37 smbpasswd

then I try to log I've got the same error in the logs and my smbpasswd is set 
back to :
-rw-------    1 root     root          949 Nov 21 15:37 smbpasswd 

Any idea?

More information about the samba-ntdom mailing list