[Samba] Locating the MACHINE.SID fil

Bradley W. Langhorst brad at langhorst.com
Thu Jan 23 16:43:01 GMT 2003


On Thu, 2003-01-23 at 08:56, Robert Adkins wrote:
> I may have spoken to soon...
> 
> 	I found a section that states to run the following on the BDC...
> 
> 	'net rpc getsid'
> 
> 	I ran that command and nothing happened. I searched the system for a   
> 'net' command and was unable to locate anything as well. I checked a few   
> other things, seeing if it might be a part of smbclient or smbd, but I   
> haven't found anything declaring such an option.
it only exists in samba3
you can use rpcclient's lsaquery query command on samba2 (i think)

or you can use smbpasswd -S like i said earlier

brad


-- 
Bradley W. Langhorst <brad at langhorst.com>




More information about the samba mailing list