HP CIFS Server Administrator's Guide (5900-1282, April 2011)

-D, drive=ARG Specifies the windows driver letter to be used to map the
home directory. This option can be used while adding or
modifying a user account.
-S, script=ARG Sets the user's logon script path. This option can be used
while adding or modifying a user account.
-P, profile=ARG Specifies the user's profile directory. This option can be used
while adding or modifying a user account.
-I, domain=ARG Specifies the user's domain name.
-U <user SID/RID> Specifies the user's SID (Security Identifier) or RID. This
option can be used while adding or modifying a user
account.
-G <group SID/RID> Specifies the user's group SID (Security Identifier) or RID.
This option can be used while adding or modifying a user
account.
-a, create Adds a Samba user account. This command needs a user
name specified with the -u option. When adding a new
user, pdbedit will ask for the password to be used.
-r, modify Modifies an existing Samba user account. This command
requires a user name specified with the -u option.
-m, machine Adds a new machine account. This option may only be used
in conjunction with the -a option. It will cause pdbedit to
add a machine trust account instead of a user account (The
-m -u <machine name> option provides the machine
account name).
-x, delete Deletes a Samba user account. This command needs a user
name specified with the -u option.
-b, backend=ARG Use a different passdb backend as the default password
backend.
-i, import=ARG <in-backend> Use a different passdb backend to retrieve user accounts
than the one specified in the smb.conf passdb backend
parameter. This option can be used to import user accounts
from this passdb backend.
This option will ease migration of user accounts from one
passdb backend to another.
-e, export=ARG <out-backend> Exports all currently available user accounts to the specified
password database backend.
This option will ease migration of user accounts from one
passdb backend to another.
-g, group Uses this option with the -i <in-passdb backend>
option to import groups from this passdb backend.
You can use the -g -e <out-passdb backend> options
to exports all currently available groups to the specified
password database backend.
Account Policy Setting Options
Use the following options to manage account policy settings:
-P, account-policy=ARG Displays an account policy. Valid policies are minimum
password age, reset count minutes, disconnect
160 Tool Reference