From 722a330013280758c2184c0239810229b38c42f0 Mon Sep 17 00:00:00 2001 From: Günther Deschner Date: Thu, 17 Dec 2009 15:51:36 +0100 Subject: s3-docs: mention long and undocumented option names in pdbedit manpage. Guenther --- docs-xml/manpages-3/pdbedit.8.xml | 168 ++++++++++++++++++++++++++++---------- 1 file changed, 124 insertions(+), 44 deletions(-) (limited to 'docs-xml/manpages-3') diff --git a/docs-xml/manpages-3/pdbedit.8.xml b/docs-xml/manpages-3/pdbedit.8.xml index d0ea811838..86a566d1f2 100644 --- a/docs-xml/manpages-3/pdbedit.8.xml +++ b/docs-xml/manpages-3/pdbedit.8.xml @@ -19,30 +19,40 @@ pdbedit - -L - -v - -w - -u username - -f fullname - -h homedir - -D drive - -S script - -p profile - -a - -t, --password-from-stdin - -m - -r - -x - -i passdb-backend - -e passdb-backend + -a -b passdb-backend - -g + -c account-control + -C value -d debuglevel - -s configfile + -D drive + -e passdb-backend + -f fullname + --force-initialized-passwords + -g + -G SID|RID + -h homedir + -i passdb-backend + -I domain + -L + -m + -N description -P account-policy - -C value - -c account-control + -p profile + --policies-reset + -r + -s configfile + -S script + -t + --time-format + -u username + -U SID|RID + -v + -V + -w + -x -y + -z + -Z @@ -69,7 +79,7 @@ OPTIONS - -L + -L|--list This option lists all the user accounts present in the users database. This option prints a list of user/uid pairs separated by @@ -85,7 +95,7 @@ samba:45:Test User - -v + -v|--verbose This option enables the verbose listing format. It causes pdbedit to list the users in the database, printing out the account fields in a descriptive format. @@ -117,7 +127,7 @@ Profile Path: \\BERSERKER\profile - -w + -w|--smbpasswd-style This option sets the "smbpasswd" listing format. It will make pdbedit list the users in the database, printing out the account fields in a format compatible with the @@ -139,7 +149,7 @@ samba:45:0F2B255F7B67A7A9AAD3B435B51404EE: - -u username + -u|--user username This option specifies the username to be used for the operation requested (listing, adding, removing). It is required in add, remove and modify @@ -149,7 +159,7 @@ samba:45:0F2B255F7B67A7A9AAD3B435B51404EE: - -f fullname + -f|--fullname fullname This option can be used while adding or modifing a user account. It will specify the user's full name. @@ -159,7 +169,7 @@ samba:45:0F2B255F7B67A7A9AAD3B435B51404EE: - -h homedir + -h|--homedir homedir This option can be used while adding or modifing a user account. It will specify the user's home directory network path. @@ -170,7 +180,7 @@ samba:45:0F2B255F7B67A7A9AAD3B435B51404EE: - -D drive + -D|--drive drive This option can be used while adding or modifing a user account. It will specify the windows drive letter to be used to map the home directory. @@ -182,7 +192,7 @@ samba:45:0F2B255F7B67A7A9AAD3B435B51404EE: - -S script + -S|--script script This option can be used while adding or modifing a user account. It will specify the user's logon script path. @@ -194,7 +204,7 @@ samba:45:0F2B255F7B67A7A9AAD3B435B51404EE: - -p profile + -p|--profile profile This option can be used while adding or modifing a user account. It will specify the user's profile directory. @@ -205,7 +215,7 @@ samba:45:0F2B255F7B67A7A9AAD3B435B51404EE: - -G SID|rid + -G|'--group SID' SID|rid This option can be used while adding or modifying a user account. It will specify the users' new primary group SID (Security Identifier) or @@ -216,18 +226,21 @@ samba:45:0F2B255F7B67A7A9AAD3B435B51404EE: - -U SID|rid + -U|'--user SID' SID|rid This option can be used while adding or modifying a user account. It will specify the users' new SID (Security Identifier) or rid. Example: -U S-1-5-21-2447931902-1787058256-3961074038-5004 + Example: '--user SID' S-1-5-21-2447931902-1787058256-3961074038-5004 + Example: -U 5004 + Example: '--user SID' 5004 - -c account-control + -c|--account-control account-control This option can be used while adding or modifying a user account. It will specify the users' account control property. Possible flags are listed below. @@ -263,7 +276,7 @@ samba:45:0F2B255F7B67A7A9AAD3B435B51404EE: - -a + -a|--create This option is used to add a user into the database. This command needs a user name specified with the -u switch. When adding a new user, pdbedit will also @@ -289,7 +302,7 @@ retype new password - -t, --password-from-stdin + -t|--password-from-stdin This option causes pdbedit to read the password from standard input, rather than from /dev/tty (like the passwd(1) program does). The password has @@ -298,7 +311,7 @@ retype new password - -r + -r|--modify This option is used to modify an existing user in the database. This command needs a user name specified with the -u switch. Other options can be specified to modify the properties of @@ -308,7 +321,7 @@ retype new password - -m + -m|--machine This option may only be used in conjunction with the -a option. It will make pdbedit to add a machine trust account instead of a user @@ -321,7 +334,7 @@ retype new password - -x + -x|--delete This option causes pdbedit to delete an account from the database. It needs a username specified with the -u switch. @@ -332,7 +345,7 @@ retype new password - -i passdb-backend + -i|--import passdb-backend Use a different passdb backend to retrieve users than the one specified in smb.conf. Can be used to import data into your local user database. @@ -346,7 +359,7 @@ retype new password - -e passdb-backend + -e|--export passdb-backend Exports all currently available users to the specified password database backend. @@ -358,7 +371,7 @@ retype new password - -g + -g|--group If you specify -g, then -i in-backend -e out-backend applies to the group mapping instead of the user database. @@ -370,7 +383,7 @@ retype new password - -b passdb-backend + -b|--backend passdb-backend Use a different default passdb backend. Example: pdbedit -b xml:/root/pdb-backup.xml -l @@ -378,7 +391,7 @@ retype new password - -P account-policy + -P|--account-policy account-policy Display 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, @@ -394,7 +407,7 @@ account policy value for bad lockout attempt is 0 - -C account-policy-value + -C|--value account-policy-value Sets an account policy to a specified value. This option may only be used in conjunction with the -P option. @@ -409,7 +422,7 @@ account policy value for bad lockout attempt is now 3 - -y + -y|--policies If you specify -y, then -i in-backend -e out-backend applies to the account policies instead of the user database. @@ -422,6 +435,73 @@ account policy value for bad lockout attempt is now 3 + + --force-initialized-passwords + This option forces all users to change their + password upon next login. + + + + + + -N|--account-desc description + This option can be used while adding or + modifing a user account. It will specify the user's description + field. + + Example: -N "test description" + + + + + + -Z|--logon-hours-reset + This option can be used while adding or + modifing a user account. It will reset the user's allowed logon + hours. A user may login at any time afterwards. + + Example: -Z + + + + + + -z|--bad-password-count-reset + This option can be used while adding or + modifing a user account. It will reset the stored bad login + counter from a specified user. + + Example: -z + + + + + + --policies-reset + This option can be used to reset the general + password policies stored for a domain to their + default values. + Example: --policies-reset + + + + + + -I|--domain + This option can be used while adding or + modifing a user account. It will specify the user's domain field. + + Example: -I "MYDOMAIN" + + + + + + --time-format + This option is currently not being used. + + + &stdarg.help; &stdarg.server.debug; &popt.common.samba; -- cgit