secrets.tdb - byte order independent? (SPARC/INTEL)

Richard Sharpe rsharpe at richardsharpe.com
Mon Mar 8 17:57:32 GMT 2004


On Mon, 8 Mar 2004, Paul Griffith wrote:

> Any other ideas for moving TDB. If I extract the SID can I somehow inject
> that into the new secrets.tdb file?  What about putting the SID into a
> MACHINE.SID file and having Samba migrate the SID from MACHINE.SID to
> secrets.tdb ?

	net getlocalsid

should get your local sid, and

	net setlocalsid S-1-5-21-x-y-z

should set your SID.

See: http://www.zevils.com/cgi-bin/man/man2html?net+8

for more info.

Regards
-----
Richard Sharpe, rsharpe[at]richardsharpe.com, rsharpe[at]samba.org, 
sharpe[at]ethereal.com, http://www.richardsharpe.com



More information about the samba-technical mailing list