Cannot Open smbpasswd

Scott Brady Drummonds sdrummon at
Sat Nov 11 21:30:50 GMT 2000

Hello, all,

I've been playing with the NTDOM code and have run into a problem that I can't resolve.  My samba server, a Sun Sparc 5 running Sol 7, reports a permission error when I use a client to attempt to join the domain.  The file log.client is appended with:

startsmbfilepwent_internal: unable to open file /usr/local/samba/private/smbpasswd. Error was Permission denied
unable to open sam password database.

# ls -al /usr/local/samba/private/smbpasswd
-rw-------   1 root     root         212 Nov  2 14:32 /usr/local/samba/private/smbpasswd

# ps -aef |grep nmb
    root 13123     1  0 13:09:11 ?        0:01 /usr/local/samba/bin/nmbd -D -l /var/adm/samba/log -d10

I've added some print statements to the nmbd process that verify the sys_fopen() args are correct and that the gid is 0 (the egid is not 0, but since I've never really understood what egid's are for, I don't know if this is a problem or not.)

Can anyone explain why nmbd can't open this file for reading?  This is causing my attempt to join the domain to fail...

-------------- next part --------------
HTML attachment scrubbed and removed

More information about the samba-ntdom mailing list