[Samba] Effective UID is not 0 in: unable to open passdb database...

Gerald (Jerry) Carter jerry at samba.org
Thu Jun 6 09:48:28 GMT 2002

On 6 Jun 2002, Aleix Conchillo wrote:

> I get next error while trying to join a Samba PDC:
> [2001/12/03 23:51:03, 0] passdb/pdb_smbpasswd.c:startsmbfilepwent(170)
> startsmbfilepwent_internal: unable to open file
> /usr/local/samba/private/smbpasswd. Error was Permission denied
> [2001/12/03 23:51:03, 0] passdb/pdb_smbpasswd.c:pdb_getsampwrid(1416)
> unable to open passdb database.
> I've been  trying to locate  the error in  samba source code  (2.2.4). I
> found that  the effective UID in that  moment is not root  (UID is), and
> that's why  it has no permissions  to read the smbpasswd  file. It seems
> that it should change the euid after reading that file, but not before.
> i was not able to find where is changing the euid, but i'm sure that
> someone will know how to solve that problem.

Can you send me a level 10 debug log of this?  Also make sure to include
you smb.conf, ./configure options, user connected to the Samba PDC, client 
OS, etc...

Please send it of list.

cheers, jerry
 Hewlett-Packard                                     http://www.hp.com
 SAMBA Team                                       http://www.samba.org
 --                                            http://www.plainjoe.org
 "Sam's Teach Yourself Samba in 24 Hours" 2ed.      ISBN 0-672-32269-2
 --"I never saved anything for the swim back." Ethan Hawk in Gattaca--

More information about the samba mailing list