[Samba] Re: Machine accounts are no longer recognized in SAMBA 3.0-20-4

Steve Langasek vorlon at netexpress.net
Tue Dec 3 22:36:02 GMT 2002


On Tue, Dec 03, 2002 at 05:26:42PM -0500, Irving Carrion wrote:
> After verifying my smb.conf file, the only thing that changed was this
> "panic action" command was added.  My smb.conf is attached.

> All our workstations stopped working.  If I change the computer name,
> switch to workgroup, then try to re-join the domain under a different
> computer name, it works.  Do you know what .tdb file machine information
> is stored in.

> Also I exported all information from the pdbedit backend using pdbedit
> -e to an smbpasswd format and everything looked fine.  All machine
> accounts were listed.  So I don't think it's the passdb.tdb.

This smb.conf snippet looks telling:

>         passdb backend = smbpasswd
>         #passdb backend = smbpasswd unixsam
>         #passdb backend = smbpasswd tdbsam unixsam

You said you "exported all information [...] to an smbpasswd format", but
your comments suggest that you are actually expecting samba to read its
passdb from passdb.tdb.  The above snippet clearly shows that Samba is
configured to look *only* at /etc/samba/smbpasswd, and not at
/etc/samba/passdb.tdb.  Could this be the source of the trouble?  Can you
confirm that *this* section of your smb.conf was the same before and
after the upgrade to -4 -- in which case, I would suggest that an
ill-fated config change took effect when smbd restarted at the time of
the upgrade?

Steve Langasek
postmodern programmer
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
Url : http://lists.samba.org/archive/samba/attachments/20021203/0a3da597/attachment.bin

More information about the samba mailing list