diff options
Diffstat (limited to 'samba_wizard')
-rw-r--r-- | samba_wizard/samba.wiz | 333 |
1 files changed, 1 insertions, 332 deletions
diff --git a/samba_wizard/samba.wiz b/samba_wizard/samba.wiz index 2e4ca149..f490b5dc 100644 --- a/samba_wizard/samba.wiz +++ b/samba_wizard/samba.wiz @@ -6,14 +6,7 @@ libScript="__WIZ_HOME__/common/scripts/functions.sh" wizardTitle="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" + defaultImage="__WIZ_HOME__/samba_wizard/images/samba" perlModule="__WIZ_HOME__/samba_wizard/scripts/Smbconf.pm" rpm="samba-server" > @@ -22,9 +15,6 @@ name="doFileSharing" comment="true if we do file sharing, false otherwise" shellVariable="wiz_do_file_sharing" - persistent="true" - dbPosition="0" - key="false" > </Variable> @@ -32,9 +22,6 @@ name="doPrinterSharing" comment="true if samba do printer sharing" shellVariable="wiz_do_printer_sharing" - persistent="true" - dbPosition="1" - key="false" > </Variable> @@ -42,9 +29,6 @@ name="workgroup" comment="The workgroup name" shellVariable="wiz_workgroup" - persistent="true" - dbPosition="2" - key="false" > </Variable> @@ -52,9 +36,6 @@ name="banner" comment="The samba server banner name" shellVariable="wiz_banner" - persistent="true" - dbPosition="3" - key="false" > </Variable> @@ -87,45 +68,18 @@ </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 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 the Samba services of your server." - guiType="label" - fontName="Default" - fontStyle="plain" - fontSize="11" > </Info> </Page> @@ -153,46 +107,16 @@ </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 workstation, and can also provide printer sharing for the printers 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" @@ -200,12 +124,6 @@ forceEnabled="true" forceDisabled="false" helpText="Enable Common File Sharing Area" - guiType="chechbox" - fontName="Default" - fontStyle="bold" - fontSize="11" - proportional="2" - ratio="30" > </Boolean> @@ -215,12 +133,6 @@ forceEnabled="true" forceDisabled="false" helpText="Enable Server Printer Sharing" - guiType="chechbox" - fontName="Default" - fontStyle="bold" - fontSize="11" - proportional="2" - ratio="30" > </Boolean> </Page> @@ -238,24 +150,12 @@ > <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> @@ -283,60 +183,22 @@ </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> @@ -353,13 +215,7 @@ > <Info - name="info5" - alignement="Center" helpText="The Workgroup is wrong" - guiType="label" - fontName="Default" - fontStyle="bold" - fontSize="14" > </Info> </Page> @@ -387,60 +243,22 @@ </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 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> @@ -457,13 +275,7 @@ > <Info - name="serverErrorMessage" - alignement="Center" helpText="The Server Banner is incorrect" - guiType="label" - fontName="Default" - fontStyle="bold" - fontSize="14" > </Info> </Page> @@ -492,120 +304,52 @@ </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 parameters needed to configure Samba." - guiType="label" - fontName="Default" - fontStyle="plain" - fontSize="11" > </Info> <Freetext name="freetext" variableName="doFileSharing" - alignement="Fill" 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" 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 \qConfigure\q or use the Back button to correct them." - guiType="label" - fontName="Default" - fontStyle="plain" - fontSize="11" > </Info> </Page> @@ -621,34 +365,13 @@ needed to configure Samba." > <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 your Samba server." - guiType="label" - fontName="Default" - fontStyle="plain" - fontSize="11" > </Info> </Page> @@ -665,13 +388,7 @@ needed to configure Samba." > <Info - name="catastrophe_text" - alignement="Center" helpText="Something terrible happened" - guiType="label" - fontName="ZapfDingbats" - fontStyle="italic" - fontSize="14" > </Info> </Page> @@ -688,13 +405,7 @@ needed to configure Samba." > <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> @@ -710,66 +421,24 @@ needed to configure Samba." > <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 with the SAMBA configuration" - guiType="label" - fontName="Default" - fontStyle="plain" - fontSize="11" > </Info> </Page> |