summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorArnaud Desmons <adesmons@mandriva.com>2002-10-03 08:05:45 +0000
committerArnaud Desmons <adesmons@mandriva.com>2002-10-03 08:05:45 +0000
commit15826e683c5b3d3c112dde11bb1c31b129a36722 (patch)
treeb795305b60140be27c91566a1c045d74974a7073
parent66aa02265bc6bd614f9561b87e1c93e585a7e14b (diff)
downloaddrakwizard-15826e683c5b3d3c112dde11bb1c31b129a36722.tar
drakwizard-15826e683c5b3d3c112dde11bb1c31b129a36722.tar.gz
drakwizard-15826e683c5b3d3c112dde11bb1c31b129a36722.tar.bz2
drakwizard-15826e683c5b3d3c112dde11bb1c31b129a36722.tar.xz
drakwizard-15826e683c5b3d3c112dde11bb1c31b129a36722.zip
fixed typo
-rw-r--r--samba_wizard/samba.wiz105
1 files changed, 100 insertions, 5 deletions
diff --git a/samba_wizard/samba.wiz b/samba_wizard/samba.wiz
index 884ce946..6e8f4fa4 100644
--- a/samba_wizard/samba.wiz
+++ b/samba_wizard/samba.wiz
@@ -1,6 +1,5 @@
<?xml version="1.0"?>
-
<Wizard
name="general"
libScript="__WIZ_HOME__/common/scripts/functions.sh"
@@ -9,13 +8,14 @@
defaultImage="__WIZ_HOME__/samba_wizard/images/samba"
perlModule="__WIZ_HOME__/samba_wizard/scripts/Smbconf.pm"
rpm="samba-server"
+ summaryFunc="do_it"
>
<Variable
name="doFileSharing"
comment="true if we do file sharing, false otherwise"
shellVariable="wiz_do_file_sharing"
- >
+ >
</Variable>
<Variable
@@ -38,6 +38,13 @@
</Variable>
<Variable
+ name="shared_dir"
+ comment="The workgroup name"
+ shellVariable="wiz_dir"
+ >
+ </Variable>
+
+ <Variable
name="banner"
comment="The samba server banner name"
shellVariable="wiz_banner"
@@ -86,6 +93,13 @@
</Target>
<Target
+ targetName="ask_dir"
+ jumpIndex="1"
+ >
+ </Target>
+
+
+ <Target
targetName="ask_workgroup"
jumpIndex="0"
>
@@ -108,7 +122,7 @@
variableName="doFileSharing"
forceEnabled="true"
forceDisabled="false"
- helpText="Enable /home/samba/public sharing area"
+ helpText="Enable file sharing area"
>
</Boolean>
@@ -125,7 +139,7 @@
variableName="doHomes"
forceEnabled="true"
forceDisabled="false"
- helpText="Make homes directory availables for theirs owners"
+ helpText="Make home directories available for their owners"
>
</Boolean>
@@ -135,7 +149,7 @@
<Page
name="warn_smbpasswd"
comment="Warning"
- jumpPage="ask_workgroup"
+ func="ask_dir"
nextButtonText="OK"
executionLevel="NORMAL"
nextFinish="false"
@@ -143,12 +157,66 @@
canCancel="true"
>
+ <Target
+ targetName="ask_dir"
+ jumpIndex="1"
+ >
+ </Target>
+
+ <Target
+ targetName="ask_workgroup"
+ jumpIndex="0"
+ >
+ </Target>
+
<Info
helpText="You have selected to allow user access their home directories via samba but you/they must use smbpasswd to set a password."
>
</Info>
</Page>
+ <Page
+ helpURL="file:/usr/share/doc/mandrake/${LANG}/ref.html/wiz-samba.html"
+ name="ask_dir"
+ func="check_dir"
+ executionLevel="NORMAL"
+ nextFinish="false"
+ canBack="true"
+ canCancel="true"
+ >
+
+ <Target
+ targetName="error_in_dir"
+ jumpIndex="1"
+ >
+ </Target>
+
+ <Target
+ targetName="ask_workgroup"
+ jumpIndex="10"
+ >
+ </Target>
+
+ <Info
+ helpText="Shared dir:"
+ >
+ </Info>
+
+
+ <Info
+ helpText="Type the path of the directory you want being shared."
+ >
+ </Info>
+
+ <Freetext
+ name="freetext_dir"
+ variableName="shared_dir"
+ helpText="Shared dir:"
+ editable="true"
+ fillfunc="get_dir"
+ >
+ </Freetext>
+ </Page>
<Page
helpURL="file:/usr/share/doc/mandrake/${LANG}/ref.html/wiz-samba.html"
@@ -211,6 +279,24 @@
</Info>
</Page>
+
+ <Page
+ helpURL="file:/usr/share/doc/mandrake/${LANG}/ref.html/wiz-samba.html"
+ name="error_in_dir"
+ jumpPage="ask_dir"
+ nextButtonText="Fix it"
+ executionLevel="NORMAL"
+ nextFinish="false"
+ canBack="true"
+ canCancel="true"
+ >
+
+ <Info
+ helpText="The path you entered does not exist."
+ >
+ </Info>
+ </Page>
+
<Page
helpURL="file:/usr/share/doc/mandrake/${LANG}/ref.html/wiz-samba.html"
name="ask_banner"
@@ -316,6 +402,15 @@ needed to configure Samba."
</Freetext>
<Freetext
+ name="freetext"
+ variableName="shared_dir"
+ helpText="Shared dir:"
+ editable="false"
+ >
+ </Freetext>
+
+
+ <Freetext
name="freetext1"
variableName="doPrinterSharing"
helpText="Print Server:"