HP CIFS Server 3.0k Administrator's Guide version A.02.04

-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
time, user must logon to change password,
password history, lockout duration, min
password length, maximum password age and bad
lockout attempt.
-C, value=ARG
Sets an account policy to a specified value. This option may
only be used in conjunction with the -P option.
194 Tool Reference