Changeset 134 for branches/samba-3.0/docs/manpages/pdbedit.8
- Timestamp:
- May 23, 2008, 6:56:41 AM (17 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/samba-3.0/docs/manpages/pdbedit.8
r44 r134 1 .\"Generated by db2man.xsl. Don't modify this, modify the source. 2 .de Sh \" Subsection 3 .br 4 .if t .Sp 5 .ne 5 6 .PP 7 \fB\\$1\fR 8 .PP 9 .. 10 .de Sp \" Vertical space (when we can't use .PP) 11 .if t .sp .5v 12 .if n .sp 13 .. 14 .de Ip \" List item 15 .br 16 .ie \\n(.$>=3 .ne \\$3 17 .el .ne 3 18 .IP "\\$1" \\$2 19 .. 20 .TH "PDBEDIT" 8 "" "" "" 1 .\" Title: pdbedit 2 .\" Author: 3 .\" Generator: DocBook XSL Stylesheets v1.73.2 <http://docbook.sf.net/> 4 .\" Date: 05/21/2008 5 .\" Manual: System Administration tools 6 .\" Source: Samba 3.0 7 .\" 8 .TH "PDBEDIT" "8" "05/21/2008" "Samba 3\.0" "System Administration tools" 9 .\" disable hyphenation 10 .nh 11 .\" disable justification (adjust text to left margin only) 12 .ad l 21 13 .SH "NAME" 22 14 pdbedit - manage the SAM database (Database of Samba Users) 23 15 .SH "SYNOPSIS" 24 16 .HP 1 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]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] 26 18 .SH "DESCRIPTION" 27 19 .PP 28 20 This tool is part of the 29 21 \fBsamba\fR(7) 30 suite .31 .PP 32 The pdbedit program is used to manage the users accounts stored in the sam database and can only be run by root .33 .PP 34 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) .35 .PP 36 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 .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\. 37 29 .SH "OPTIONS" 38 30 .PP 39 -L 40 .RS 3n 41 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. 42 .sp 43 Example: 44 pdbedit -L 45 .sp 46 47 .sp 48 49 .nf 50 31 \-L 32 .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 40 .nf 51 41 sorce:500:Simo Sorce 52 42 samba:45:Test User 53 54 .fi 55 56 .RE 57 .PP 58 -v 59 .RS 3n 60 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. 61 .sp 62 Example: 63 pdbedit -L -v 64 .sp 65 66 .sp 67 68 .nf 69 70 --------------- 43 .fi 44 .RE 45 .RE 46 .PP 47 \-v 48 .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 56 .nf 57 \-\-\-\-\-\-\-\-\-\-\-\-\-\-\- 71 58 username: sorce 72 59 user ID/Group: 500/500 73 60 user RID/GRID: 2000/2001 74 61 Full Name: Simo Sorce 75 Home Directory: \ \BERSERKER\sorce62 Home Directory: \e\eBERSERKER\esorce 76 63 HomeDir Drive: H: 77 Logon Script: \ \BERSERKER\netlogon\sorce.bat78 Profile Path: \ \BERSERKER\profile79 ---------------64 Logon Script: \e\eBERSERKER\enetlogon\esorce\.bat 65 Profile Path: \e\eBERSERKER\eprofile 66 \-\-\-\-\-\-\-\-\-\-\-\-\-\-\- 80 67 username: samba 81 68 user ID/Group: 45/45 82 69 user RID/GRID: 1090/1091 83 70 Full Name: Test User 84 Home Directory: \ \BERSERKER\samba71 Home Directory: \e\eBERSERKER\esamba 85 72 HomeDir Drive: 86 73 Logon Script: 87 Profile Path: \\BERSERKER\profile 88 89 .fi 90 91 .RE 92 .PP 93 -w 94 .RS 3n 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 74 Profile Path: \e\eBERSERKER\eprofile 75 .fi 76 .RE 77 .RE 78 .PP 79 \-w 80 .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 96 82 \fIsmbpasswd\fR 97 file format . (see the83 file format\. (see the 98 84 \fBsmbpasswd\fR(5) 99 85 for details) 100 86 .sp 101 87 Example: 102 pdbedit -L-w103 104 . nf105 88 pdbedit \-L \-w 89 .sp 90 .RS 4 91 .nf 106 92 sorce:500:508818B733CE64BEAAD3B435B51404EE: 107 93 D2A2418EFC466A8A0F6B1DBB5C3DB80C: 108 [UX ]:LCT -00000000:94 [UX ]:LCT\-00000000: 109 95 samba:45:0F2B255F7B67A7A9AAD3B435B51404EE: 110 96 BC281CE3F53B6A5146629CD4751D3490: 111 [UX ]:LCT-3BFA1E8D: 97 [UX ]:LCT\-3BFA1E8D: 98 .fi 99 .RE 100 .RE 101 .PP 102 \-u username 103 .RS 4 104 This option specifies the username to be used for the operation requested (listing, adding, removing)\. It is 105 \fIrequired\fR 106 in add, remove and modify operations and 107 \fIoptional\fR 108 in list operations\. 109 .RE 110 .PP 111 \-f fullname 112 .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" 117 .RE 118 .PP 119 \-h homedir 120 .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" 125 .RE 126 .PP 127 \-D drive 128 .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:" 133 .RE 134 .PP 135 \-S script 136 .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" 141 .RE 142 .PP 143 \-p profile 144 .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" 149 .RE 150 .PP 151 \-G SID|rid 152 .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 157 .RE 158 .PP 159 \-U SID|rid 160 .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 165 .RE 166 .PP 167 \-c account\-control 168 .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\. 170 .sp 112 171 113 .fi 114 .RE 115 .PP 116 -u username 117 .RS 3n 118 This option specifies the username to be used for the operation requested (listing, adding, removing). It is 119 \fBrequired\fR 120 in add, remove and modify operations and 121 \fBoptional\fR 122 in list operations. 123 .RE 124 .PP 125 -f fullname 126 .RS 3n 127 This option can be used while adding or modifing a user account. It will specify the user's full name. 128 .sp 129 Example: 130 -f "Simo Sorce" 131 .RE 132 .PP 133 -h homedir 134 .RS 3n 135 This option can be used while adding or modifing a user account. It will specify the user's home directory network path. 136 .sp 137 Example: 138 -h "\\\\\\\\BERSERKER\\\\sorce" 139 .RE 140 .PP 141 -D drive 142 .RS 3n 143 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. 144 .sp 145 Example: 146 -D "H:" 147 .RE 148 .PP 149 -S script 150 .RS 3n 151 This option can be used while adding or modifing a user account. It will specify the user's logon script path. 152 .sp 153 Example: 154 -S "\\\\\\\\BERSERKER\\\\netlogon\\\\sorce.bat" 155 .RE 156 .PP 157 -p profile 158 .RS 3n 159 This option can be used while adding or modifing a user account. It will specify the user's profile directory. 160 .sp 161 Example: 162 -p "\\\\\\\\BERSERKER\\\\netlogon" 163 .RE 164 .PP 165 -G SID|rid 166 .RS 3n 167 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. 168 .sp 169 Example: 170 -G S-1-5-21-2447931902-1787058256-3961074038-1201 171 .RE 172 .PP 173 -U SID|rid 174 .RS 3n 175 This option can be used while adding or modifying a user account. It will specify the users' new SID (Security Identifier) or rid. 176 .sp 177 Example: 178 -U S-1-5-21-2447931902-1787058256-3961074038-5004 179 .RE 180 .PP 181 -c account-control 182 .RS 3n 183 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. 184 .sp 185 186 .RS 3n 187 .TP 3n 188 \(bu 172 .sp 173 .RS 4 174 .ie n \{\ 175 \h'-04'\(bu\h'+03'\c 176 .\} 177 .el \{\ 178 .sp -1 179 .IP \(bu 2.3 180 .\} 189 181 N: No password required 190 .TP 3n 191 \(bu 182 .RE 183 .sp 184 .RS 4 185 .ie n \{\ 186 \h'-04'\(bu\h'+03'\c 187 .\} 188 .el \{\ 189 .sp -1 190 .IP \(bu 2.3 191 .\} 192 192 D: Account disabled 193 .TP 3n 194 \(bu 193 .RE 194 .sp 195 .RS 4 196 .ie n \{\ 197 \h'-04'\(bu\h'+03'\c 198 .\} 199 .el \{\ 200 .sp -1 201 .IP \(bu 2.3 202 .\} 195 203 H: Home directory required 196 .TP 3n 197 \(bu 204 .RE 205 .sp 206 .RS 4 207 .ie n \{\ 208 \h'-04'\(bu\h'+03'\c 209 .\} 210 .el \{\ 211 .sp -1 212 .IP \(bu 2.3 213 .\} 198 214 T: Temporary duplicate of other account 199 .TP 3n 200 \(bu 215 .RE 216 .sp 217 .RS 4 218 .ie n \{\ 219 \h'-04'\(bu\h'+03'\c 220 .\} 221 .el \{\ 222 .sp -1 223 .IP \(bu 2.3 224 .\} 201 225 U: Regular user account 202 .TP 3n 203 \(bu 226 .RE 227 .sp 228 .RS 4 229 .ie n \{\ 230 \h'-04'\(bu\h'+03'\c 231 .\} 232 .el \{\ 233 .sp -1 234 .IP \(bu 2.3 235 .\} 204 236 M: MNS logon user account 205 .TP 3n 206 \(bu 237 .RE 238 .sp 239 .RS 4 240 .ie n \{\ 241 \h'-04'\(bu\h'+03'\c 242 .\} 243 .el \{\ 244 .sp -1 245 .IP \(bu 2.3 246 .\} 207 247 W: Workstation Trust Account 208 .TP 3n 209 \(bu 248 .RE 249 .sp 250 .RS 4 251 .ie n \{\ 252 \h'-04'\(bu\h'+03'\c 253 .\} 254 .el \{\ 255 .sp -1 256 .IP \(bu 2.3 257 .\} 210 258 S: Server Trust Account 211 .TP 3n 212 \(bu 259 .RE 260 .sp 261 .RS 4 262 .ie n \{\ 263 \h'-04'\(bu\h'+03'\c 264 .\} 265 .el \{\ 266 .sp -1 267 .IP \(bu 2.3 268 .\} 213 269 L: Automatic Locking 214 .TP 3n 215 \(bu 270 .RE 271 .sp 272 .RS 4 273 .ie n \{\ 274 \h'-04'\(bu\h'+03'\c 275 .\} 276 .el \{\ 277 .sp -1 278 .IP \(bu 2.3 279 .\} 216 280 X: Password does not expire 217 .TP 3n 218 \(bu 281 .RE 282 .sp 283 .RS 4 284 .ie n \{\ 285 \h'-04'\(bu\h'+03'\c 286 .\} 287 .el \{\ 288 .sp -1 289 .IP \(bu 2.3 290 .\} 219 291 I: Domain Trust Account 220 .RE 221 .IP "" 3n 222 223 .sp 224 Example: 225 -c "[X ]" 226 .RE 227 .PP 228 -a 229 .RS 3n 230 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. 231 .sp 232 Example: 233 pdbedit -a -u sorce 234 235 .sp 236 292 .sp 293 .RE 294 .sp 295 Example: 296 \-c "[X ]" 297 .RE 298 .PP 299 \-a 300 .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 237 307 .nf 238 308 new password: 239 309 retype new password 240 241 . fi242 310 .fi 311 .RE 312 .sp 243 313 .sp 244 314 .it 1 an-trap … … 246 316 .nr an-break-flag 1 247 317 .br 248 \fBNote\fR 318 Note 249 319 pdbedit does not call the unix password syncronisation script if 250 unix password sync has been set. It only updates the data in the Samba user database. 320 \fIunix password sync\fR 321 has been set\. It only updates the data in the Samba user database\. 251 322 .sp 252 323 If you wish to add a user and synchronise the password that immediately, use 253 smbpasswd 's254 \fB -a\fR255 option .256 .RE 257 .PP 258 -t, --password-from-stdin259 .RS 3n324 smbpasswd\'s 325 \fB\-a\fR 326 option\. 327 .RE 328 .PP 329 \-t, \-\-password\-from\-stdin 330 .RS 4 260 331 This option causes pdbedit to read the password from standard input, rather than from /dev/tty (like the 261 332 passwd(1) 262 program does) . The password has to be submitted twice and terminated by a newline each.263 .RE 264 .PP 265 -r266 .RS 3n267 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.268 .RE 269 .PP 270 -m271 .RS 3n333 program does)\. The password has to be submitted twice and terminated by a newline each\. 334 .RE 335 .PP 336 \-r 337 .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\. 339 .RE 340 .PP 341 \-m 342 .RS 4 272 343 This option may only be used in conjunction with the 273 \fI -a\fR274 option . It will make pdbedit to add a machine trust account instead of a user account (-u username will provide the machine name).275 .sp 276 Example: 277 pdbedit -a -m -u w2k-wks278 .RE 279 .PP 280 -x281 .RS 3n282 This option causes pdbedit to delete an account from the database . It needs a username specified with the -u switch.283 .sp 284 Example: 285 pdbedit -x-u bob286 .RE 287 .PP 288 -i passdb-backend289 .RS 3n290 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.291 .sp 292 This option will ease migration from one passdb backend to another .293 .sp 294 Example: 295 pdbedit -i smbpasswd:/etc/smbpasswd.old296 .RE 297 .PP 298 -e passdb-backend299 .RS 3n300 Exports all currently available users to the specified password database backend .301 .sp 302 This option will ease migration from one passdb backend to another and will ease backing up .303 .sp 304 Example: 305 pdbedit -e smbpasswd:/root/samba-users.backup306 .RE 307 .PP 308 -g309 .RS 3n344 \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 349 .RE 350 .PP 351 \-x 352 .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 357 .RE 358 .PP 359 \-i passdb\-backend 360 .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 367 .RE 368 .PP 369 \-e passdb\-backend 370 .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 377 .RE 378 .PP 379 \-g 380 .RS 4 310 381 If you specify 311 \fI -g\fR, then312 \fI -i in-backend -e out-backend\fR313 applies to the group mapping instead of the user database .314 .sp 315 This option will ease migration from one passdb backend to another and will ease backing up .316 .RE 317 .PP 318 -b passdb-backend319 .RS 3n320 Use a different default passdb backend .321 .sp 322 Example: 323 pdbedit -b xml:/root/pdb-backup.xml-l324 .RE 325 .PP 326 -P account-policy327 .RS 3n382 \fI\-g\fR, then 383 \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\. 387 .RE 388 .PP 389 \-b passdb\-backend 390 .RS 4 391 Use a different default passdb backend\. 392 .sp 393 Example: 394 pdbedit \-b xml:/root/pdb\-backup\.xml \-l 395 .RE 396 .PP 397 \-P account\-policy 398 .RS 4 328 399 Display an account policy 329 400 .sp 330 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. 331 .sp 332 Example: 333 pdbedit -P "bad lockout attempt" 334 .sp 335 336 .sp 337 338 .nf 339 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 408 .nf 340 409 account policy value for bad lockout attempt is 0 341 342 .fi 343 344 .RE 345 .PP 346 -C account-policy-value 347 .RS 3n 348 Sets an account policy to a specified value. This option may only be used in conjunction with the 349 \fI-P\fR 350 option. 351 .sp 352 Example: 353 pdbedit -P "bad lockout attempt" -C 3 354 .sp 355 356 .sp 357 358 .nf 359 410 .fi 411 .RE 412 .RE 413 .PP 414 \-C account\-policy\-value 415 .RS 4 416 Sets an account policy to a specified value\. This option may only be used in conjunction with the 417 \fI\-P\fR 418 option\. 419 .sp 420 Example: 421 pdbedit \-P "bad lockout attempt" \-C 3 422 .sp 423 .sp 424 .RS 4 425 .nf 360 426 account policy value for bad lockout attempt was 0 361 427 account policy value for bad lockout attempt is now 3 362 363 .fi 364 365 .RE 366 .PP 367 -y 368 .RS 3n 428 .fi 429 .RE 430 .RE 431 .PP 432 \-y 433 .RS 4 369 434 If you specify 370 \fI-y\fR, then 371 \fI-i in-backend -e out-backend\fR 372 applies to the account policies instead of the user database. 373 .sp 374 This option will allow to migrate account policies from their default tdb-store into a passdb backend, e.g. an LDAP directory server. 375 .sp 376 Example: 377 pdbedit -y -i tdbsam: -e ldapsam:ldap://my.ldap.host 378 .RE 379 .PP 380 -h|--help 381 .RS 3n 382 Print a summary of command line options. 383 .RE 384 .PP 385 -V 386 .RS 3n 387 Prints the program version number. 388 .RE 389 .PP 390 -s <configuration file> 391 .RS 3n 392 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 393 \fIsmb.conf\fR 394 for more information. The default configuration file name is determined at compile time. 395 .RE 396 .PP 397 -d|--debuglevel=level 398 .RS 3n 435 \fI\-y\fR, then 436 \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 443 .RE 444 .PP 445 \-h|\-\-help 446 .RS 4 447 Print a summary of command line options\. 448 .RE 449 .PP 450 \-d|\-\-debuglevel=level 451 .RS 4 399 452 \fIlevel\fR 400 is an integer from 0 to 10 . The default value if this parameter is not specified is zero.401 .sp 402 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.403 .sp 404 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.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\. 405 458 .sp 406 459 Note that specifying this parameter here will override the 407 460 \fIlog level\fR 408 461 parameter in the 409 \fIsmb.conf\fR 410 file. 411 .RE 412 .PP 413 -l|--logfile=logdirectory 414 .RS 3n 415 Base directory name for log/debug files. The extension 416 \fB".progname"\fR 417 will be appended (e.g. log.smbclient, log.smbd, etc...). The log file is never removed by the client. 462 \fIsmb\.conf\fR 463 file\. 464 .RE 465 .PP 466 \-V 467 .RS 4 468 Prints the program version number\. 469 .RE 470 .PP 471 \-s <configuration file> 472 .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\. 476 .RE 477 .PP 478 \-l|\-\-log\-basename=logdirectory 479 .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\. 418 483 .RE 419 484 .SH "NOTES" 420 485 .PP 421 This command may be used only by root .486 This command may be used only by root\. 422 487 .SH "VERSION" 423 488 .PP 424 This man page is correct for version 3 .0 of the Samba suite.489 This man page is correct for version 3\.0 of the Samba suite\. 425 490 .SH "SEE ALSO" 426 491 .PP … … 429 494 .SH "AUTHOR" 430 495 .PP 431 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. 432 .PP 433 The pdbedit manpage was written by Simo Sorce and Jelmer Vernooij. 434 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\.
Note:
See TracChangeset
for help on using the changeset viewer.