HP CIFS Server 3.0k Administrator's Guide version A.02.04
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.
-n or –myname=<name>
Specifies the NetBIOS name. This option allows you to
override the NetBIOS name that Samba uses. The command
line setting will take precedence over parameter settings
in the smb.conf file.
HP CIFS Management Tools 197