[Samba] clarify issues on joining Samba PDC, machines, RIDs,

John H Terpstra jht at samba.org
Fri Nov 7 00:21:54 GMT 2003


On Thu, 6 Nov 2003, jonlists wrote:

> > > > Add to your smb.conf [globals]
> > > >    passdb backend = tdbsam smbpasswd
> > > >
> > > > Run:
> > > >    pdbedit -i tdbsam -e smbpasswd
> > > >
> > > I get the error...
> > > Unable to open/create TDB passwd
> > > Can't sampwent!
> >
> > Try adding root with smbpasswd:
> >
> >    smbpasswd -a root
> >
> Created the passwd database,
> pdb_getsampwnam: TDB passwd (/etc/samba/passdb.tdb) did not exist. File
> successfully created.

Good.

> However, same failure when attempting the migration process.
>
> > If that fails you have real issues! :)

Then something is broken in your samba build. What is the origin or your
samba-3.0.0 package?

>
> Oddly enough, doing a "net user list" asks for a password (even though I'm
> already in as root), and then does nothing. Doing a pdbedit -L gives:
> Unable to open/create TDB passwd

Looks very broken. Replace the binaries with the RPMS from samba FTP
sites.

> At least this isn't in production (yet). <G>

You bet!

- John T.
-- 
John H Terpstra
Email: jht at samba.org



More information about the samba mailing list