[Samba] Can't fetch domain SID

Paul Gienger pgienger at ae-solutions.com
Sat Mar 5 16:32:19 GMT 2005


> 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: pgienger at ae-solutions.com





More information about the samba mailing list