From 04cfbc7854bb793481e9050264a1f0cac1c6198a Mon Sep 17 00:00:00 2001
From: John Terpstra This option sets the "smbpasswd" listing format.
+ 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. This option can be used while adding or
modifing a user account. It will specify the user's full
- name. Example: -f "Simo Sorce" This option can be used while adding or
+ name. Example: -f "Simo Sorce" 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"
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:"
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"
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"
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 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 ]" This option is used to add a user into the
+ Example: -c "[X ]" 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. Use a different default passdb backend. Example: pdbedit -b xml:/root/pdb-backup.xml -l 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
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
Print a summary of command line options. @@ -123,9 +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 +override the log level parameter in the smb.conf file.
File name for log/debug files. The extension -".client" will be appended. The log file is +".client" will be appended. The log file is never removed by the client.
This command may be used only by root.
This man page is correct for version 3.0 of the Samba suite.
The original Samba software and related utilities -- cgit