
80
|
Samba Pocket Reference
-i pwdb_backend
Specifies a password database backend from which to retrieve
account information, overriding the one specified by the
passdb backend parameter in the Samba configuration file.
This, along with the
-e option, is useful for migrating user
accounts from one type of account database to another. See
the
-e option regarding how to specify the pwdb_backend
argument.
-l
Lists the user accounts in the database. See also the -v option.
-m
Indicates that the account is a computer account rather than a
user account. Used only with the
-a option when creating the
account. In this case, the
-u option specifies the computer
name rather than a username.
-p unc
Sets the directory in which the user’s profile is kept. The
directory is specified as a UNC.
-s unc
Specifies the UNC of the user’s logon script.
-u username
Specifies the username of the account to add (with the -a
option), delete (with the -x option), or modify.
-v
Selects verbose mode when listing accounts with the -l
option. The account fields will be printed.
-w
Selects the smbpasswd listing mode, for use with the -l option,
which prints information in the same format as it would
appear in an smbpasswd file.
-x
Deletes the user (specified with the -u option) from the
account database.
rpcclient
rpcclient server [options]
This is a program for issuing administrative commands that are
implemented using Microsoft RPCs. It provides