[KLUG Members] samba malfunctions
Peter Buxton
members@kalamazoolinux.org
Tue, 18 Mar 2003 21:28:09 -0500
On Tue, Mar 18, 2003 at 05:26:07AM -0500, Adam Williams wrote:
> account_policy.tdb
> group_mapping.tdb
> netlogon_unigrp.tdb
> ntdrivers.tdb
> ntforms.tdb
> ntprinters.tdb
> registry.tdb
> secrets.tdb
> share_info.tdb
> wins.tdb
> There are some utilities included with Samba that do *NOT* build and
> install by defauly but are handy -
These are in tdb-tools*.deb, okay. I'll install 'em and take a look.
> Files such as wins.tdb, ntforms, ntprinters, ntdrivers can be nuked.
> Then just restart samba and you start with a fresh file.
So what happens when the rest get nuked? I think I know.
> > Now, that was interesting. Does my workgroup/domain, FIRST, have a
> > SID?
>
> Yes.
>
> >And how do I check it?
>
> [root@littleboy /root]# rpcclient -U adam -W backbone littleboy
> Password: rpcclient $> lsaquery domain BACKBONE has sid
> S-1-5-21-2037442776-3290224752-88127236
I restored the *.tdb files from the previous install and it now works. I
think some domain ID, such as an SID, is generated and cached there, and
woe unto thee who lose it. The strange thing was, you could log onto a
machine only if you had logged on before the *.tdb foul-up. If you
hadn't, it rejected you. Also, this was causing the smbclient PC backups
to fail. Glad I found it.
--
-185
It's like looking at your past crimes at a parole
hearing. -- John Waters on _Pink_Flamingos_