| Usage: | |
| net time | to view or set time information |
| net lookup | to lookup host name or ip address |
| net user | to manage users |
| net group | to manage groups |
| net groupmap | to manage group mappings |
| net join | to join a domain |
| net cache | to operate on cache tdb file |
| net getlocalsid [NAME] | to get the SID for local name |
| net setlocalsid SID | to set the local domain SID |
| net changesecretpw | to change the machine password in the local secrets database only this requires the -f flag as a safety barrier |
| net ads | to run ADS commands |
| net rap | to run RAP (pre-RPC) commands |
| net rpc | to run RPC commands |
|
|
| Type "net help | |
| Valid targets: choose one (none defaults to localhost) | |
| -S or --server= | server name |
| -I or --ipaddress= | address of target server |
| -w or --workgroup= | target workgroup or domain |
| Valid miscellaneous options are: |
| -p or --port= | connection port on target |
| -W or --myworkgroup= | client workgroup |
| -d or --debuglevel= | debug level (0-10) |
| -n or --myname= | client name |
| -U or --user= | user name |
| -s or --configfile= | pathname of smb.conf file |
| -l or --long | Display full information |
| -V or --version | Print samba version information |
| -P or --machine-pass | Authenticate as machine account |