summaryrefslogtreecommitdiffstats
path: root/nfs_wizard/nfs.wiz
diff options
context:
space:
mode:
authorArnaud Desmons <adesmons@mandriva.com>2002-09-20 13:44:31 +0000
committerArnaud Desmons <adesmons@mandriva.com>2002-09-20 13:44:31 +0000
commit52e9e0a13a2c4ffdc01d0ffbbe04dc6fb553367a (patch)
tree2690d7cc2f610119502ece3bb0d7ee81235e3bfc /nfs_wizard/nfs.wiz
parent3deedd8cfcb55bde89687dca84b3130f1439f62b (diff)
downloaddrakwizard-52e9e0a13a2c4ffdc01d0ffbbe04dc6fb553367a.tar
drakwizard-52e9e0a13a2c4ffdc01d0ffbbe04dc6fb553367a.tar.gz
drakwizard-52e9e0a13a2c4ffdc01d0ffbbe04dc6fb553367a.tar.bz2
drakwizard-52e9e0a13a2c4ffdc01d0ffbbe04dc6fb553367a.tar.xz
drakwizard-52e9e0a13a2c4ffdc01d0ffbbe04dc6fb553367a.zip
added chooser for access restriction
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