2
3
.\" Author: [see the "AUTHOR" section]
3
.\" Generator: DocBook XSL Stylesheets v1.74.0 <http://docbook.sf.net/>
4
.\" Generator: DocBook XSL Stylesheets v1.75.2 <http://docbook.sf.net/>
5
6
.\" Manual: System Administration tools
6
7
.\" Source: Samba 3.4
7
8
.\" Language: English
9
.TH "PDBEDIT" "8" "10/29/2009" "Samba 3\&.4" "System Administration tools"
10
.\" -----------------------------------------------------------------
11
.\" * (re)Define some macros
12
.\" -----------------------------------------------------------------
13
.\" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
14
.\" toupper - uppercase a string (locale-aware)
15
.\" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
17
.tr aAbBcCdDeEfFgGhHiIjJkKlLmMnNoOpPqQrRsStTuUvVwWxXyYzZ
19
.tr aabbccddeeffgghhiijjkkllmmnnooppqqrrssttuuvvwwxxyyzz
21
.\" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
22
.\" SH-xref - format a cross-reference to an SH section
23
.\" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
32
.\" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
33
.\" SH - level-one heading that works better for non-TTY output
34
.\" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
42
.nr an-prevailing-indent \\n[IN]
46
.HTML-TAG ".NH \\n[an-level]"
48
.nr an-no-space-flag 1
54
.\" if n (TTY output), use uppercase
59
.\" if not n (not TTY), use normal case (not uppercase)
63
.\" if not n (not TTY), put a border/line under subheading
68
.\" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
69
.\" SS - level-two heading that works better for non-TTY output
70
.\" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
75
.nr an-prevailing-indent \\n[IN]
80
.nr an-no-space-flag 1
88
.\" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
89
.\" BB/BE - put background/screen (filled box) around block of text
90
.\" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
103
.if "\\$2"adjust-for-leading-newline" \{\
111
.nr BW \\n(.lu-\\n(.i
114
.ie "\\$2"adjust-for-leading-newline" \{\
115
\M[\\$1]\h'1n'\v'+.5v'\D'P \\n(BWu 0 0 \\n(BHu -\\n(BWu 0 0 -\\n(BHu'\M[]
118
\M[\\$1]\h'1n'\v'-.5v'\D'P \\n(BWu 0 0 \\n(BHu -\\n(BWu 0 0 -\\n(BHu'\M[]
129
.\" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
130
.\" BM/EM - put colored marker in margin next to block of text
131
.\" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
148
\M[\\$1]\D'P -.75n 0 0 \\n(BHu -(\\n[.i]u - \\n(INu - .75n) 0 0 -\\n(BHu'\M[]
10
.TH "PDBEDIT" "8" "01/18/2010" "Samba 3\&.4" "System Administration tools"
156
11
.\" -----------------------------------------------------------------
157
12
.\" * set default formatting
158
13
.\" -----------------------------------------------------------------
163
18
.\" -----------------------------------------------------------------
164
19
.\" * MAIN CONTENT STARTS HERE *
165
20
.\" -----------------------------------------------------------------
167
22
pdbedit \- manage the SAM database (Database of Samba Users)
171
\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]
25
pdbedit [\-L] [\-v] [\-w] [\-u\ username] [\-f\ fullname] [\-h\ homedir] [\-D\ drive] [\-S\ script] [\-p\ profile] [\-K] [\-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
28
This tool is part of the
270
95
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
272
97
file format\&. (see the
273
98
\fBsmbpasswd\fR(5)
277
\FCpdbedit \-L \-w\F[]
288
.BB lightgray adjust-for-leading-newline
291
108
sorce:500:508818B733CE64BEAAD3B435B51404EE:
292
109
D2A2418EFC466A8A0F6B1DBB5C3DB80C:
293
110
[UX ]:LCT\-00000000:
294
111
samba:45:0F2B255F7B67A7A9AAD3B435B51404EE:
295
112
BC281CE3F53B6A5146629CD4751D3490:
296
113
[UX ]:LCT\-3BFA1E8D:
297
.EB lightgray adjust-for-leading-newline
545
357
has been set\&. It only updates the data in the Samba user database\&.
547
359
If you wish to add a user and synchronise the password that immediately, use
556
367
\-t, \-\-password\-from\-stdin
558
369
This option causes pdbedit to read the password from standard input, rather than from /dev/tty (like the
560
371
program does)\&. The password has to be submitted twice and terminated by a newline each\&.
628
439
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\&.
631
\FCpdbedit \-P "bad lockout attempt"\F[]
442
pdbedit \-P "bad lockout attempt"
642
.BB lightgray adjust-for-leading-newline
645
448
account policy value for bad lockout attempt is 0
646
.EB lightgray adjust-for-leading-newline
718
501
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\&.
720
503
Note that specifying this parameter here will override the
721
\m[blue]\fBlog level\fR\m[]
504
\m[blue]\fB\%smb.conf.5.html#\fR\m[]
729
512
Prints the program version number\&.
732
\-s <configuration file>
515
\-s|\-\-configfile <configuration file>
734
517
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
736
519
for more information\&. The default configuration file name is determined at compile time\&.