HP CIFS Server Administrator Guide Version A.02.04.04 (5070-6710, October 2011)

-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.
-U or user=<name> Specifies the user name.
-s or configfile=<path> Specifies the alternative path name of the Samba
configuration file.
-l or long Displays full information on each item when listing data.
-V or version Prints Samba version information.
-P or machine-pass Authenticate as the machine account.
-C or comment=<comment> Specifies the descriptive comments. This option is only valid
for the ADD operation.
-c Specifies the LDAP container when adding a user to the
LDAP directory server. The default value is cn=Users.
help Prints a summary of command line options and usage.
Examples
Run the following command to create a Samba user account for the user cifsuser1:
$ net rpc user ADD cifsuser1
Run the following command to delete a Samba account for the user cifsuser2:
$ net rpc user DELETE cifsuser2
Run the following command to list the domain groups for the user cifsuser3:
$ net rpc user INFO cifsuser3
wbinfo
You can use the wbinfo tool to get information from the winbind daemon. To use the wbinfo
tool, you must configure and start up the winbind daemon, winbindd.
Syntax
wbinfo [option]
where option can be any of the following:
-l <pathname> Displays path data with Windows user and group names
that exceed the HP-UX name limitation of 8 characters.
-L<pathname> Displays path data with the fully qualified Windows domain
name appended to the Windows user and group names
that exceed the HP-UX name limitation of 8 characters.
-u, domain-users Displays all user names and name-uid mappings that are
available in the Windows NT domain for which the
winbindd daemon is operating in. Users in all trusted
domains will also be listed.
-g, domain-groups Displays all group names and name-gid mappings that are
available in the Windows NT domain for which the
samba(7) daemon is operating in. Groups in all trusted
domains will also be listed.
-N, WINS-by-name <name> Queries the winbindd daemon to query the WINS server
for the IP address associated with the NetBIOS name
specified by the name parameter.
HP CIFS Management Tools 169