From 99bde6889d3d8b7a9e950c86c30e82662e1dacdd Mon Sep 17 00:00:00 2001 From: Gerald Carter Date: Tue, 9 Sep 2003 02:58:53 +0000 Subject: syncing files from 3.0 into HEAD again (This used to be commit bca0bba209255d0effbae6a3d3b6d298f0952c3a) --- docs/htmldocs/pdbedit.8.html | 30 ++++++++++++++---------------- 1 file changed, 14 insertions(+), 16 deletions(-) (limited to 'docs/htmldocs/pdbedit.8.html') diff --git a/docs/htmldocs/pdbedit.8.html b/docs/htmldocs/pdbedit.8.html index 368a6911b7..39a901923f 100644 --- a/docs/htmldocs/pdbedit.8.html +++ b/docs/htmldocs/pdbedit.8.html @@ -1,4 +1,4 @@ -pdbedit

Name

pdbedit — manage the SAM database

Synopsis

pdbedit [-L] [-v] [-w] [-u username] [-f fullname] [-h homedir] [-D drive] [-S script] [-p profile] [-a] [-m] [-x] [-i passdb-backend] [-e passdb-backend] [-b passdb-backend] [-g] [-d debuglevel] [-s configfile] [-P account-policy] [-C value]

DESCRIPTION

This tool is part of the Samba(7) suite.

The pdbedit program is used to manage the users accounts +pdbedit

Name

pdbedit — manage the SAM database

Synopsis

pdbedit [-L] [-v] [-w] [-u username] [-f fullname] [-h homedir] [-D drive] [-S script] [-p profile] [-a] [-m] [-r] [-x] [-i passdb-backend] [-e passdb-backend] [-b passdb-backend] [-g] [-d debuglevel] [-s configfile] [-P account-policy] [-C value] [-c account-control]

DESCRIPTION

This tool is part of the Samba(7) suite.

The pdbedit program is used to manage the users accounts stored in the sam database and can only be run by root.

The pdbedit tool uses the passdb modular interface and is independent from the kind of users database used (currently there are smbpasswd, ldap, nis+ and tdb based and more can be added @@ -31,7 +31,7 @@ Home Directory: \\BERSERKER\samba HomeDir Drive: Logon Script: Profile Path: \\BERSERKER\profile -

-w

This option sets the "smbpasswd" listing format. +

-w

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 smbpasswd file format. (see the @@ -44,18 +44,18 @@ samba:45:0F2B255F7B67A7A9AAD3B435B51404EE:BC281CE3F53B6A5146629CD4751D3490:[UX operations and optional in list operations.

-f fullname

This option can be used while adding or modifing a user account. It will specify the user's full - name.

Example: -f "Simo Sorce"

-h homedir

This option can be used while adding or + name.

Example: -f "Simo Sorce"

-h homedir

This option can be used while adding or modifing a user account. It will specify the user's home - directory network path.

Example: -h "\\\\BERSERKER\\sorce" + directory network path.

Example: -h "\\\\BERSERKER\\sorce"

-D 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.

Example: -d "H:" + letter to be used to map the home directory.

Example: -d "H:"

-S script

This option can be used while adding or modifing a user account. It will specify the user's logon - script path.

Example: -s "\\\\BERSERKER\\netlogon\\sorce.bat" + script path.

Example: -s "\\\\BERSERKER\\netlogon\\sorce.bat"

-p profile

This option can be used while adding or modifing a user account. It will specify the user's profile - directory.

Example: -p "\\\\BERSERKER\\netlogon" + directory.

Example: -p "\\\\BERSERKER\\netlogon"

-G 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 @@ -65,7 +65,7 @@ samba:45:0F2B255F7B67A7A9AAD3B435B51404EE:BC281CE3F53B6A5146629CD4751D3490:[UX rid.

Example: -U S-1-5-21-2447931902-1787058256-3961074038-5004

-c account-control

This option can be used while adding or modifying a user account. It will specify the users' account control property. Possible flags that can be set are: N, D, H, L, X. -

Example: -c "[X ]"

-a

This option is used to add a user into the +

Example: -c "[X ]"

-a

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 ask for the password to be used.

Example: pdbedit -a -u sorce @@ -94,12 +94,12 @@ retype new password applies to the group mapping instead of the user database.

This option will ease migration from one passdb backend to another and will ease backing up.

-b passdb-backend

Use a different default passdb backend.

Example: pdbedit -b xml:/root/pdb-backup.xml -l

-P 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, - maximum password age and bad lockout attempt.

Example: pdbedit -P "bad lockout attempt"

+		maximum password age and bad lockout attempt.

Example: pdbedit -P "bad lockout attempt"

 account policy value for bad lockout attempt is 0
 
-C account-policy-value

Sets an account policy to a specified value. This option may only be used in conjunction with the -P option. -

Example: pdbedit -P "bad lockout attempt" -C 3

+		

Example: pdbedit -P "bad lockout attempt" -C 3

 account policy value for bad lockout attempt was 0
 account policy value for bad lockout attempt is now 3
 
-h|--help

Print a summary of command line options. @@ -109,8 +109,7 @@ configuration details required by the server. The information in this file includes server-specific information such as what printcap file to use, as well as descriptions of all the services that the server is -to provide. See -smb.conf(5) for more information. +to provide. See smb.conf for more information. The default configuration file name is determined at compile time.

-d|--debug=debuglevel

debuglevel is an integer from 0 to 10. The default value if this parameter is @@ -124,10 +123,9 @@ amounts of log data, and should only be used when investigating a problem. Levels above 3 are designed for use only by developers and generate HUGE amounts of log data, most of which is extremely cryptic.

Note that specifying this parameter here will -override the log -level parameter in the -smb.conf(5) file.

-l|--logfile=logbasename

File name for log/debug files. The extension -".client" will be appended. The log file is +override the log level parameter +in the smb.conf file.

-l|--logfile=logbasename

File name for log/debug files. The extension +".client" will be appended. The log file is never removed by the client.

NOTES

This command may be used only by root.

VERSION

This man page is correct for version 3.0 of the Samba suite.

AUTHOR

The original Samba software and related utilities -- cgit