HP CIFS Server Administrator's Guide Version A.03.01.01 (5900-1282, May 2011)

password that has already been stored in a Windows Active
Directory. Do not use this command unless you know exactly
what you are doing. The use of this command requires that
the force flag (-f) is used also. There will be no command
prompt. Whatever information is input into stdin is stored
as the literal machine password. Do not use this without
care and attention because it will overwrite a legitimate
machine password without warning.
net status Displays machine account status of the local server.
net usersidlist Gets a list of all users with their Windows SIDs.
net ads <command> Runs ADS commands.
net rpc <command> Runs RPC commands.
net rap <command> Runs RAP (pre-RPC) commands.
Syntax for net user
This section only includes syntaxes for the net user command.
Use the following command syntax to list user account information:
net [<method>]user [options] [targets]
Use the following command syntax to delete a specified Samba user account:
net [<method>]user DELETE <name> [options] [targets]
Use the following command syntax to list the domain groups of the specified Samba user:
net [<method>]user INFO <name> [options] [targets]
Use the following command syntax to add a Samba user account:
net [<method>]user ADD <name> [options]
[-c container] [-F user flags [targets]
Use the following command syntax to rename a Samba user:
net [<method>]user RENAME [oldname] [newname] [targets]
Valid Methods
where the valid methods can be any of the following:
ads Can be used for Windows Active Directory
rpc Can be used for systems with DCE-RPC.
rap Can be used for older systems such as Windows 9x or NT3 clients.
Valid Targets
The valid targets can be any of the following. If this argument is not specified, the default is the
local host.
-S or server=<server> Specifies the target server name.
-I or ipaddress=<ipaddr> Specifies the IP address of the target server.
-w or workgroup=<wg> Specifies the target workgroup or domain.
Valid Options
where the valid options can be any of the following:
-p or port=<port> Specifies the port number on the target server to connect to.
-W or myworkgroup=<wg> Specifies the client workgroup or domain.
-d or <debuglevel=<level> Specifies the debug level which is an integer from 0 to 10.
If this parameter is not specified, the default value is zero.
166 Tool Reference