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

jonlists jonlists at cbsol.com
Fri Nov 7 00:29:45 GMT 2003


John H Terpstra <jht at samba.org> wrote on 11/06/2003 06:21:54 PM:

> 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?
> 
http://us3.samba.org/samba/ftp/Binary_Packages/RedHat/RPMS/i386/9.0/

using 3.0.0-2_rh9.... 
> >
> > 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




Jon Johnston
Creative Business Solutions
IBM, Lotus, Microsoft Consultants
http://www.cbsol.com
952-544-1108 


More information about the samba mailing list