summaryrefslogtreecommitdiffstats
path: root/filesharing/advanced/nfs/hostprops.ui
blob: 32b5eb543aee1494b2ae3901803d6c2ed342610f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
<!DOCTYPE UI><UI version="3.2" stdsetdef="1">
<class>HostProps</class>
<widget class="TQWidget">
    <property name="name">
        <cstring>HostProps</cstring>
    </property>
    <property name="geometry">
        <rect>
            <x>0</x>
            <y>0</y>
            <width>333</width>
            <height>332</height>
        </rect>
    </property>
    <grid>
        <property name="name">
            <cstring>unnamed</cstring>
        </property>
        <property name="margin">
            <number>0</number>
        </property>
        <property name="spacing">
            <number>6</number>
        </property>
        <widget class="TQGroupBox" row="0" column="0" rowspan="1" colspan="2">
            <property name="name">
                <cstring>propertiesGrp</cstring>
            </property>
            <property name="sizePolicy">
                <sizepolicy>
                    <hsizetype>5</hsizetype>
                    <vsizetype>0</vsizetype>
                    <horstretch>0</horstretch>
                    <verstretch>0</verstretch>
                </sizepolicy>
            </property>
            <property name="tqminimumSize">
                <size>
                    <width>180</width>
                    <height>0</height>
                </size>
            </property>
            <property name="frameShape">
                <enum>Box</enum>
            </property>
            <property name="frameShadow">
                <enum>Sunken</enum>
            </property>
            <property name="title">
                <string>Host Properties</string>
            </property>
            <vbox>
                <property name="name">
                    <cstring>unnamed</cstring>
                </property>
                <property name="margin">
                    <number>11</number>
                </property>
                <property name="spacing">
                    <number>6</number>
                </property>
                <widget class="TQLabel">
                    <property name="name">
                        <cstring>TextLabel1</cstring>
                    </property>
                    <property name="text">
                        <string>&amp;Name/address:</string>
                    </property>
                    <property name="buddy" stdset="0">
                        <cstring>nameEdit</cstring>
                    </property>
                </widget>
                <widget class="TQLineEdit">
                    <property name="name">
                        <cstring>nameEdit</cstring>
                    </property>
                    <property name="frameShape">
                        <enum>LineEditPanel</enum>
                    </property>
                    <property name="frameShadow">
                        <enum>Sunken</enum>
                    </property>
                    <property name="whatsThis" stdset="0">
                        <string>&lt;b&gt;Name / Address field&lt;/b&gt;
&lt;p&gt;
Here you can enter the host name or address.&lt;br&gt;
The host may be specified in a number of ways:
&lt;p&gt;
&lt;i&gt;single host&lt;/i&gt;
&lt;p&gt;
 This is the most common format. You may specify a host either by an abbreviated name recognized by the resolver, the fully qualified domain name, or an IP address.
&lt;/p&gt;

&lt;i&gt;netgroups&lt;/i&gt;
&lt;p&gt;
 NIS netgroups may be given as @group. Only the host part of each netgroup members is consider in checking for membership. Empty host parts or those containing a single dash (-) are ignored.
&lt;/p&gt;

&lt;i&gt;wildcards&lt;/i&gt;
&lt;p&gt;
 Machine names may contain the wildcard characters * and ?. This can be used to make the exports file more compact; for instance, *.cs.foo.edu matches all hosts in the domain cs.foo.edu. However, these wildcard characters do not match the dots in a domain name, so the above pattern does not include hosts such as a.b.cs.foo.edu.
&lt;/p&gt;

&lt;i&gt;IP networks&lt;/i&gt;
&lt;p&gt;
 You can also export directories to all hosts on an IP (sub-) network simultaneously. This is done by specifying an IP address and nettqmask pair as address/nettqmask where the nettqmask can be specified in dotted-decimal format, or as a contiguous tqmask length (for example, either `/255.255.252.0' or `/22' appended to the network base address result in identical subnetworks with 10 bits of host).
&lt;/p&gt;</string>
                    </property>
                </widget>
                <widget class="TQCheckBox">
                    <property name="name">
                        <cstring>publicChk</cstring>
                    </property>
                    <property name="text">
                        <string>&amp;Public access</string>
                    </property>
                    <property name="whatsThis" stdset="0">
                        <string>&lt;b&gt;Public access&lt;/b&gt;
&lt;p&gt;
If you check this, the host address will be a single wildcard , which means public access.
This is just the same as if you would enter a wildcard in the address field.
&lt;/p&gt;</string>
                    </property>
                </widget>
            </vbox>
        </widget>
        <widget class="TQGroupBox" row="1" column="0">
            <property name="name">
                <cstring>GroupBox7</cstring>
            </property>
            <property name="sizePolicy">
                <sizepolicy>
                    <hsizetype>5</hsizetype>
                    <vsizetype>5</vsizetype>
                    <horstretch>0</horstretch>
                    <verstretch>0</verstretch>
                </sizepolicy>
            </property>
            <property name="title">
                <string>Options</string>
            </property>
            <grid>
                <property name="name">
                    <cstring>unnamed</cstring>
                </property>
                <property name="margin">
                    <number>11</number>
                </property>
                <property name="spacing">
                    <number>6</number>
                </property>
                <widget class="TQCheckBox" row="0" column="0">
                    <property name="name">
                        <cstring>readOnlyChk</cstring>
                    </property>
                    <property name="text">
                        <string>&amp;Writable</string>
                    </property>
                    <property name="whatsThis" stdset="0">
                        <string>&lt;b&gt;Writable&lt;/b&gt;
&lt;p&gt;
Allow both read and write requests on this NFS volume.
&lt;/p&gt;
&lt;p&gt;
The default is to disallow any request which changes the filesystem
&lt;/p&gt;</string>
                    </property>
                </widget>
                <widget class="TQCheckBox" row="1" column="0">
                    <property name="name">
                        <cstring>secureChk</cstring>
                    </property>
                    <property name="text">
                        <string>&amp;Insecure</string>
                    </property>
                    <property name="whatsThis" stdset="0">
                        <string>&lt;b&gt;Insecure&lt;/b&gt;
&lt;p&gt;
If this option is checked, it is not required that requests originate on an internet port less than IPPORT_RESERVED (1024).
&lt;/p&gt;
&lt;p&gt;
If unsure leave it unchecked.
&lt;/p&gt;</string>
                    </property>
                </widget>
                <widget class="TQCheckBox" row="2" column="0">
                    <property name="name">
                        <cstring>syncChk</cstring>
                    </property>
                    <property name="text">
                        <string>&amp;Sync</string>
                    </property>
                    <property name="whatsThis" stdset="0">
                        <string>&lt;b&gt;Sync&lt;/b&gt;
&lt;p&gt;
This option requests that all file writes be committed to disk before the write request completes. This is required for complete safety of data in the face of a server crash, but incurs a performance hit.
&lt;/p&gt;
&lt;p&gt;
The default is to allow the server to write the data out whenever it is ready.
&lt;/p&gt;</string>
                    </property>
                </widget>
                <widget class="TQCheckBox" row="3" column="0">
                    <property name="name">
                        <cstring>wdelayChk</cstring>
                    </property>
                    <property name="enabled">
                        <bool>false</bool>
                    </property>
                    <property name="text">
                        <string>No w&amp;delay</string>
                    </property>
                    <property name="whatsThis" stdset="0">
                        <string>&lt;b&gt;No wdelay&lt;/b&gt;
&lt;p&gt;
This option only has effect if sync is also set. The NFS server will normally delay committing a write request to disk slightly if it suspects that another related write request may be in progress or may arrive soon. This allows multiple write requests to be committed to disk with the one operation which can improve performance. If an NFS server received mainly small unrelated requests, this behavior could actually reduce performance, so no wdelay is available to turn it off. &lt;/p&gt;</string>
                    </property>
                </widget>
                <widget class="TQCheckBox" row="4" column="0">
                    <property name="name">
                        <cstring>hideChk</cstring>
                    </property>
                    <property name="text">
                        <string>No &amp;hide</string>
                    </property>
                    <property name="whatsThis" stdset="0">
                        <string>&lt;b&gt;No hide&lt;/b&gt;
&lt;p&gt;
This option is based on the option of the same name provided in IRIX NFS. Normally, if a server exports two filesystems one of which is mounted on the other, then the client will have to mount both filesystems explicitly to get access to them. If it just mounts the tqparent, it will see an empty directory at the place where the other filesystem is mounted. That filesystem is "hidden".
&lt;/p&gt;
&lt;p&gt;
Setting the nohide option on a filesystem causes it not to be hidden, and an appropriately authorized client will be able to move from the tqparent to that filesystem without noticing the change.
&lt;/p&gt;
&lt;p&gt;
However, some NFS clients do not cope well with this situation as, for instance, it is then possible for two files in the one aptqparent filesystem to have the same inode number.
&lt;/p&gt;
&lt;p&gt;
The nohide option is currently only effective on single host exports. It does not work reliably with netgroup, subnet, or wildcard exports.
&lt;/p&gt;
&lt;p&gt;
This option can be very useful in some situations, but it should be used with due care, and only after confirming that the client system copes with the situation effectively.
&lt;/p&gt;</string>
                    </property>
                </widget>
                <widget class="TQCheckBox" row="5" column="0">
                    <property name="name">
                        <cstring>subtreeChk</cstring>
                    </property>
                    <property name="text">
                        <string>No su&amp;btree check</string>
                    </property>
                    <property name="whatsThis" stdset="0">
                        <string>&lt;b&gt;No subtree check&lt;/b&gt;
&lt;p&gt;
This option disables subtree checking, which has mild security implications, but can improve reliability is some circumstances.
&lt;/p&gt;
&lt;p&gt;
If a subdirectory of a filesystem is exported, but the whole filesystem is not, then whenever a NFS request arrives, the server must check not only that the accessed file is in the appropriate filesystem (which is easy) but also that it is in the exported tree (which is harder). This check is called the subtree_check.
&lt;/p&gt;
&lt;p&gt;
In order to perform this check, the server must include some information about the location of the file in the "filehandle" that is given to the client. This can cause problems with accessing files that are renamed while a client has them open (though in many simple cases it will still work).
&lt;/p&gt;
&lt;p&gt;
subtree checking is also used to make sure that files inside directories to which only root has access can only be accessed if the filesystem is exported with no_root_squash (see below), even the file itself allows more general access.
&lt;/p&gt;
&lt;p&gt;
As a general guide, a home directory filesystem, which is normally exported at the root and may see lots of file renames, should be exported with subtree checking disabled. A filesystem which is mostly read-only, and at least does not see many file renames (e.g. /usr or /var) and for which subdirectories may be exported, should probably be exported with subtree checks enabled.
&lt;/p&gt;</string>
                    </property>
                </widget>
                <widget class="TQCheckBox" row="6" column="0">
                    <property name="name">
                        <cstring>secureLocksChk</cstring>
                    </property>
                    <property name="text">
                        <string>Insecure loc&amp;ks</string>
                    </property>
                    <property name="whatsThis" stdset="0">
                        <string>&lt;b&gt;Insecure locks&lt;/b&gt;
&lt;p&gt;
This option tells the NFS server not to require authentication of locking requests (i.e. requests which use the NLM protocol). Normally the NFS server will require a lock request to hold a credential for a user who has read access to the file. With this flag no access checks will be performed.
&lt;/p&gt;
&lt;p&gt;
Early NFS client implementations did not send credentials with lock requests, and many current NFS clients still exist which are based on the old implementations. Use this flag if you find that you can only lock files which are world readable.
&lt;/p&gt;</string>
                    </property>
                </widget>
            </grid>
        </widget>
        <widget class="TQGroupBox" row="1" column="1">
            <property name="name">
                <cstring>GroupBox3</cstring>
            </property>
            <property name="sizePolicy">
                <sizepolicy>
                    <hsizetype>5</hsizetype>
                    <vsizetype>7</vsizetype>
                    <horstretch>0</horstretch>
                    <verstretch>0</verstretch>
                </sizepolicy>
            </property>
            <property name="title">
                <string>User Mapping</string>
            </property>
            <property name="tqalignment">
                <set>AlignAuto</set>
            </property>
            <vbox>
                <property name="name">
                    <cstring>unnamed</cstring>
                </property>
                <property name="margin">
                    <number>11</number>
                </property>
                <property name="spacing">
                    <number>6</number>
                </property>
                <widget class="TQCheckBox">
                    <property name="name">
                        <cstring>allSquashChk</cstring>
                    </property>
                    <property name="text">
                        <string>All s&amp;quash</string>
                    </property>
                    <property name="whatsThis" stdset="0">
                        <string>&lt;b&gt;All squash&lt;/b&gt;
&lt;p&gt;
Map all uids and gids to the anonymous user. Useful for NFS-exported public FTP directories, news spool directories, etc. &lt;/p&gt;</string>
                    </property>
                </widget>
                <widget class="TQCheckBox">
                    <property name="name">
                        <cstring>rootSquashChk</cstring>
                    </property>
                    <property name="text">
                        <string>No &amp;root squash</string>
                    </property>
                    <property name="whatsThis" stdset="0">
                        <string>&lt;b&gt;No root squash&lt;/b&gt;
&lt;p&gt;
Turn of root squashing. This option is mainly useful for diskless clients.
&lt;/p&gt;
&lt;i&gt;root squashing&lt;/i&gt;
&lt;p&gt;
Map requests from uid/gid 0 to the anonymous uid/gid. Note that this does not apply to any other uids that might be equally sensitive, such as user bin.
&lt;/p&gt;</string>
                    </property>
                </widget>
                <widget class="TQLayoutWidget">
                    <property name="name">
                        <cstring>tqlayout15</cstring>
                    </property>
                    <hbox>
                        <property name="name">
                            <cstring>unnamed</cstring>
                        </property>
                        <widget class="TQLabel">
                            <property name="name">
                                <cstring>TextLabel1_2</cstring>
                            </property>
                            <property name="text">
                                <string>Anonym. &amp;UID:</string>
                            </property>
                            <property name="buddy" stdset="0">
                                <cstring>anonuidEdit</cstring>
                            </property>
                            <property name="whatsThis" stdset="0">
                                <string>&lt;b&gt;Anonym. UID/GID&lt;/b&gt; &lt;p&gt; These options explicitly set the uid and gid of the anonymous account. This option is primarily useful for PC/NFS clients, where you might want all requests appear to be from one user. &lt;/p&gt;</string>
                            </property>
                        </widget>
                        <widget class="TQLineEdit">
                            <property name="name">
                                <cstring>anonuidEdit</cstring>
                            </property>
                            <property name="sizePolicy">
                                <sizepolicy>
                                    <hsizetype>5</hsizetype>
                                    <vsizetype>0</vsizetype>
                                    <horstretch>100</horstretch>
                                    <verstretch>0</verstretch>
                                </sizepolicy>
                            </property>
                            <property name="tqminimumSize">
                                <size>
                                    <width>50</width>
                                    <height>0</height>
                                </size>
                            </property>
                            <property name="text">
                                <string>FF</string>
                            </property>
                        </widget>
                    </hbox>
                </widget>
                <widget class="TQLayoutWidget">
                    <property name="name">
                        <cstring>tqlayout16</cstring>
                    </property>
                    <hbox>
                        <property name="name">
                            <cstring>unnamed</cstring>
                        </property>
                        <widget class="TQLabel">
                            <property name="name">
                                <cstring>TextLabel2</cstring>
                            </property>
                            <property name="text">
                                <string>Anonym. &amp;GID:</string>
                            </property>
                            <property name="buddy" stdset="0">
                                <cstring>anongidEdit</cstring>
                            </property>
                            <property name="whatsThis" stdset="0">
                                <string>&lt;b&gt;Anonym. UID/GID&lt;/b&gt; &lt;p&gt; These options explicitly set the uid and gid of the anonymous account. This option is primarily useful for PC/NFS clients, where you might want all requests appear to be from one user. &lt;/p&gt;</string>
                            </property>
                        </widget>
                        <widget class="TQLineEdit">
                            <property name="name">
                                <cstring>anongidEdit</cstring>
                            </property>
                            <property name="sizePolicy">
                                <sizepolicy>
                                    <hsizetype>4</hsizetype>
                                    <vsizetype>0</vsizetype>
                                    <horstretch>0</horstretch>
                                    <verstretch>0</verstretch>
                                </sizepolicy>
                            </property>
                            <property name="tqminimumSize">
                                <size>
                                    <width>50</width>
                                    <height>0</height>
                                </size>
                            </property>
                            <property name="text">
                                <string>FF</string>
                            </property>
                        </widget>
                    </hbox>
                </widget>
            </vbox>
        </widget>
        <spacer row="2" column="0">
            <property name="name">
                <cstring>spacer3</cstring>
            </property>
            <property name="orientation">
                <enum>Vertical</enum>
            </property>
            <property name="sizeType">
                <enum>Expanding</enum>
            </property>
            <property name="tqsizeHint">
                <size>
                    <width>20</width>
                    <height>16</height>
                </size>
            </property>
        </spacer>
    </grid>
</widget>
<connections>
    <connection>
        <sender>publicChk</sender>
        <signal>toggled(bool)</signal>
        <receiver>nameEdit</receiver>
        <slot>setDisabled(bool)</slot>
    </connection>
    <connection>
        <sender>readOnlyChk</sender>
        <signal>clicked()</signal>
        <receiver>HostProps</receiver>
        <slot>setModified()</slot>
    </connection>
    <connection>
        <sender>secureChk</sender>
        <signal>clicked()</signal>
        <receiver>HostProps</receiver>
        <slot>setModified()</slot>
    </connection>
    <connection>
        <sender>syncChk</sender>
        <signal>clicked()</signal>
        <receiver>HostProps</receiver>
        <slot>setModified()</slot>
    </connection>
    <connection>
        <sender>wdelayChk</sender>
        <signal>pressed()</signal>
        <receiver>HostProps</receiver>
        <slot>setModified()</slot>
    </connection>
    <connection>
        <sender>subtreeChk</sender>
        <signal>pressed()</signal>
        <receiver>HostProps</receiver>
        <slot>setModified()</slot>
    </connection>
    <connection>
        <sender>secureLocksChk</sender>
        <signal>pressed()</signal>
        <receiver>HostProps</receiver>
        <slot>setModified()</slot>
    </connection>
    <connection>
        <sender>allSquashChk</sender>
        <signal>pressed()</signal>
        <receiver>HostProps</receiver>
        <slot>setModified()</slot>
    </connection>
    <connection>
        <sender>rootSquashChk</sender>
        <signal>pressed()</signal>
        <receiver>HostProps</receiver>
        <slot>setModified()</slot>
    </connection>
    <connection>
        <sender>nameEdit</sender>
        <signal>textChanged(const QString&amp;)</signal>
        <receiver>HostProps</receiver>
        <slot>setModified()</slot>
    </connection>
    <connection>
        <sender>hideChk</sender>
        <signal>clicked()</signal>
        <receiver>HostProps</receiver>
        <slot>setModified()</slot>
    </connection>
    <connection>
        <sender>syncChk</sender>
        <signal>toggled(bool)</signal>
        <receiver>wdelayChk</receiver>
        <slot>setEnabled(bool)</slot>
    </connection>
    <connection>
        <sender>anonuidEdit</sender>
        <signal>textChanged(const QString&amp;)</signal>
        <receiver>HostProps</receiver>
        <slot>setModified()</slot>
    </connection>
    <connection>
        <sender>anongidEdit</sender>
        <signal>textChanged(const QString&amp;)</signal>
        <receiver>HostProps</receiver>
        <slot>setModified()</slot>
    </connection>
</connections>
<includes>
    <include location="local" impldecl="in implementation">hostprops.ui.h</include>
</includes>
<Q_SIGNALS>
    <signal>modified()</signal>
</Q_SIGNALS>
<Q_SLOTS>
    <slot>setModified()</slot>
</Q_SLOTS>
<layoutdefaults spacing="6" margin="11"/>
</UI>