I happened to delete /etc/samba/secrets.tdb. Now I can not get DOMAIN SID by run:

net getlocalsid

Any idea how to recover it? Do I need to reinstall the whole Samba suite?

If you have machine joined to the domain and can log in with a domain user (which you should be able to do via cached credentials) you can peruse through the registry among other things. In my registry I have this:
HKEY_USERS\S-1-5-21-112718084-1284083569-2990761952-5532


Which is my personal SID.  The Domain SID is that without the -5532.

--
Paul Gienger                    Office: 701-281-1884
Applied Engineering Inc.
Systems Architect               Fax:    701-281-1322
URL: www.ae-solutions.com       mailto: [EMAIL PROTECTED]



--
To unsubscribe from this list go to the following URL and read the
instructions:  https://lists.samba.org/mailman/listinfo/samba

Reply via email to