NET TIME /SET equivalent with smb ???

Luke Leighton lkcl at samba.org
Thu Dec 2 22:37:01 GMT 1999


cedric,

net time /set is not possible with SMB.  it _is_, however, possible with
MSRPC.  obtain the latest cvs (http://samba.org/cvs.html).  the following
typescript demonstrates the command you will need:

Script started on Thu Dec  2 17:26:56 1999
[lkcl at steeleye source]$ bin/rpcclient -S steeleye -U% -l log
[STEELEYE]$ time
time
	Remote Time:	Thu, 02 Dec 1999 17:27:11 GMT

[STEELEYE]$ quit
quit
[lkcl at steeleye source]$ exit
exit

Script done on Thu Dec  2 17:27:15 1999



More information about the samba mailing list