Changeset 368 for branches/samba-3.3.x/docs/manpages/pdbedit.8
- Timestamp:
- Jan 15, 2010, 8:21:06 AM (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/samba-3.3.x/docs/manpages/pdbedit.8
r342 r368 1 '\" t 1 2 .\" Title: pdbedit 2 3 .\" Author: [see the "AUTHOR" section] 3 .\" Generator: DocBook XSL Stylesheets v1.7 4.0<http://docbook.sf.net/>4 .\" Date: 10/12/20094 .\" Generator: DocBook XSL Stylesheets v1.75.2 <http://docbook.sf.net/> 5 .\" Date: 01/14/2010 5 6 .\" Manual: System Administration tools 6 7 .\" Source: Samba 3.3 7 8 .\" Language: English 8 9 .\" 9 .TH "PDBEDIT" "8" "10/12/2009" "Samba 3\&.3" "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 .. 10 .TH "PDBEDIT" "8" "01/14/2010" "Samba 3\&.3" "System Administration tools" 159 11 .\" ----------------------------------------------------------------- 160 12 .\" * set default formatting … … 167 19 .\" * MAIN CONTENT STARTS HERE * 168 20 .\" ----------------------------------------------------------------- 169 .SH "N ame"21 .SH "NAME" 170 22 pdbedit \- manage the SAM database (Database of Samba Users) 171 .SH "Synopsis" 172 .fam C 23 .SH "SYNOPSIS" 173 24 .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 25 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] 176 26 .SH "DESCRIPTION" 177 27 .PP … … 192 42 .sp 193 43 Example: 194 \FCpdbedit \-L\F[] 195 .sp 196 .if n \{\ 197 .RS 4 198 .\} 199 .fam C 200 .ps -1 44 pdbedit \-L 45 .sp 46 .if n \{\ 47 .RS 4 48 .\} 201 49 .nf 202 .if t \{\203 .sp -1204 .\}205 .BB lightgray adjust-for-leading-newline206 .sp -1207 208 50 sorce:500:Simo Sorce 209 51 samba:45:Test User 210 .EB lightgray adjust-for-leading-newline211 .if t \{\212 .sp 1213 .\}214 52 .fi 215 .fam216 .ps +1217 53 .if n \{\ 218 54 .RE … … 225 61 .sp 226 62 Example: 227 \FCpdbedit \-L \-v\F[] 228 .sp 229 .if n \{\ 230 .RS 4 231 .\} 232 .fam C 233 .ps -1 63 pdbedit \-L \-v 64 .sp 65 .if n \{\ 66 .RS 4 67 .\} 234 68 .nf 235 .if t \{\236 .sp -1237 .\}238 .BB lightgray adjust-for-leading-newline239 .sp -1240 241 69 \-\-\-\-\-\-\-\-\-\-\-\-\-\-\- 242 70 username: sorce … … 257 85 Logon Script: 258 86 Profile Path: \e\eBERSERKER\eprofile 259 .EB lightgray adjust-for-leading-newline260 .if t \{\261 .sp 1262 .\}263 87 .fi 264 .fam265 .ps +1266 88 .if n \{\ 267 89 .RE … … 272 94 .RS 4 273 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 274 \FCsmbpasswd\F[] 96 smbpasswd 275 97 file format\&. (see the 276 98 \fBsmbpasswd\fR(5) … … 278 100 .sp 279 101 Example: 280 \FCpdbedit \-L \-w\F[] 281 .sp 282 .if n \{\ 283 .RS 4 284 .\} 285 .fam C 286 .ps -1 102 pdbedit \-L \-w 103 .sp 104 .if n \{\ 105 .RS 4 106 .\} 287 107 .nf 288 .if t \{\289 .sp -1290 .\}291 .BB lightgray adjust-for-leading-newline292 .sp -1293 294 108 sorce:500:508818B733CE64BEAAD3B435B51404EE: 295 109 D2A2418EFC466A8A0F6B1DBB5C3DB80C: … … 298 112 BC281CE3F53B6A5146629CD4751D3490: 299 113 [UX ]:LCT\-3BFA1E8D: 300 .EB lightgray adjust-for-leading-newline301 .if t \{\302 .sp 1303 .\}304 114 .fi 305 .fam306 .ps +1307 115 .if n \{\ 308 116 .RE … … 324 132 .sp 325 133 Example: 326 \ FC\-f "Simo Sorce"\F[]134 \-f "Simo Sorce" 327 135 .RE 328 136 .PP … … 332 140 .sp 333 141 Example: 334 \ FC\-h "\e\e\e\eBERSERKER\e\esorce"\F[]142 \-h "\e\e\e\eBERSERKER\e\esorce" 335 143 .RE 336 144 .PP … … 340 148 .sp 341 149 Example: 342 \ FC\-D "H:"\F[]150 \-D "H:" 343 151 .RE 344 152 .PP … … 348 156 .sp 349 157 Example: 350 \ FC\-S "\e\e\e\eBERSERKER\e\enetlogon\e\esorce\&.bat"\F[]158 \-S "\e\e\e\eBERSERKER\e\enetlogon\e\esorce\&.bat" 351 159 .RE 352 160 .PP … … 356 164 .sp 357 165 Example: 358 \ FC\-p "\e\e\e\eBERSERKER\e\enetlogon"\F[]166 \-p "\e\e\e\eBERSERKER\e\enetlogon" 359 167 .RE 360 168 .PP … … 364 172 .sp 365 173 Example: 366 \ FC\-G S\-1\-5\-21\-2447931902\-1787058256\-3961074038\-1201\F[]174 \-G S\-1\-5\-21\-2447931902\-1787058256\-3961074038\-1201 367 175 .RE 368 176 .PP … … 372 180 .sp 373 181 Example: 374 \ FC\-U S\-1\-5\-21\-2447931902\-1787058256\-3961074038\-5004\F[]182 \-U S\-1\-5\-21\-2447931902\-1787058256\-3961074038\-5004 375 183 .RE 376 184 .PP … … 504 312 .sp 505 313 Example: 506 \ FC\-c "[X ]"\F[]314 \-c "[X ]" 507 315 .RE 508 316 .PP … … 512 320 .sp 513 321 Example: 514 \FCpdbedit \-a \-u sorce\F[] 515 .sp 516 .if n \{\ 517 .RS 4 518 .\} 519 .fam C 520 .ps -1 322 pdbedit \-a \-u sorce 323 .sp 324 .if n \{\ 325 .RS 4 326 .\} 521 327 .nf 522 .BB lightgray523 328 new password: 524 329 retype new password 525 .EB lightgray526 330 .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 331 .if n \{\ 332 .RE 333 .\} 334 .sp 335 .if n \{\ 336 .sp 337 .\} 338 .RS 4 538 339 .it 1 an-trap 539 340 .nr an-no-space-flag 1 … … 549 350 .sp 550 351 If you wish to add a user and synchronise the password that immediately, use 551 \FCsmbpasswd\F[]\'s352 smbpasswd\'s 552 353 \fB\-a\fR 553 354 option\&. 554 355 .sp .5v 555 .EM yellow556 356 .RE 557 357 .RE … … 560 360 .RS 4 561 361 This option causes pdbedit to read the password from standard input, rather than from /dev/tty (like the 562 \FCpasswd(1)\F[] 362 passwd(1) 563 363 program does)\&. The password has to be submitted twice and terminated by a newline each\&. 564 364 .RE … … 576 376 .sp 577 377 Example: 578 \FCpdbedit \-a \-m \-u w2k\-wks\F[] 378 pdbedit \-a \-m \-u w2k\-wks 579 379 .RE 580 380 .PP … … 584 384 .sp 585 385 Example: 586 \FCpdbedit \-x \-u bob\F[] 386 pdbedit \-x \-u bob 587 387 .RE 588 388 .PP … … 594 394 .sp 595 395 Example: 596 \FCpdbedit \-i smbpasswd:/etc/smbpasswd\&.old \F[] 396 pdbedit \-i smbpasswd:/etc/smbpasswd\&.old 597 397 .RE 598 398 .PP … … 604 404 .sp 605 405 Example: 606 \FCpdbedit \-e smbpasswd:/root/samba\-users\&.backup\F[] 406 pdbedit \-e smbpasswd:/root/samba\-users\&.backup 607 407 .RE 608 408 .PP … … 622 422 .sp 623 423 Example: 624 \FCpdbedit \-b xml:/root/pdb\-backup\&.xml \-l\F[] 424 pdbedit \-b xml:/root/pdb\-backup\&.xml \-l 625 425 .RE 626 426 .PP … … 632 432 .sp 633 433 Example: 634 \FCpdbedit \-P "bad lockout attempt"\F[] 635 .sp 636 .if n \{\ 637 .RS 4 638 .\} 639 .fam C 640 .ps -1 434 pdbedit \-P "bad lockout attempt" 435 .sp 436 .if n \{\ 437 .RS 4 438 .\} 641 439 .nf 642 .if t \{\643 .sp -1644 .\}645 .BB lightgray adjust-for-leading-newline646 .sp -1647 648 440 account policy value for bad lockout attempt is 0 649 .EB lightgray adjust-for-leading-newline650 .if t \{\651 .sp 1652 .\}653 441 .fi 654 .fam655 .ps +1656 442 .if n \{\ 657 443 .RE … … 666 452 .sp 667 453 Example: 668 \FCpdbedit \-P "bad lockout attempt" \-C 3\F[] 669 .sp 670 .if n \{\ 671 .RS 4 672 .\} 673 .fam C 674 .ps -1 454 pdbedit \-P "bad lockout attempt" \-C 3 455 .sp 456 .if n \{\ 457 .RS 4 458 .\} 675 459 .nf 676 .if t \{\677 .sp -1678 .\}679 .BB lightgray adjust-for-leading-newline680 .sp -1681 682 460 account policy value for bad lockout attempt was 0 683 461 account policy value for bad lockout attempt is now 3 684 .EB lightgray adjust-for-leading-newline685 .if t \{\686 .sp 1687 .\}688 462 .fi 689 .fam690 .ps +1691 463 .if n \{\ 692 464 .RE … … 704 476 .sp 705 477 Example: 706 \FCpdbedit \-y \-i tdbsam: \-e ldapsam:ldap://my\&.ldap\&.host\F[] 478 pdbedit \-y \-i tdbsam: \-e ldapsam:ldap://my\&.ldap\&.host 707 479 .RE 708 480 .PP … … 722 494 .sp 723 495 Note that specifying this parameter here will override the 724 \m[blue]\fB log level\fR\m[]496 \m[blue]\fB\%smb.conf.5.html#\fR\m[] 725 497 parameter in the 726 \FCsmb\&.conf\F[] 498 smb\&.conf 727 499 file\&. 728 500 .RE 729 501 .PP 730 \-V 502 \-V|\-\-version 731 503 .RS 4 732 504 Prints the program version number\&. 733 505 .RE 734 506 .PP 735 \-s <configuration file>507 \-s|\-\-configfile <configuration file> 736 508 .RS 4 737 509 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 738 \FCsmb\&.conf\F[] 510 smb\&.conf 739 511 for more information\&. The default configuration file name is determined at compile time\&. 740 512 .RE
Note:
See TracChangeset
for help on using the changeset viewer.