summaryrefslogtreecommitdiffstats
path: root/samba_wizard/samba.wiz
diff options
context:
space:
mode:
authorArnaud Desmons <adesmons@mandriva.com>2002-07-26 12:18:40 +0000
committerArnaud Desmons <adesmons@mandriva.com>2002-07-26 12:18:40 +0000
commit2b0ceb8ee52cebbe77d2b3a67f93cc60f4e0c007 (patch)
tree942e73fa15f38452091288446100b4ba5fc8e514 /samba_wizard/samba.wiz
parent339c34215d9c46f6ebd1bbf524e73af341214610 (diff)
downloaddrakwizard-2b0ceb8ee52cebbe77d2b3a67f93cc60f4e0c007.tar
drakwizard-2b0ceb8ee52cebbe77d2b3a67f93cc60f4e0c007.tar.gz
drakwizard-2b0ceb8ee52cebbe77d2b3a67f93cc60f4e0c007.tar.bz2
drakwizard-2b0ceb8ee52cebbe77d2b3a67f93cc60f4e0c007.tar.xz
drakwizard-2b0ceb8ee52cebbe77d2b3a67f93cc60f4e0c007.zip
xml wizard
Diffstat (limited to 'samba_wizard/samba.wiz')
-rw-r--r--samba_wizard/samba.wiz895
1 files changed, 895 insertions, 0 deletions
diff --git a/samba_wizard/samba.wiz b/samba_wizard/samba.wiz
new file mode 100644
index 00000000..f38c8b22
--- /dev/null
+++ b/samba_wizard/samba.wiz
@@ -0,0 +1,895 @@
+<?xml version="1.0"?>
+
+
+<Wizard
+ name="general"
+ libScript="__WIZ_HOME__/common/scripts/functions.sh"
+ wizardTitle="wizdrake: Samba wizard"
+ imagePosition="top"
+ defaultImage="__WIZ_HOME__/images/samba.jpg"
+ height="400"
+ width="525"
+ hasDb="true"
+ dbPositions="5"
+ dbFilename="/var/log/wizards/samba.wdb"
+ referenceLength="425"
+ referenceHeight="13"
+ perlModule="__WIZ_HOME__/samba_wizard/scripts/Smbconf.pm"
+>
+
+ <Variable
+ name="doFileSharing"
+ comment="true if we do file sharing, false otherwise"
+ shellVariable="wiz_do_file_sharing"
+ persistent="true"
+ dbPosition="0"
+ key="false"
+ >
+ </Variable>
+
+ <Variable
+ name="doPrinterSharing"
+ comment="true if samba do printer sharing"
+ shellVariable="wiz_do_printer_sharing"
+ persistent="true"
+ dbPosition="1"
+ key="false"
+ >
+ </Variable>
+
+ <Variable
+ name="workgroup"
+ comment="The workgroup name"
+ shellVariable="wiz_workgroup"
+ persistent="true"
+ dbPosition="2"
+ key="false"
+ >
+ </Variable>
+
+ <Variable
+ name="banner"
+ comment="The samba server banner name"
+ shellVariable="wiz_banner"
+ persistent="true"
+ dbPosition="3"
+ key="false"
+ >
+ </Variable>
+
+ <Page
+ helpURL="file:/usr/share/doc/mandrake/${LANG}/ref.html/wiz-samba.html"
+ name="Welcome"
+ jumpScript="__WIZ_HOME__/common/scripts/check.sh root wiz_ip_net"
+ executionLevel="NORMAL"
+ nextFinish="false"
+ canBack="true"
+ canCancel="true"
+ >
+
+ <Target
+ targetName="ask_services"
+ jumpIndex="0"
+ >
+ </Target>
+
+ <Target
+ targetName="error_need_root"
+ jumpIndex="1"
+ >
+ </Target>
+
+ <Target
+ targetName="error_need_net"
+ jumpIndex="2"
+ >
+ </Target>
+
+ <Info
+ name="welcome1"
+ alignement="Center"
+ helpText="Samba Configuration Wizard"
+ guiType="label"
+ fontName="Default"
+ fontStyle="bold"
+ fontSize="14"
+ >
+ </Info>
+
+ <Info
+ name="info7"
+ alignement="Center"
+ guiType="label"
+ fontName="Default"
+ fontStyle="plain"
+ fontSize="11"
+ >
+ </Info>
+
+ <Info
+ name="info1"
+ alignement="Center"
+ helpText="Samba allows your server to behave as a file and print server"
+ guiType="label"
+ fontName="Default"
+ fontStyle="plain"
+ fontSize="11"
+ >
+ </Info>
+
+ <Info
+ name="info"
+ alignement="Center"
+ helpText="for workstations running non-Linux systems."
+ guiType="label"
+ fontName="Default"
+ fontStyle="plain"
+ fontSize="11"
+ >
+ </Info>
+
+ <Info
+ name="info11"
+ alignement="Center"
+ helpText="This wizard will help you configuring"
+ guiType="label"
+ fontName="Default"
+ fontStyle="plain"
+ fontSize="11"
+ >
+ </Info>
+
+ <Info
+ name="info2"
+ alignement="Center"
+ helpText="the Samba services of your server."
+ guiType="label"
+ fontName="Default"
+ fontStyle="plain"
+ fontSize="11"
+ >
+ </Info>
+ </Page>
+
+ <Page
+ helpURL="file:/usr/share/doc/mandrake/${LANG}/ref.html/wiz-samba.html"
+ name="ask_services"
+ jumpScript="__WIZ_HOME__/samba_wizard/scripts/check_services.sh"
+ executionLevel="NORMAL"
+ nextFinish="false"
+ canBack="true"
+ canCancel="true"
+ >
+
+ <Target
+ targetName="error_in_services"
+ jumpIndex="1"
+ >
+ </Target>
+
+ <Target
+ targetName="ask_workgroup"
+ jumpIndex="10"
+ >
+ </Target>
+
+ <Info
+ name="servicesLabel"
+ alignement="Center"
+ helpText="Enabled Samba Services"
+ guiType="label"
+ fontName="Default"
+ fontStyle="bold"
+ fontSize="14"
+ >
+ </Info>
+
+ <Info
+ name="info8"
+ alignement="Center"
+ guiType="label"
+ fontName="Default"
+ fontStyle="plain"
+ fontSize="11"
+ >
+ </Info>
+
+ <Info
+ name="info17"
+ alignement="East"
+ helpText="Samba can provide a common file sharing area to your Windows"
+ guiType="label"
+ fontName="Default"
+ fontStyle="plain"
+ fontSize="11"
+ >
+ </Info>
+
+ <Info
+ name="info18"
+ alignement="East"
+ helpText="workstation, and can also provide printer sharing for the printers"
+ guiType="label"
+ fontName="Default"
+ fontStyle="plain"
+ fontSize="11"
+ >
+ </Info>
+
+ <Info
+ name="info19"
+ alignement="East"
+ helpText="connected to your server."
+ guiType="label"
+ fontName="Default"
+ fontStyle="plain"
+ fontSize="11"
+ >
+ </Info>
+
+ <Info
+ name="info20"
+ alignement="Center"
+ guiType="label"
+ fontName="Default"
+ fontStyle="plain"
+ fontSize="11"
+ >
+ </Info>
+
+ <Boolean
+ name="fileSharingBoolean"
+ variableName="doFileSharing"
+ forceEnabled="true"
+ forceDisabled="false"
+ helpText="Enable Common File Sharing Area"
+ guiType="chechbox"
+ fontName="Default"
+ fontStyle="bold"
+ fontSize="11"
+ proportional="2"
+ ratio="30"
+ >
+ </Boolean>
+
+ <Boolean
+ name="printerSharingBoolean"
+ variableName="doPrinterSharing"
+ forceEnabled="true"
+ forceDisabled="false"
+ helpText="Enable Server Printer Sharing"
+ guiType="chechbox"
+ fontName="Default"
+ fontStyle="bold"
+ fontSize="11"
+ proportional="2"
+ ratio="30"
+ >
+ </Boolean>
+ </Page>
+
+ <Page
+ helpURL="file:/usr/share/doc/mandrake/${LANG}/ref.html/wiz-samba.html"
+ name="error_in_services"
+ comment="Error message for an incorrect hostname"
+ jumpPage="ask_hostname"
+ nextButtonText="OK"
+ executionLevel="NORMAL"
+ nextFinish="true"
+ canBack="true"
+ canCancel="true"
+ >
+
+ <Info
+ name="info3"
+ alignement="Center"
+ helpText="No Samba service has been requested"
+ guiType="label"
+ fontName="Default"
+ fontStyle="plain"
+ fontSize="11"
+ >
+ </Info>
+
+ <Info
+ name="info12"
+ alignement="Center"
+ helpText="Press Quit to exit or Back to correct your choice"
+ guiType="label"
+ fontName="Default"
+ fontStyle="plain"
+ fontSize="11"
+ >
+ </Info>
+ </Page>
+
+ <Page
+ helpURL="file:/usr/share/doc/mandrake/${LANG}/ref.html/wiz-samba.html"
+ name="ask_workgroup"
+ jumpScript="__WIZ_HOME__/samba_wizard/scripts/check_workgroup.sh"
+ executionLevel="NORMAL"
+ nextFinish="false"
+ canBack="true"
+ canCancel="true"
+ >
+
+ <Target
+ targetName="error_in_workgroup"
+ jumpIndex="1"
+ >
+ </Target>
+
+ <Target
+ targetName="ask_banner"
+ jumpIndex="10"
+ >
+ </Target>
+
+ <Info
+ name="info4"
+ alignement="Center"
+ helpText="Workgroup"
+ guiType="label"
+ fontName="Default"
+ fontStyle="bold"
+ fontSize="14"
+ >
+ </Info>
+
+ <Info
+ name="info10"
+ alignement="Center"
+ guiType="label"
+ fontName="Default"
+ fontStyle="plain"
+ fontSize="11"
+ >
+ </Info>
+
+ <Info
+ name="info21"
+ alignement="East"
+ helpText="Samba need to know the Windows Workgroup it will serve."
+ guiType="label"
+ fontName="Default"
+ fontStyle="plain"
+ fontSize="11"
+ >
+ </Info>
+
+ <Info
+ name="info22"
+ alignement="Center"
+ guiType="label"
+ fontName="Default"
+ fontStyle="plain"
+ fontSize="11"
+ >
+ </Info>
+
+ <Freetext
+ name="freetext2"
+ variableName="workgroup"
+ alignement="Fill"
+ helpText="Workgroup:"
+ guiType="textfield"
+ editable="true"
+ fontName="Default"
+ fontStyle="bold"
+ fontSize="11"
+ proportional="2"
+ ratio="30"
+ length="40"
+ >
+ </Freetext>
+ </Page>
+
+ <Page
+ helpURL="file:/usr/share/doc/mandrake/${LANG}/ref.html/wiz-samba.html"
+ name="error_in_workgroup"
+ jumpPage="ask_workgroup"
+ nextButtonText="Fix it"
+ executionLevel="NORMAL"
+ nextFinish="false"
+ canBack="true"
+ canCancel="true"
+ >
+
+ <Info
+ name="info5"
+ alignement="Center"
+ helpText="The Workgroup is wrong"
+ guiType="label"
+ fontName="Default"
+ fontStyle="bold"
+ fontSize="14"
+ >
+ </Info>
+ </Page>
+
+ <Page
+ helpURL="file:/usr/share/doc/mandrake/${LANG}/ref.html/wiz-samba.html"
+ name="ask_banner"
+ jumpScript="__WIZ_HOME__/samba_wizard/scripts/check_banner.sh"
+ executionLevel="NORMAL"
+ nextFinish="false"
+ canBack="true"
+ canCancel="true"
+ >
+
+ <Target
+ targetName="error_in_banner"
+ jumpIndex="1"
+ >
+ </Target>
+
+ <Target
+ targetName="doit"
+ jumpIndex="10"
+ >
+ </Target>
+
+ <Info
+ name="bannerLabel"
+ alignement="Center"
+ helpText="Server Banner."
+ guiType="label"
+ fontName="Default"
+ fontStyle="bold"
+ fontSize="14"
+ >
+ </Info>
+
+ <Info
+ name="info9"
+ alignement="Center"
+ guiType="label"
+ fontName="Default"
+ fontStyle="plain"
+ fontSize="11"
+ >
+ </Info>
+
+ <Info
+ name="info23"
+ alignement="East"
+ helpText="The banner is the way this server will be described in the Windows"
+ guiType="label"
+ fontName="Default"
+ fontStyle="plain"
+ fontSize="11"
+ >
+ </Info>
+
+ <Info
+ name="info24"
+ alignement="East"
+ helpText="workstations."
+ guiType="label"
+ fontName="Default"
+ fontStyle="plain"
+ fontSize="11"
+ >
+ </Info>
+
+ <Info
+ name="info25"
+ alignement="Center"
+ guiType="label"
+ fontName="Default"
+ fontStyle="plain"
+ fontSize="11"
+ >
+ </Info>
+
+ <Freetext
+ name="serverBannerInput"
+ variableName="banner"
+ alignement="Fill"
+ helpText="Banner:"
+ guiType="textfield"
+ editable="true"
+ fontName="Default"
+ fontStyle="bold"
+ fontSize="11"
+ proportional="2"
+ ratio="30"
+ length="40"
+ >
+ </Freetext>
+ </Page>
+
+ <Page
+ helpURL="file:/usr/share/doc/mandrake/${LANG}/ref.html/wiz-samba.html"
+ name="error_in_banner"
+ jumpPage="ask_banner"
+ nextButtonText="Fix It"
+ executionLevel="NORMAL"
+ nextFinish="false"
+ canBack="true"
+ canCancel="true"
+ >
+
+ <Info
+ name="serverErrorMessage"
+ alignement="Center"
+ helpText="The Server Banner is incorrect"
+ guiType="label"
+ fontName="Default"
+ fontStyle="bold"
+ fontSize="14"
+ >
+ </Info>
+ </Page>
+
+ <Page
+ helpURL="file:/usr/share/doc/mandrake/${LANG}/ref.html/wiz-samba.html"
+ name="doit"
+ func="finish"
+ nextButtonText="Configure"
+ executionLevel="NORMAL"
+ nextFinish="false"
+ canBack="true"
+ canCancel="true"
+ >
+
+ <Target
+ targetName="catastrophic_exit"
+ jumpIndex="2"
+ >
+ </Target>
+
+ <Target
+ targetName="done"
+ jumpIndex="1"
+ >
+ </Target>
+
+ <Info
+ name="info13"
+ alignement="Center"
+ helpText="Configuring Samba"
+ guiType="label"
+ fontName="Default"
+ fontStyle="bold"
+ fontSize="14"
+ >
+ </Info>
+
+ <Info
+ name="info14"
+ alignement="Center"
+ guiType="label"
+ fontName="Default"
+ fontStyle="plain"
+ fontSize="11"
+ >
+ </Info>
+
+ <Info
+ name="doneLabel"
+ alignement="East"
+ helpText="The wizard collected the following parameter"
+ guiType="label"
+ fontName="Default"
+ fontStyle="plain"
+ fontSize="11"
+ >
+ </Info>
+
+ <Info
+ name="info27"
+ alignement="East"
+ helpText="needed to configure Samba."
+ guiType="label"
+ fontName="Default"
+ fontStyle="plain"
+ fontSize="11"
+ >
+ </Info>
+
+ <Info
+ name="info26"
+ alignement="Center"
+ guiType="label"
+ fontName="Default"
+ fontStyle="plain"
+ fontSize="11"
+ >
+ </Info>
+
+ <Freetext
+ name="freetext"
+ alignement="Fill"
+ fillScript="[ \q$wiz_do_file_sharing\q == \qtrue\q ] \a\a echo \qenabled\q || echo \qdisabled\q"
+ helpText="File Sharing:"
+ guiType="textfield"
+ editable="false"
+ fontName="Default"
+ fontStyle="bold"
+ fontSize="11"
+ proportional="2"
+ ratio="30"
+ length="40"
+ >
+ </Freetext>
+
+ <Freetext
+ name="freetext1"
+ variableName="doPrinterSharing"
+ alignement="Fill"
+ fillScript="[ \q$wiz_do_printer_sharing\q == \qtrue\q ] \a\a echo \qenabled\q || echo \qdisabled\q"
+ helpText="Print Server:"
+ guiType="textfield"
+ editable="false"
+ fontName="Default"
+ fontStyle="bold"
+ fontSize="11"
+ proportional="2"
+ ratio="30"
+ length="40"
+ >
+ </Freetext>
+
+ <Freetext
+ name="freetext3"
+ variableName="workgroup"
+ alignement="Fill"
+ helpText="Workgroup:"
+ guiType="textfield"
+ editable="false"
+ fontName="Default"
+ fontStyle="bold"
+ fontSize="11"
+ proportional="2"
+ ratio="30"
+ length="40"
+ >
+ </Freetext>
+
+ <Freetext
+ name="freetext4"
+ variableName="banner"
+ alignement="Fill"
+ helpText="Server Banner:"
+ guiType="textfield"
+ editable="false"
+ fontName="Default"
+ fontStyle="bold"
+ fontSize="11"
+ proportional="2"
+ ratio="30"
+ length="40"
+ >
+ </Freetext>
+
+ <Info
+ name="info28"
+ alignement="Center"
+ guiType="label"
+ fontName="Default"
+ fontStyle="plain"
+ fontSize="11"
+ >
+ </Info>
+
+ <Info
+ name="info29"
+ alignement="East"
+ helpText="To accept these values, and configure your server, click on"
+ guiType="label"
+ fontName="Default"
+ fontStyle="plain"
+ fontSize="11"
+ >
+ </Info>
+
+ <Info
+ name="cancelLabel"
+ alignement="East"
+ helpText="\qConfigure\q or use the Back button to correct them."
+ guiType="label"
+ fontName="Default"
+ fontStyle="plain"
+ fontSize="11"
+ >
+ </Info>
+ </Page>
+
+ <Page
+ helpURL="file:/usr/share/doc/mandrake/${LANG}/ref.html/wiz-samba.html"
+ name="done"
+ nextButtonText="Quit"
+ executionLevel="NORMAL"
+ nextFinish="true"
+ canBack="false"
+ canCancel="false"
+ >
+
+ <Info
+ name="info15"
+ alignement="Center"
+ helpText="Congratulations"
+ guiType="label"
+ fontName="Default"
+ fontStyle="bold"
+ fontSize="14"
+ >
+ </Info>
+
+ <Info
+ name="info16"
+ alignement="Center"
+ guiType="label"
+ fontName="Default"
+ fontStyle="plain"
+ fontSize="11"
+ >
+ </Info>
+
+ <Info
+ name="successLabel"
+ alignement="Center"
+ helpText="The wizard successfully configured"
+ guiType="label"
+ fontName="Default"
+ fontStyle="plain"
+ fontSize="11"
+ >
+ </Info>
+
+ <Info
+ name="info6"
+ alignement="Center"
+ helpText="your Samba server."
+ guiType="label"
+ fontName="Default"
+ fontStyle="plain"
+ fontSize="11"
+ >
+ </Info>
+ </Page>
+
+ <Page
+ helpURL="file:/usr/share/doc/mandrake/${LANG}/ref.html/wiz-samba.html"
+ name="catastrophic_exit"
+ comment="Exit in case of catastrophhic system error"
+ nextButtonText="Exit"
+ executionLevel="NORMAL"
+ nextFinish="true"
+ canBack="false"
+ canCancel="false"
+ >
+
+ <Info
+ name="catastrophe_text"
+ alignement="Center"
+ helpText="Some terrible happened"
+ guiType="label"
+ fontName="ZapfDingbats"
+ fontStyle="italic"
+ fontSize="14"
+ >
+ </Info>
+ </Page>
+
+ <Page
+ helpURL="file:/usr/share/doc/mandrake/${LANG}/ref.html/wiz-samba.html"
+ name="error_need_root"
+ comment="Error: this wizard must run as root."
+ nextButtonText="OK"
+ executionLevel="NORMAL"
+ nextFinish="true"
+ canBack="false"
+ canCancel="false"
+ >
+
+ <Info
+ name="root_error_message"
+ alignement="Center"
+ helpText="This Wizard need to run as root"
+ guiType="label"
+ fontName="Default"
+ fontStyle="bold"
+ fontSize="14"
+ >
+ </Info>
+ </Page>
+
+ <Page
+ helpURL="file:/usr/share/doc/mandrake/${LANG}/ref.html/wiz-samba.html"
+ name="error_need_net"
+ subWizard="__WIZ_HOME__/server_wizard/server.wiz"
+ executionLevel="NORMAL"
+ nextFinish="false"
+ canBack="false"
+ canCancel="true"
+ >
+
+ <Info
+ name="errorLabel"
+ alignement="Center"
+ helpText="Network not configured yet"
+ guiType="label"
+ fontName="Default"
+ fontStyle="bold"
+ fontSize="14"
+ >
+ </Info>
+
+ <Info
+ name="info23"
+ alignement="Center"
+ guiType="label"
+ fontName="Default"
+ fontStyle="bold"
+ fontSize="14"
+ >
+ </Info>
+
+ <Info
+ name="info22"
+ alignement="Center"
+ helpText="You have to configure the basic network parameters before launch this wizard."
+ guiType="label"
+ fontName="Default"
+ fontStyle="plain"
+ fontSize="11"
+ >
+ </Info>
+
+ <Info
+ name="info25"
+ alignement="Center"
+ helpText="Press next to configure these parameters now, or Cancel to exit this wizard."
+ guiType="label"
+ fontName="Default"
+ fontStyle="plain"
+ fontSize="11"
+ >
+ </Info>
+
+ <Info
+ name="info26"
+ alignement="Center"
+ guiType="label"
+ fontName="Default"
+ fontStyle="plain"
+ fontSize="11"
+ >
+ </Info>
+
+ <Info
+ name="info24"
+ alignement="Center"
+ helpText="If you choose to configure now, you will automatically continue"
+ guiType="label"
+ fontName="Default"
+ fontStyle="plain"
+ fontSize="11"
+ >
+ </Info>
+
+ <Info
+ name="info27"
+ alignement="Center"
+ helpText="with the SAMBA configuration"
+ guiType="label"
+ fontName="Default"
+ fontStyle="plain"
+ fontSize="11"
+ >
+ </Info>
+ </Page>
+
+ <Page
+ helpURL="file:/usr/share/doc/mandrake/${LANG}/ref.html/wiz-samba.html"
+ name="server launcher"
+ jumpPage="ask_services"
+ executionLevel="DEBUG"
+ nextFinish="false"
+ canBack="true"
+ canCancel="true"
+ >
+ </Page>
+</Wizard>