[Samba] password sync "Failed to open/create TDB passwd"

Gaiseric Vandal gaiseric.vandal at gmail.com
Sat Jan 12 12:32:46 GMT 2008


Does this mean I should be changing the locale?  Is this a samba or an
OS setting?

Or should I just wait for the next version of Samba to fix this.

Thanks


On 1/10/08, Andriashyk Yuri <sysadmin at uosk.ua> wrote:
>  samba 2.026a-2.8 bug.
>  Will set temporally english locale.
>
>
> Gaiseric Vandal ?????:
> > I am trying to enable unix password sync.  PDC is solaris 3.026a on Solaris 9.
> >
> > my smb.conf file includes:
> >
> > [global]
> >         workgroup = MYDOMAIN
> >         server string = myserver
> >         passdb backend = tdbsam
> >
> >         passwd program =  /usr/bin/passwd %u
> >         passwd chat=*New\sPassword:\s%n\nRe-enter\snew\sPassword:\s%n\npasswd:\s
> > password\ssuccessfully\schanged*\n
> >
> >         unix password sync = Yes
> >         passwd chat debug = yes
> >         passwd chat timeout = 10
> >
> >         dos charset = UTF8
> >         unix charset = UTF8
> >         display charset = UTF8
> >
> >
> >
> > Samba was compiled to /usr/local/samba-3.0.26a
> >
> > # ls -l /usr/local/samba-3.0.26a/private/passdb.tdb
> > -rw-------   1 root     sysadmin   49152 Jan 10 08:05
> > /usr/local/samba-3.0.26a/private/passdb.tdb
> >
> >
> > Assuming password sync is disabled, password or account  changes with
> > smbpasswd, pdbedit, User Manager for Domains work fine.   If I enable
> > password sync, I can't change passwords as a user at a PC, or as an
> > administrator with User Manager for Domains.  (I also can't use User
> > Manager for Domains to change things like "password never expires."
> >
> > The samba log file of the Windows server with UsrMgr shows the following:
> >
> > [2008/01/10 10:50:14, 5] lib/username.c:Get_Pwnam_internals(108)
> >
> >   Get_Pwnam_internals did find user [jsmith]
> > ...
> > [2008/01/10 10:50:14, 2] lib/util_tdb.c:tdb_log(662)
> >
> >   tdb(unnamed): tdb_open_ex: could not open file /usr/local/samba-3.0.26a/privat
> > e/passdb.tdb: Permission denied
> >
> > [2008/01/10 10:50:14, 0] passdb/pdb_tdb.c:tdbsam_open(829)
> >
> >   tdbsam_open: Failed to open/create TDB passwd [/usr/local/samba-3.0.26a/privat
> > e/passdb.tdb]
> >
> >
> >
> >
> > The passdb file does exist-  and samba is running as root.  I have a
> > separate unix/windows account for the Domain Admin.
>


More information about the samba mailing list