summaryrefslogtreecommitdiffstats
path: root/nfs_wizard/nfs.wiz
diff options
context:
space:
mode:
Diffstat (limited to 'nfs_wizard/nfs.wiz')
-rw-r--r--nfs_wizard/nfs.wiz117
1 files changed, 92 insertions, 25 deletions
diff --git a/nfs_wizard/nfs.wiz b/nfs_wizard/nfs.wiz
index ffe7c8c6..4373259c 100644
--- a/nfs_wizard/nfs.wiz
+++ b/nfs_wizard/nfs.wiz
@@ -18,7 +18,18 @@
persistent="false"
>
</Variable>
-
+ <Variable
+ name="wiz_nfs_level"
+ comment="The proxy access control level"
+ shellVariable="wiz_nfs_level"
+ defaultValue="2"
+ >
+ </Variable>
+ <Variable
+ name="wiz_netmask"
+ shellVariable="wiz_netmask"
+ >
+ </Variable>
<Page
helpURL="file:/usr/share/doc/mandrake/${LANG}/ref.html/wiz-nfs.html"
name="welcome"
@@ -64,8 +75,7 @@
<Page
helpURL="file:/usr/share/doc/mandrake/${LANG}/ref.html/wiz-nfs.html"
name="nfs connections"
- func="do_it"
- jumpPage="congratulations"
+ jumpPage="ask_level"
executionLevel="NORMAL"
nextFinish="false"
canBack="true"
@@ -110,43 +120,100 @@
<Freetext
variableName="varwiz_nfs_dir"
- alignement="Fill"
helpText="Directory:"
guiType="textfield"
editable="true"
- fontName="Default"
- fontStyle="bold"
- fontSize="14"
- proportional="2"
- ratio="30"
- length="40"
>
</Freetext>
+ </Page>
+ <Page
+ name="ask_level"
+ helpURL="file:/usr/share/doc/mandrake/${LANG}/ref.html/wiz-proxy.html"
+ func="chooser"
+ executionLevel="NORMAL"
+ nextFinish="false"
+ canBack="true"
+ canCancel="true"
+ >
+
+ <Target
+ targetName="congratulations"
+ jumpIndex="1"
+ >
+ </Target>
+
+ <Target
+ targetName="shownet"
+ jumpIndex="2"
+ >
+ </Target>
<Info
- name="info31"
- alignement="Center"
- guiType="label"
- fontName="Default"
- fontStyle="plain"
- fontSize="11"
+ helpText="Access Control"
>
</Info>
- <TDline
- name="line"
+
+ <Info
+ helpText="NFS can be restricted to a certain ip class"
>
- </TDline>
+ </Info>
<Info
- name="info33"
- alignement="Center"
- guiType="label"
- fontName="Default"
- fontStyle="plain"
- fontSize="11"
+ helpText="Choose the level that suits your needs. If you don't know,the Local Network level is usually the most appropriate. Beware that the All level may be not secure."
>
</Info>
+
+
+ <Chooser
+ name="chooser1"
+ variableName="wiz_nfs_level"
+ helpFontName="Default"
+ >
+
+ <Option
+ value="1"
+ description="All - No access restriction"
+ >
+ </Option>
+
+ <Option
+ value="2"
+ description="Local Network - access for local network (recommended)"
+ >
+ </Option>
+ </Chooser>
+ </Page>
+ <Page
+ name="shownet"
+ func="do_it"
+ helpURL="file:/usr/share/doc/mandrake/${LANG}/ref.html/wiz-proxy.html"
+ jumpPage="congratulations"
+ executionLevel="NORMAL"
+ nextFinish="false"
+ canBack="true"
+ canCancel="true"
+ >
+
+ <Info
+ helpText="Grant access on local network"
+ >
+ </Info>
+
+
+ <Info
+ helpText="Access will be allowed for hosts on the network. Here is the information found about your current local network, you can modify it if needed."
+ >
+ </Info>
+ <Freetext
+ name="f_wiz_squid_mynetw"
+ fillfunc="network_mask"
+ variableName="wiz_netmask"
+ helpText="Authorised network:"
+ editable="true"
+ >
+ </Freetext>
+
</Page>
<Page