Ignore:
Timestamp:
Jun 24, 2009, 5:09:21 PM (16 years ago)
Author:
Herwig Bauernfeind
Message:

Update 3.0 to 3.0.35

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/samba-3.0/docs/manpages/pdbedit.8

    r158 r286  
    11.\"     Title: pdbedit
    2 .\"    Author:
    3 .\" Generator: DocBook XSL Stylesheets v1.73.2 <http://docbook.sf.net/>
    4 .\"      Date: 08/25/2008
     2.\"    Author: [see the "AUTHOR" section]
     3.\" Generator: DocBook XSL Stylesheets v1.74.0 <http://docbook.sf.net/>
     4.\"      Date: 06/22/2009
    55.\"    Manual: System Administration tools
    66.\"    Source: Samba 3.0
     7.\"  Language: English
    78.\"
    8 .TH "PDBEDIT" "8" "08/25/2008" "Samba 3\.0" "System Administration tools"
     9.TH "PDBEDIT" "8" "06/22/2009" "Samba 3\&.0" "System Administration tools"
     10.\" -----------------------------------------------------------------
     11.\" * (re)Define some macros
     12.\" -----------------------------------------------------------------
     13.\" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
     14.\" toupper - uppercase a string (locale-aware)
     15.\" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
     16.de toupper
     17.tr aAbBcCdDeEfFgGhHiIjJkKlLmMnNoOpPqQrRsStTuUvVwWxXyYzZ
     18\\$*
     19.tr aabbccddeeffgghhiijjkkllmmnnooppqqrrssttuuvvwwxxyyzz
     20..
     21.\" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
     22.\" SH-xref - format a cross-reference to an SH section
     23.\" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
     24.de SH-xref
     25.ie n \{\
     26.\}
     27.toupper \\$*
     28.el \{\
     29\\$*
     30.\}
     31..
     32.\" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
     33.\" SH - level-one heading that works better for non-TTY output
     34.\" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
     35.de1 SH
     36.\" put an extra blank line of space above the head in non-TTY output
     37.if t \{\
     38.sp 1
     39.\}
     40.sp \\n[PD]u
     41.nr an-level 1
     42.set-an-margin
     43.nr an-prevailing-indent \\n[IN]
     44.fi
     45.in \\n[an-margin]u
     46.ti 0
     47.HTML-TAG ".NH \\n[an-level]"
     48.it 1 an-trap
     49.nr an-no-space-flag 1
     50.nr an-break-flag 1
     51\." make the size of the head bigger
     52.ps +3
     53.ft B
     54.ne (2v + 1u)
     55.ie n \{\
     56.\" if n (TTY output), use uppercase
     57.toupper \\$*
     58.\}
     59.el \{\
     60.nr an-break-flag 0
     61.\" if not n (not TTY), use normal case (not uppercase)
     62\\$1
     63.in \\n[an-margin]u
     64.ti 0
     65.\" if not n (not TTY), put a border/line under subheading
     66.sp -.6
     67\l'\n(.lu'
     68.\}
     69..
     70.\" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
     71.\" SS - level-two heading that works better for non-TTY output
     72.\" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
     73.de1 SS
     74.sp \\n[PD]u
     75.nr an-level 1
     76.set-an-margin
     77.nr an-prevailing-indent \\n[IN]
     78.fi
     79.in \\n[IN]u
     80.ti \\n[SN]u
     81.it 1 an-trap
     82.nr an-no-space-flag 1
     83.nr an-break-flag 1
     84.ps \\n[PS-SS]u
     85\." make the size of the head bigger
     86.ps +2
     87.ft B
     88.ne (2v + 1u)
     89.if \\n[.$] \&\\$*
     90..
     91.\" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
     92.\" BB/BE - put background/screen (filled box) around block of text
     93.\" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
     94.de BB
     95.if t \{\
     96.sp -.5
     97.br
     98.in +2n
     99.ll -2n
     100.gcolor red
     101.di BX
     102.\}
     103..
     104.de EB
     105.if t \{\
     106.if "\\$2"adjust-for-leading-newline" \{\
     107.sp -1
     108.\}
     109.br
     110.di
     111.in
     112.ll
     113.gcolor
     114.nr BW \\n(.lu-\\n(.i
     115.nr BH \\n(dn+.5v
     116.ne \\n(BHu+.5v
     117.ie "\\$2"adjust-for-leading-newline" \{\
     118\M[\\$1]\h'1n'\v'+.5v'\D'P \\n(BWu 0 0 \\n(BHu -\\n(BWu 0 0 -\\n(BHu'\M[]
     119.\}
     120.el \{\
     121\M[\\$1]\h'1n'\v'-.5v'\D'P \\n(BWu 0 0 \\n(BHu -\\n(BWu 0 0 -\\n(BHu'\M[]
     122.\}
     123.in 0
     124.sp -.5v
     125.nf
     126.BX
     127.in
     128.sp .5v
     129.fi
     130.\}
     131..
     132.\" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
     133.\" BM/EM - put colored marker in margin next to block of text
     134.\" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
     135.de BM
     136.if t \{\
     137.br
     138.ll -2n
     139.gcolor red
     140.di BX
     141.\}
     142..
     143.de EM
     144.if t \{\
     145.br
     146.di
     147.ll
     148.gcolor
     149.nr BH \\n(dn
     150.ne \\n(BHu
     151\M[\\$1]\D'P -.75n 0 0 \\n(BHu -(\\n[.i]u - \\n(INu - .75n) 0 0 -\\n(BHu'\M[]
     152.in 0
     153.nf
     154.BX
     155.in
     156.fi
     157.\}
     158..
     159.\" -----------------------------------------------------------------
     160.\" * set default formatting
     161.\" -----------------------------------------------------------------
    9162.\" disable hyphenation
    10163.nh
    11164.\" disable justification (adjust text to left margin only)
    12165.ad l
    13 .SH "NAME"
    14 pdbedit - manage the SAM database (Database of Samba Users)
    15 .SH "SYNOPSIS"
    16 .HP 1
    17 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] [\-b\ passdb\-backend] [\-g] [\-d\ debuglevel] [\-s\ configfile] [\-P\ account\-policy] [\-C\ value] [\-c\ account\-control] [\-y]
     166.\" -----------------------------------------------------------------
     167.\" * MAIN CONTENT STARTS HERE *
     168.\" -----------------------------------------------------------------
     169.SH "Name"
     170pdbedit \- manage the SAM database (Database of Samba Users)
     171.SH "Synopsis"
     172.fam C
     173.HP \w'\ 'u
     174\FCpdbedit\F[] [\-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] [\-b\ passdb\-backend] [\-g] [\-d\ debuglevel] [\-s\ configfile] [\-P\ account\-policy] [\-C\ value] [\-c\ account\-control] [\-y]
     175.fam
    18176.SH "DESCRIPTION"
    19177.PP
    20178This tool is part of the
    21179\fBsamba\fR(7)
    22 suite\.
    23 .PP
    24 The pdbedit program is used to manage the users accounts stored in the sam database and can only be run by root\.
    25 .PP
    26 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 without changing the tool)\.
    27 .PP
    28 There are five main ways to use pdbedit: adding a user account, removing a user account, modifing a user account, listing user accounts, importing users accounts\.
     180suite\&.
     181.PP
     182The pdbedit program is used to manage the users accounts stored in the sam database and can only be run by root\&.
     183.PP
     184The 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 without changing the tool)\&.
     185.PP
     186There are five main ways to use pdbedit: adding a user account, removing a user account, modifing a user account, listing user accounts, importing users accounts\&.
    29187.SH "OPTIONS"
    30188.PP
    31189\-L
    32190.RS 4
    33 This option lists all the user accounts present in the users database\. This option prints a list of user/uid pairs separated by the \':\' character\.
    34 .sp
    35 Example:
    36 pdbedit \-L
    37 .sp
    38 .sp
    39 .RS 4
     191This option lists all the user accounts present in the users database\&. This option prints a list of user/uid pairs separated by the \':\' character\&.
     192.sp
     193Example:
     194\FCpdbedit \-L\F[]
     195.sp
     196.if n \{\
     197.RS 4
     198.\}
     199.fam C
     200.ps -1
    40201.nf
     202.if t \{\
     203.sp -1
     204.\}
     205.BB lightgray adjust-for-leading-newline
     206.sp -1
     207
    41208sorce:500:Simo Sorce
    42209samba:45:Test User
    43 .fi
    44 .RE
     210.EB lightgray adjust-for-leading-newline
     211.if t \{\
     212.sp 1
     213.\}
     214.fi
     215.fam
     216.ps +1
     217.if n \{\
     218.RE
     219.\}
    45220.RE
    46221.PP
    47222\-v
    48223.RS 4
    49 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\.
    50 .sp
    51 Example:
    52 pdbedit \-L \-v
    53 .sp
    54 .sp
    55 .RS 4
     224This 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\&.
     225.sp
     226Example:
     227\FCpdbedit \-L \-v\F[]
     228.sp
     229.if n \{\
     230.RS 4
     231.\}
     232.fam C
     233.ps -1
    56234.nf
     235.if t \{\
     236.sp -1
     237.\}
     238.BB lightgray adjust-for-leading-newline
     239.sp -1
     240
    57241\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-
    58242username:       sorce
     
    62246Home Directory: \e\eBERSERKER\esorce
    63247HomeDir Drive:  H:
    64 Logon Script:   \e\eBERSERKER\enetlogon\esorce\.bat
     248Logon Script:   \e\eBERSERKER\enetlogon\esorce\&.bat
    65249Profile Path:   \e\eBERSERKER\eprofile
    66250\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-
     
    73257Logon Script:   
    74258Profile Path:   \e\eBERSERKER\eprofile
    75 .fi
    76 .RE
     259.EB lightgray adjust-for-leading-newline
     260.if t \{\
     261.sp 1
     262.\}
     263.fi
     264.fam
     265.ps +1
     266.if n \{\
     267.RE
     268.\}
    77269.RE
    78270.PP
    79271\-w
    80272.RS 4
    81 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
    82 \fIsmbpasswd\fR
    83 file format\. (see the
     273This 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
     274\FCsmbpasswd\F[]
     275file format\&. (see the
    84276\fBsmbpasswd\fR(5)
    85277for details)
    86278.sp
    87279Example:
    88 pdbedit \-L \-w
    89 .sp
    90 .RS 4
     280\FCpdbedit \-L \-w\F[]
     281.sp
     282.if n \{\
     283.RS 4
     284.\}
     285.fam C
     286.ps -1
    91287.nf
     288.if t \{\
     289.sp -1
     290.\}
     291.BB lightgray adjust-for-leading-newline
     292.sp -1
     293
    92294sorce:500:508818B733CE64BEAAD3B435B51404EE:
    93295          D2A2418EFC466A8A0F6B1DBB5C3DB80C:
     
    96298          BC281CE3F53B6A5146629CD4751D3490:
    97299          [UX         ]:LCT\-3BFA1E8D:
    98 .fi
    99 .RE
     300.EB lightgray adjust-for-leading-newline
     301.if t \{\
     302.sp 1
     303.\}
     304.fi
     305.fam
     306.ps +1
     307.if n \{\
     308.RE
     309.\}
    100310.RE
    101311.PP
    102312\-u username
    103313.RS 4
    104 This option specifies the username to be used for the operation requested (listing, adding, removing)\. It is
     314This option specifies the username to be used for the operation requested (listing, adding, removing)\&. It is
    105315\fIrequired\fR
    106316in add, remove and modify operations and
    107317\fIoptional\fR
    108 in list operations\.
     318in list operations\&.
    109319.RE
    110320.PP
    111321\-f fullname
    112322.RS 4
    113 This option can be used while adding or modifing a user account\. It will specify the user\'s full name\.
    114 .sp
    115 Example:
    116 \-f "Simo Sorce"
     323This option can be used while adding or modifing a user account\&. It will specify the user\'s full name\&.
     324.sp
     325Example:
     326\FC\-f "Simo Sorce"\F[]
    117327.RE
    118328.PP
    119329\-h homedir
    120330.RS 4
    121 This option can be used while adding or modifing a user account\. It will specify the user\'s home directory network path\.
    122 .sp
    123 Example:
    124 \-h "\e\e\e\eBERSERKER\e\esorce"
     331This option can be used while adding or modifing a user account\&. It will specify the user\'s home directory network path\&.
     332.sp
     333Example:
     334\FC\-h "\e\e\e\eBERSERKER\e\esorce"\F[]
    125335.RE
    126336.PP
    127337\-D drive
    128338.RS 4
    129 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\.
    130 .sp
    131 Example:
    132 \-D "H:"
     339This 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\&.
     340.sp
     341Example:
     342\FC\-D "H:"\F[]
    133343.RE
    134344.PP
    135345\-S script
    136346.RS 4
    137 This option can be used while adding or modifing a user account\. It will specify the user\'s logon script path\.
    138 .sp
    139 Example:
    140 \-S "\e\e\e\eBERSERKER\e\enetlogon\e\esorce\.bat"
     347This option can be used while adding or modifing a user account\&. It will specify the user\'s logon script path\&.
     348.sp
     349Example:
     350\FC\-S "\e\e\e\eBERSERKER\e\enetlogon\e\esorce\&.bat"\F[]
    141351.RE
    142352.PP
    143353\-p profile
    144354.RS 4
    145 This option can be used while adding or modifing a user account\. It will specify the user\'s profile directory\.
    146 .sp
    147 Example:
    148 \-p "\e\e\e\eBERSERKER\e\enetlogon"
     355This option can be used while adding or modifing a user account\&. It will specify the user\'s profile directory\&.
     356.sp
     357Example:
     358\FC\-p "\e\e\e\eBERSERKER\e\enetlogon"\F[]
    149359.RE
    150360.PP
    151361\-G SID|rid
    152362.RS 4
    153 This option can be used while adding or modifying a user account\. It will specify the users\' new primary group SID (Security Identifier) or rid\.
    154 .sp
    155 Example:
    156 \-G S\-1\-5\-21\-2447931902\-1787058256\-3961074038\-1201
     363This option can be used while adding or modifying a user account\&. It will specify the users\' new primary group SID (Security Identifier) or rid\&.
     364.sp
     365Example:
     366\FC\-G S\-1\-5\-21\-2447931902\-1787058256\-3961074038\-1201\F[]
    157367.RE
    158368.PP
    159369\-U SID|rid
    160370.RS 4
    161 This option can be used while adding or modifying a user account\. It will specify the users\' new SID (Security Identifier) or rid\.
    162 .sp
    163 Example:
    164 \-U S\-1\-5\-21\-2447931902\-1787058256\-3961074038\-5004
     371This option can be used while adding or modifying a user account\&. It will specify the users\' new SID (Security Identifier) or rid\&.
     372.sp
     373Example:
     374\FC\-U S\-1\-5\-21\-2447931902\-1787058256\-3961074038\-5004\F[]
    165375.RE
    166376.PP
    167377\-c account\-control
    168378.RS 4
    169 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\.
     379This option can be used while adding or modifying a user account\&. It will specify the users\' account control property\&. Possible flags are listed below\&.
    170380.sp
    171381
     
    294504.sp
    295505Example:
    296 \-c "[X ]"
     506\FC\-c "[X ]"\F[]
    297507.RE
    298508.PP
    299509\-a
    300510.RS 4
    301 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\.
    302 .sp
    303 Example:
    304 pdbedit \-a \-u sorce
    305 .sp
    306 .RS 4
     511This 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\&.
     512.sp
     513Example:
     514\FCpdbedit \-a \-u sorce\F[]
     515.sp
     516.if n \{\
     517.RS 4
     518.\}
     519.fam C
     520.ps -1
    307521.nf
     522.BB lightgray
    308523new password:
    309524retype new password
    310 .fi
    311 .RE
    312 .sp
    313 .sp
     525.EB lightgray
     526.fi
     527.fam
     528.ps +1
     529.if n \{\
     530.RE
     531.\}
     532.sp
     533.if n \{\
     534.sp
     535.\}
     536.RS 4
     537.BM yellow
    314538.it 1 an-trap
    315539.nr an-no-space-flag 1
    316540.nr an-break-flag 1
    317541.br
    318 Note
     542.ps +1
     543\fBNote\fR
     544.ps -1
     545.br
    319546pdbedit does not call the unix password syncronisation script if
    320 \fIunix password sync\fR
    321 has been set\. It only updates the data in the Samba user database\.
     547\m[blue]\fBunix password sync\fR\m[]
     548has been set\&. It only updates the data in the Samba user database\&.
    322549.sp
    323550If you wish to add a user and synchronise the password that immediately, use
    324 smbpasswd\'s
     551\FCsmbpasswd\F[]\'s
    325552\fB\-a\fR
    326 option\.
     553option\&.
     554.sp .5v
     555.EM yellow
     556.RE
    327557.RE
    328558.PP
     
    330560.RS 4
    331561This option causes pdbedit to read the password from standard input, rather than from /dev/tty (like the
    332 passwd(1)
    333 program does)\. The password has to be submitted twice and terminated by a newline each\.
     562\FCpasswd(1)\F[]
     563program does)\&. The password has to be submitted twice and terminated by a newline each\&.
    334564.RE
    335565.PP
    336566\-r
    337567.RS 4
    338 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 the specified user\. This flag is kept for backwards compatibility, but it is no longer necessary to specify it\.
     568This 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 the specified user\&. This flag is kept for backwards compatibility, but it is no longer necessary to specify it\&.
    339569.RE
    340570.PP
     
    343573This option may only be used in conjunction with the
    344574\fI\-a\fR
    345 option\. It will make pdbedit to add a machine trust account instead of a user account (\-u username will provide the machine name)\.
    346 .sp
    347 Example:
    348 pdbedit \-a \-m \-u w2k\-wks
     575option\&. It will make pdbedit to add a machine trust account instead of a user account (\-u username will provide the machine name)\&.
     576.sp
     577Example:
     578\FCpdbedit \-a \-m \-u w2k\-wks\F[]
    349579.RE
    350580.PP
    351581\-x
    352582.RS 4
    353 This option causes pdbedit to delete an account from the database\. It needs a username specified with the \-u switch\.
    354 .sp
    355 Example:
    356 pdbedit \-x \-u bob
     583This option causes pdbedit to delete an account from the database\&. It needs a username specified with the \-u switch\&.
     584.sp
     585Example:
     586\FCpdbedit \-x \-u bob\F[]
    357587.RE
    358588.PP
    359589\-i passdb\-backend
    360590.RS 4
    361 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\.
    362 .sp
    363 This option will ease migration from one passdb backend to another\.
    364 .sp
    365 Example:
    366 pdbedit \-i smbpasswd:/etc/smbpasswd\.old
     591Use 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\&.
     592.sp
     593This option will ease migration from one passdb backend to another\&.
     594.sp
     595Example:
     596\FCpdbedit \-i smbpasswd:/etc/smbpasswd\&.old \F[]
    367597.RE
    368598.PP
    369599\-e passdb\-backend
    370600.RS 4
    371 Exports all currently available users to the specified password database backend\.
    372 .sp
    373 This option will ease migration from one passdb backend to another and will ease backing up\.
    374 .sp
    375 Example:
    376 pdbedit \-e smbpasswd:/root/samba\-users\.backup
     601Exports all currently available users to the specified password database backend\&.
     602.sp
     603This option will ease migration from one passdb backend to another and will ease backing up\&.
     604.sp
     605Example:
     606\FCpdbedit \-e smbpasswd:/root/samba\-users\&.backup\F[]
    377607.RE
    378608.PP
     
    382612\fI\-g\fR, then
    383613\fI\-i in\-backend \-e out\-backend\fR
    384 applies to the group mapping instead of the user database\.
    385 .sp
    386 This option will ease migration from one passdb backend to another and will ease backing up\.
     614applies to the group mapping instead of the user database\&.
     615.sp
     616This option will ease migration from one passdb backend to another and will ease backing up\&.
    387617.RE
    388618.PP
    389619\-b passdb\-backend
    390620.RS 4
    391 Use a different default passdb backend\.
    392 .sp
    393 Example:
    394 pdbedit \-b xml:/root/pdb\-backup\.xml \-l
     621Use a different default passdb backend\&.
     622.sp
     623Example:
     624\FCpdbedit \-b xml:/root/pdb\-backup\&.xml \-l\F[]
    395625.RE
    396626.PP
     
    399629Display an account policy
    400630.sp
    401 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\.
    402 .sp
    403 Example:
    404 pdbedit \-P "bad lockout attempt"
    405 .sp
    406 .sp
    407 .RS 4
     631Valid 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\&.
     632.sp
     633Example:
     634\FCpdbedit \-P "bad lockout attempt"\F[]
     635.sp
     636.if n \{\
     637.RS 4
     638.\}
     639.fam C
     640.ps -1
    408641.nf
     642.if t \{\
     643.sp -1
     644.\}
     645.BB lightgray adjust-for-leading-newline
     646.sp -1
     647
    409648account policy value for bad lockout attempt is 0
    410 .fi
    411 .RE
     649.EB lightgray adjust-for-leading-newline
     650.if t \{\
     651.sp 1
     652.\}
     653.fi
     654.fam
     655.ps +1
     656.if n \{\
     657.RE
     658.\}
    412659.RE
    413660.PP
    414661\-C account\-policy\-value
    415662.RS 4
    416 Sets an account policy to a specified value\. This option may only be used in conjunction with the
     663Sets an account policy to a specified value\&. This option may only be used in conjunction with the
    417664\fI\-P\fR
    418 option\.
    419 .sp
    420 Example:
    421 pdbedit \-P "bad lockout attempt" \-C 3
    422 .sp
    423 .sp
    424 .RS 4
     665option\&.
     666.sp
     667Example:
     668\FCpdbedit \-P "bad lockout attempt" \-C 3\F[]
     669.sp
     670.if n \{\
     671.RS 4
     672.\}
     673.fam C
     674.ps -1
    425675.nf
     676.if t \{\
     677.sp -1
     678.\}
     679.BB lightgray adjust-for-leading-newline
     680.sp -1
     681
    426682account policy value for bad lockout attempt was 0
    427683account policy value for bad lockout attempt is now 3
    428 .fi
    429 .RE
     684.EB lightgray adjust-for-leading-newline
     685.if t \{\
     686.sp 1
     687.\}
     688.fi
     689.fam
     690.ps +1
     691.if n \{\
     692.RE
     693.\}
    430694.RE
    431695.PP
     
    435699\fI\-y\fR, then
    436700\fI\-i in\-backend \-e out\-backend\fR
    437 applies to the account policies instead of the user database\.
    438 .sp
    439 This option will allow to migrate account policies from their default tdb\-store into a passdb backend, e\.g\. an LDAP directory server\.
    440 .sp
    441 Example:
    442 pdbedit \-y \-i tdbsam: \-e ldapsam:ldap://my\.ldap\.host
     701applies to the account policies instead of the user database\&.
     702.sp
     703This option will allow to migrate account policies from their default tdb\-store into a passdb backend, e\&.g\&. an LDAP directory server\&.
     704.sp
     705Example:
     706\FCpdbedit \-y \-i tdbsam: \-e ldapsam:ldap://my\&.ldap\&.host\F[]
    443707.RE
    444708.PP
    445709\-h|\-\-help
    446710.RS 4
    447 Print a summary of command line options\.
     711Print a summary of command line options\&.
    448712.RE
    449713.PP
     
    451715.RS 4
    452716\fIlevel\fR
    453 is an integer from 0 to 10\. The default value if this parameter is not specified is 0\.
    454 .sp
    455 The higher this value, the more detail will be logged to the log files about the activities of the server\. At level 0, only critical errors and serious warnings will be logged\. Level 1 is a reasonable level for day\-to\-day running \- it generates a small amount of information about operations carried out\.
    456 .sp
    457 Levels above 1 will generate considerable 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\.
     717is an integer from 0 to 10\&. The default value if this parameter is not specified is 0\&.
     718.sp
     719The higher this value, the more detail will be logged to the log files about the activities of the server\&. At level 0, only critical errors and serious warnings will be logged\&. Level 1 is a reasonable level for day\-to\-day running \- it generates a small amount of information about operations carried out\&.
     720.sp
     721Levels above 1 will generate considerable 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\&.
    458722.sp
    459723Note that specifying this parameter here will override the
    460 \fIlog level\fR
     724\m[blue]\fBlog level\fR\m[]
    461725parameter in the
    462 \fIsmb\.conf\fR
    463 file\.
     726\FCsmb\&.conf\F[]
     727file\&.
    464728.RE
    465729.PP
    466730\-V
    467731.RS 4
    468 Prints the program version number\.
     732Prints the program version number\&.
    469733.RE
    470734.PP
    471735\-s <configuration file>
    472736.RS 4
    473 The file specified contains the 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
    474 \fIsmb\.conf\fR
    475 for more information\. The default configuration file name is determined at compile time\.
     737The file specified contains the 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
     738\FCsmb\&.conf\F[]
     739for more information\&. The default configuration file name is determined at compile time\&.
    476740.RE
    477741.PP
    478742\-l|\-\-log\-basename=logdirectory
    479743.RS 4
    480 Base directory name for log/debug files\. The extension
    481 \fB"\.progname"\fR
    482 will be appended (e\.g\. log\.smbclient, log\.smbd, etc\.\.\.)\. The log file is never removed by the client\.
     744Base directory name for log/debug files\&. The extension
     745\fB"\&.progname"\fR
     746will be appended (e\&.g\&. log\&.smbclient, log\&.smbd, etc\&.\&.\&.)\&. The log file is never removed by the client\&.
    483747.RE
    484748.SH "NOTES"
    485749.PP
    486 This command may be used only by root\.
     750This command may be used only by root\&.
    487751.SH "VERSION"
    488752.PP
    489 This man page is correct for version 3\.0 of the Samba suite\.
     753This man page is correct for version 3\&.0 of the Samba suite\&.
    490754.SH "SEE ALSO"
    491755.PP
     
    494758.SH "AUTHOR"
    495759.PP
    496 The original Samba software and related utilities were created by Andrew Tridgell\. Samba is now developed by the Samba Team as an Open Source project similar to the way the Linux kernel is developed\.
    497 .PP
    498 The pdbedit manpage was written by Simo Sorce and Jelmer Vernooij\.
     760The original Samba software and related utilities were created by Andrew Tridgell\&. Samba is now developed by the Samba Team as an Open Source project similar to the way the Linux kernel is developed\&.
     761.PP
     762The pdbedit manpage was written by Simo Sorce and Jelmer Vernooij\&.
Note: See TracChangeset for help on using the changeset viewer.