~ubuntu-branches/ubuntu/oneiric/samba/oneiric-security

« back to all changes in this revision

Viewing changes to docs/manpages/vfstest.1

  • Committer: Bazaar Package Importer
  • Author(s): Chuck Short
  • Date: 2011-03-10 10:03:01 UTC
  • mfrom: (0.39.11 sid)
  • Revision ID: james.westby@ubuntu.com-20110310100301-jfjg41wv0iq05zj4
Tags: 2:3.5.8~dfsg-1ubuntu1
* Merge from debian unstable.  Remaining changes:
  + debian/patches/VERSION.patch:
    - set SAMBA_VERSION_SUFFIX to Ubuntu.
  + debian/smb.conf:
    - add "(Samba, Ubuntu)" to server string.
    - comment out the default [homes] share, and add a comment about
      "valid users = %S" to show users how to restrict access to
      \\server\username to only username.
    - Set 'usershare allow guests', so that usershare admins are 
      allowed to create public shares in addition to authenticated
      ones.
    - add map to guest = Bad user, maps bad username to guest access. 
  + debian/samba-common.config:
    - Do not change priority to high if dhclient3 is installed.
    - Use priority medium instead of high for the workgroup question.
  + debian/mksmbpasswd.awk:
    - Do not add user with UID less than 1000 to smbpasswd
  + debian/control:
    - Make libwbclient0 replace/conflict with hardy's likewise-open.
    - Don't build against or suggest ctdb.
    - Add dependency on samba-common-bin to samba.
    - Add cuups breaks to push the package to aslo upgrade cups (LP: #639768)
  + debian/rules:
    - enable "native" PIE hardening.
    - Add BIND_NOW to maximize benefit of RELRO hardening.
  + Add ufw integration:
    - Created debian/samba.ufw.profile
    - debian/rules, debian/samba.dirs, debian/samba.files: install
      profile
    - debian/control: have samba suggest ufw
  + Add apport hook:
    - Created debian/source_samba.py.
    - debian/rules, debian/samba.dirs, debian/samba-common-bin.files: install
  + Switch to upstart:
    - Add debian/samba.{nmbd,smbd}.upstart.
    - Don't ship the /etc/network/if-up.d file.
  + debian/samba.postinst: 
    - Fixed bashism.
    - Avoid scary pdbedit warnings on first import.
  + debian/samba-common.postinst: Add more informative error message for
    the case where smb.conf was manually deleted
  + debian/samba.logrotate: Make it upstart compatible
  + debian/samba-common.dhcp: Fix typo to get a proper parsing in
    /etc/samba/dhcp.
  + Dropped:
    - debian/patches/fix-windows7-print-connection.patch: Merged upstream.
    - debian/patches/security-CVE-2011-0719.patch: Merged upstream. 

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
'\" t
1
2
.\"     Title: vfstest
2
3
.\"    Author: [see the "AUTHOR" section]
3
 
.\" Generator: DocBook XSL Stylesheets v1.74.0 <http://docbook.sf.net/>
4
 
.\"      Date: 06/18/2010
 
4
.\" Generator: DocBook XSL Stylesheets v1.75.2 <http://docbook.sf.net/>
 
5
.\"      Date: 03/06/2011
5
6
.\"    Manual: User Commands
6
7
.\"    Source: Samba 3.5
7
8
.\"  Language: English
8
9
.\"
9
 
.TH "VFSTEST" "1" "06/18/2010" "Samba 3\&.5" "User Commands"
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 "VFSTEST" "1" "03/06/2011" "Samba 3\&.5" "User Commands"
159
11
.\" -----------------------------------------------------------------
160
12
.\" * set default formatting
161
13
.\" -----------------------------------------------------------------
166
18
.\" -----------------------------------------------------------------
167
19
.\" * MAIN CONTENT STARTS HERE *
168
20
.\" -----------------------------------------------------------------
169
 
.SH "Name"
 
21
.SH "NAME"
170
22
vfstest \- tool for testing samba VFS modules
171
 
.SH "Synopsis"
172
 
.fam C
 
23
.SH "SYNOPSIS"
173
24
.HP \w'\ 'u
174
 
\FCvfstest\F[] [\-d\ debuglevel] [\-c\ command] [\-l\ logdir] [\-h]
175
 
.fam
 
25
vfstest [\-d\ debuglevel] [\-c\ command] [\-l\ logdir] [\-h]
176
26
.SH "DESCRIPTION"
177
27
.PP
178
28
This tool is part of the
179
29
\fBsamba\fR(7)
180
30
suite\&.
181
31
.PP
182
 
\FCvfstest\F[]
 
32
vfstest
183
33
is a small command line utility that has the ability to test dso samba VFS modules\&. It gives the user the ability to call the various VFS functions manually and supports cascaded VFS modules\&.
184
34
.SH "OPTIONS"
185
35
.PP
212
62
Note that specifying this parameter here will override the
213
63
\m[blue]\fB\%smb.conf.5.html#\fR\m[]
214
64
parameter in the
215
 
\FCsmb\&.conf\F[]
 
65
smb\&.conf
216
66
file\&.
217
67
.RE
218
68
.PP
224
74
\-s|\-\-configfile <configuration file>
225
75
.RS 4
226
76
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
227
 
\FCsmb\&.conf\F[]
 
77
smb\&.conf
228
78
for more information\&. The default configuration file name is determined at compile time\&.
229
79
.RE
230
80
.PP
246
96
.sp -1
247
97
.IP \(bu 2.3
248
98
.\}
249
 
\FCload <module\&.so>\F[]
 
99
load <module\&.so>
250
100
\- Load specified VFS module
251
101
.RE
252
102
.sp
258
108
.sp -1
259
109
.IP \(bu 2.3
260
110
.\}
261
 
\FCpopulate <char> <size>\F[]
 
111
populate <char> <size>
262
112
\- Populate a data buffer with the specified data
263
113
.RE
264
114
.sp
270
120
.sp -1
271
121
.IP \(bu 2.3
272
122
.\}
273
 
\FCshowdata [<offset> <len>]\F[]
 
123
showdata [<offset> <len>]
274
124
\- Show data currently in data buffer
275
125
.RE
276
126
.sp
282
132
.sp -1
283
133
.IP \(bu 2.3
284
134
.\}
285
 
\FCconnect\F[]
 
135
connect
286
136
\- VFS connect()
287
137
.RE
288
138
.sp
294
144
.sp -1
295
145
.IP \(bu 2.3
296
146
.\}
297
 
\FCdisconnect\F[]
 
147
disconnect
298
148
\- VFS disconnect()
299
149
.RE
300
150
.sp
306
156
.sp -1
307
157
.IP \(bu 2.3
308
158
.\}
309
 
\FCdisk_free\F[]
 
159
disk_free
310
160
\- VFS disk_free()
311
161
.RE
312
162
.sp
318
168
.sp -1
319
169
.IP \(bu 2.3
320
170
.\}
321
 
\FCopendir\F[]
 
171
opendir
322
172
\- VFS opendir()
323
173
.RE
324
174
.sp
330
180
.sp -1
331
181
.IP \(bu 2.3
332
182
.\}
333
 
\FCreaddir\F[]
 
183
readdir
334
184
\- VFS readdir()
335
185
.RE
336
186
.sp
342
192
.sp -1
343
193
.IP \(bu 2.3
344
194
.\}
345
 
\FCmkdir\F[]
 
195
mkdir
346
196
\- VFS mkdir()
347
197
.RE
348
198
.sp
354
204
.sp -1
355
205
.IP \(bu 2.3
356
206
.\}
357
 
\FCrmdir\F[]
 
207
rmdir
358
208
\- VFS rmdir()
359
209
.RE
360
210
.sp
366
216
.sp -1
367
217
.IP \(bu 2.3
368
218
.\}
369
 
\FCclosedir\F[]
 
219
closedir
370
220
\- VFS closedir()
371
221
.RE
372
222
.sp
378
228
.sp -1
379
229
.IP \(bu 2.3
380
230
.\}
381
 
\FCopen\F[]
 
231
open
382
232
\- VFS open()
383
233
.RE
384
234
.sp
390
240
.sp -1
391
241
.IP \(bu 2.3
392
242
.\}
393
 
\FCclose\F[]
 
243
close
394
244
\- VFS close()
395
245
.RE
396
246
.sp
402
252
.sp -1
403
253
.IP \(bu 2.3
404
254
.\}
405
 
\FCread\F[]
 
255
read
406
256
\- VFS read()
407
257
.RE
408
258
.sp
414
264
.sp -1
415
265
.IP \(bu 2.3
416
266
.\}
417
 
\FCwrite\F[]
 
267
write
418
268
\- VFS write()
419
269
.RE
420
270
.sp
426
276
.sp -1
427
277
.IP \(bu 2.3
428
278
.\}
429
 
\FClseek\F[]
 
279
lseek
430
280
\- VFS lseek()
431
281
.RE
432
282
.sp
438
288
.sp -1
439
289
.IP \(bu 2.3
440
290
.\}
441
 
\FCrename\F[]
 
291
rename
442
292
\- VFS rename()
443
293
.RE
444
294
.sp
450
300
.sp -1
451
301
.IP \(bu 2.3
452
302
.\}
453
 
\FCfsync\F[]
 
303
fsync
454
304
\- VFS fsync()
455
305
.RE
456
306
.sp
462
312
.sp -1
463
313
.IP \(bu 2.3
464
314
.\}
465
 
\FCstat\F[]
 
315
stat
466
316
\- VFS stat()
467
317
.RE
468
318
.sp
474
324
.sp -1
475
325
.IP \(bu 2.3
476
326
.\}
477
 
\FCfstat\F[]
 
327
fstat
478
328
\- VFS fstat()
479
329
.RE
480
330
.sp
486
336
.sp -1
487
337
.IP \(bu 2.3
488
338
.\}
489
 
\FClstat\F[]
 
339
lstat
490
340
\- VFS lstat()
491
341
.RE
492
342
.sp
498
348
.sp -1
499
349
.IP \(bu 2.3
500
350
.\}
501
 
\FCunlink\F[]
 
351
unlink
502
352
\- VFS unlink()
503
353
.RE
504
354
.sp
510
360
.sp -1
511
361
.IP \(bu 2.3
512
362
.\}
513
 
\FCchmod\F[]
 
363
chmod
514
364
\- VFS chmod()
515
365
.RE
516
366
.sp
522
372
.sp -1
523
373
.IP \(bu 2.3
524
374
.\}
525
 
\FCfchmod\F[]
 
375
fchmod
526
376
\- VFS fchmod()
527
377
.RE
528
378
.sp
534
384
.sp -1
535
385
.IP \(bu 2.3
536
386
.\}
537
 
\FCchown\F[]
 
387
chown
538
388
\- VFS chown()
539
389
.RE
540
390
.sp
546
396
.sp -1
547
397
.IP \(bu 2.3
548
398
.\}
549
 
\FCfchown\F[]
 
399
fchown
550
400
\- VFS fchown()
551
401
.RE
552
402
.sp
558
408
.sp -1
559
409
.IP \(bu 2.3
560
410
.\}
561
 
\FCchdir\F[]
 
411
chdir
562
412
\- VFS chdir()
563
413
.RE
564
414
.sp
570
420
.sp -1
571
421
.IP \(bu 2.3
572
422
.\}
573
 
\FCgetwd\F[]
 
423
getwd
574
424
\- VFS getwd()
575
425
.RE
576
426
.sp
582
432
.sp -1
583
433
.IP \(bu 2.3
584
434
.\}
585
 
\FCutime\F[]
 
435
utime
586
436
\- VFS utime()
587
437
.RE
588
438
.sp
594
444
.sp -1
595
445
.IP \(bu 2.3
596
446
.\}
597
 
\FCftruncate\F[]
 
447
ftruncate
598
448
\- VFS ftruncate()
599
449
.RE
600
450
.sp
606
456
.sp -1
607
457
.IP \(bu 2.3
608
458
.\}
609
 
\FClock\F[]
 
459
lock
610
460
\- VFS lock()
611
461
.RE
612
462
.sp
618
468
.sp -1
619
469
.IP \(bu 2.3
620
470
.\}
621
 
\FCsymlink\F[]
 
471
symlink
622
472
\- VFS symlink()
623
473
.RE
624
474
.sp
630
480
.sp -1
631
481
.IP \(bu 2.3
632
482
.\}
633
 
\FCreadlink\F[]
 
483
readlink
634
484
\- VFS readlink()
635
485
.RE
636
486
.sp
642
492
.sp -1
643
493
.IP \(bu 2.3
644
494
.\}
645
 
\FClink\F[]
 
495
link
646
496
\- VFS link()
647
497
.RE
648
498
.sp
654
504
.sp -1
655
505
.IP \(bu 2.3
656
506
.\}
657
 
\FCmknod\F[]
 
507
mknod
658
508
\- VFS mknod()
659
509
.RE
660
510
.sp
666
516
.sp -1
667
517
.IP \(bu 2.3
668
518
.\}
669
 
\FCrealpath\F[]
 
519
realpath
670
520
\- VFS realpath()
671
521
.sp
672
522
.RE
681
531
.sp -1
682
532
.IP \(bu 2.3
683
533
.\}
684
 
\FCconf <smb\&.conf>\F[]
 
534
conf <smb\&.conf>
685
535
\- Load a different configuration file
686
536
.RE
687
537
.sp
693
543
.sp -1
694
544
.IP \(bu 2.3
695
545
.\}
696
 
\FChelp [<command>]\F[]
 
546
help [<command>]
697
547
\- Get list of commands or info about specified command
698
548
.RE
699
549
.sp
705
555
.sp -1
706
556
.IP \(bu 2.3
707
557
.\}
708
 
\FCdebuglevel <level>\F[]
 
558
debuglevel <level>
709
559
\- Set debug level
710
560
.RE
711
561
.sp
717
567
.sp -1
718
568
.IP \(bu 2.3
719
569
.\}
720
 
\FCfreemem\F[]
 
570
freemem
721
571
\- Free memory currently in use
722
572
.RE
723
573
.sp
729
579
.sp -1
730
580
.IP \(bu 2.3
731
581
.\}
732
 
\FCexit\F[]
 
582
exit
733
583
\- Exit vfstest
734
584
.SH "VERSION"
735
585
.PP