Hi,

While Volker has written the command net {get,set}localsid, it would be 
nice if it could do the following:

  net getlocalsid name

and

  net setlocalsid name=SID

This is because these SIDs are stored in the tdb as:

  SECRETS/SID/<name> = SID

If you have changed the name of your server in the smb.conf, and then 
found out that your SID is different, you probably don't know what the 
old SID was.

If we had 'net getlocalsid name' you can get the old SID. Of course, you 
can dump the TDB and look for the record of type SECRETS/SID/<name> but 
the SID is in a binary format.

Regards
-----
Richard Sharpe, [EMAIL PROTECTED], [EMAIL PROTECTED], 
[EMAIL PROTECTED]

Reply via email to