diff options
Diffstat (limited to 'samba_wizard/samba.wiz')
-rw-r--r-- | samba_wizard/samba.wiz | 778 |
1 files changed, 0 insertions, 778 deletions
diff --git a/samba_wizard/samba.wiz b/samba_wizard/samba.wiz deleted file mode 100644 index b802677c..00000000 --- a/samba_wizard/samba.wiz +++ /dev/null @@ -1,778 +0,0 @@ -<?xml version="1.0"?> - -<Wizard - name="general" - libScript="__WIZ_HOME__/common/scripts/functions.sh" - wizardTitle="Samba wizard" - imagePosition="top" - defaultImage="__WIZ_HOME__/samba_wizard/images/samba.png" - perlModule="__WIZ_HOME__/samba_wizard/scripts/Smbconf.pm" - rpm="samba-server" - summaryFunc="do_it" -> - <Variable - name="box_list" - shellVariable="wiz_box_list" - > - </Variable> - <Variable - name="hosts_allow" - shellVariable="wiz_hosts_allow" - > - </Variable> - <Variable - name="hosts_deny" - shellVariable="wiz_hosts_deny" - > - </Variable> - <Variable - name="doFileSharing" - comment="true if we do file sharing, false otherwise" - shellVariable="wiz_do_file_sharing" - > - </Variable> - <Variable - name="level" - shellVariable="wiz_level" - > - </Variable> - <Variable - name="all_printers" - shellVariable="wiz_all_printers" - > - </Variable> - <Variable - name="wiz_printers" - shellVariable="wiz_printers" - > - </Variable> - <Variable - name="doPrinterSharing" - comment="true if samba do printer sharing" - shellVariable="wiz_do_printer_sharing" - > - </Variable> - <Variable - name="doHomes" - comment="true if samba do printer sharing" - shellVariable="wiz_do_homes" - > - </Variable> - <Variable - name="workgroup" - comment="The workgroup name" - shellVariable="wiz_workgroup" - > - </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" - > - </Variable> - - <Variable - name="write_list" - shellVariable="wiz_write_list" - > - </Variable> - - <Variable - name="read_list" - shellVariable="wiz_read_list" - > - </Variable> - - <Page - helpURL="file:/usr/share/doc/mandrake/${LANG}/ref.html/wiz-samba.html" - name="Welcome" - executionLevel="NORMAL" - nextFinish="false" - canBack="true" - canCancel="true" - > - <Info - helpText="Samba Configuration Wizard" - > - </Info> - - - <Info - helpText="Samba allows your server to behave as a file and print server for workstations running non-Linux systems." - > - </Info> - - <Info - helpText="This wizard will help you configuring the Samba services of your server." - > - </Info> - </Page> - - <Page - helpURL="file:/usr/share/doc/mandrake/${LANG}/ref.html/wiz-samba.html" - name="ask_workgroup" - func="check_workgroup" - executionLevel="NORMAL" - nextFinish="false" - canBack="true" - canCancel="true" - > - - <Target - targetName="error_in_workgroup" - jumpIndex="1" - > - </Target> - - <Target - targetName="ask_banner" - jumpIndex="10" - > - </Target> - - <Info - helpText="Workgroup" - > - </Info> - - <Info - helpText="Samba needs to know the Windows Workgroup it will serve." - > - </Info> - <Freetext - name="freetext2" - variableName="workgroup" - helpText="Workgroup:" - editable="true" - fillfunc="get_workgroup" - > - </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 - helpText="The Workgroup is wrong" - > - </Info> - </Page> - - - <Page - helpURL="file:/usr/share/doc/mandrake/${LANG}/ref.html/wiz-samba.html" - name="ask_banner" - func="check_banner" - executionLevel="NORMAL" - nextFinish="false" - canBack="true" - canCancel="true" - > - - <Target - targetName="error_in_banner" - jumpIndex="1" - > - </Target> - - <Target - targetName="ask_net" - jumpIndex="10" - > - </Target> - - <Info - helpText="Server Banner." - > - </Info> - - - <Info - helpText="The banner is the way this server will be described in the Windows workstations." - > - </Info> - - - <Freetext - name="serverBannerInput" - variableName="banner" - helpText="Banner:" - editable="true" - fillfunc="get_banner" - > - </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 - helpText="The Server Banner is incorrect" - > - </Info> - </Page> - <Page - name="ask_net" - func="chk_level" - executionLevel="NORMAL" - nextFinish="false" - canBack="true" - canCancel="true" - > - <Target - targetName="ask_services" - jumpIndex="1" - > - </Target> - - <Target - targetName="ask_netmask" - jumpIndex="2" - > - </Target> - <Info - helpText="Access control" - > - </Info> - - <Chooser - name="chooser1" - variableName="level" - helpText="Access level :" - > - <Option - value="1" - description="All - No access restriction" - > - </Option> - - <Option - value="2" - description="My rules - Ask me allowed and denied hosts" - > - </Option> - </Chooser> - </Page> - <Page - name="ask_netmask" - jumpPage="ask_services" - executionLevel="NORMAL" - nextFinish="false" - canBack="true" - canCancel="true" - is="level=2" - > - <Info - helpText="Access control" - > - </Info> - - <Info - helpText="* Example 1: allow all IPs in 150.203.*.*; except one\nhosts allow = 150.203. EXCEPT 150.203.6.66" - > - </Info> - <Info - helpText="* Example 2: allow hosts that match the given network/netmask\nhosts allow = 150.203.15.0/255.255.255.0" - > - </Info> - <Info - helpText="* Example 3: allow a couple of hosts\nhosts allow = lapland, arvidsjaur" - > - </Info> - <Info - helpText="* Example 4: allow only hosts in NIS netgroup \qfoonet\q, but deny access from one particular host\nhosts allow = @foonet\nhosts deny = pirate" - > - </Info> - <Info - helpText="Note that access still requires suitable user-level passwords." - > - </Info> - - <Freetext - variableName="hosts_allow" - helpText="Allow hosts:" - editable="true" - fillfunc="get_allow_host" - refresh="true" - > - </Freetext> - <Freetext - variableName="hosts_deny" - helpText="Deny hosts:" - editable="true" - fillfunc="get_deny_host" - refresh="true" - > - </Freetext> - </Page> - <Page - helpURL="file:/usr/share/doc/mandrake/${LANG}/ref.html/wiz-samba.html" - name="ask_services" - func="check_services" - executionLevel="NORMAL" - nextFinish="false" - canBack="true" - canCancel="true" - > - - <Target - targetName="warn_smbpasswd" - jumpIndex="3" - > - </Target> - - <Target - targetName="ask_dir" - jumpIndex="2" - > - </Target> - - <Target - targetName="ask_printers" - jumpIndex="1" - > - </Target> - - <Target - targetName="doit" - jumpIndex="0" - > - </Target> - - <Info - helpText="Enabled Samba Services" - > - </Info> - - - <Info - 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." - > - </Info> - - - <Boolean - name="fileSharingBoolean" - variableName="doFileSharing" - forceEnabled="true" - forceDisabled="false" - helpText="Enable file sharing area" - fillfunc="get_file_sharing" - > - </Boolean> - - <Boolean - name="printerSharingBoolean" - variableName="doPrinterSharing" - forceEnabled="true" - forceDisabled="false" - helpText="Enable Server Printer Sharing" - > - </Boolean> - <Boolean - name="homesSharingBoolean" - variableName="doHomes" - forceEnabled="true" - forceDisabled="false" - helpText="Make home directories available for their owners" - fillfunc="get_home_sharing" - > - </Boolean> - - </Page> - - <Page - name="warn_smbpasswd" - comment="Warning" - func="ask_dir" - nextButtonText="OK" - executionLevel="NORMAL" - nextFinish="false" - canBack="true" - canCancel="true" - > - - <Target - targetName="ask_dir" - jumpIndex="2" - > - </Target> - - <Target - targetName="ask_printers" - jumpIndex="1" - > - </Target> - - <Target - targetName="doit" - 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" - is="doFileSharing" - func="check_dir" - executionLevel="NORMAL" - nextFinish="false" - canBack="true" - canCancel="true" - > - - <Target - targetName="error_in_dir" - jumpIndex="1" - > - </Target> - - <Target - targetName="ask_access" - jumpIndex="10" - > - </Target> - - <Info - helpText="Shared directory:" - > - </Info> - - - <Info - helpText="Type the path of the directory you want being shared." - > - </Info> - - <Freetext - name="freetext_dir" - variableName="shared_dir" - helpText="Shared directory:" - editable="true" - fillfunc="get_dir" - > - </Freetext> - </Page> - - - <Page - helpURL="file:/usr/share/doc/mandrake/${LANG}/ref.html/wiz-samba.html" - name="ask_access" - is="doFileSharing" - func="check_users" - executionLevel="NORMAL" - nextFinish="false" - canBack="true" - canCancel="true" - > - <Target - targetName="error_in_acces" - jumpIndex="2" - > - </Target> - - - <Target - targetName="ask_printers" - jumpIndex="1" - > - </Target> - - - <Target - targetName="doit" - jumpIndex="0" - > - </Target> - - <Info - helpText="File permissions" - > - </Info> - - - <Info - helpText="Type users or group separated by a comma (groups must be preceded by a \'@\') like this :\nroot, fred, @users, @wheel for each kind of permission." - > - </Info> - - <Freetext - variableName="read_list" - helpText="read list:" - editable="true" - fillfunc="get_read" - help="root, fred, @users, @wheel" - > - </Freetext> - <Freetext - variableName="write_list" - helpText="write list:" - editable="true" - fillfunc="get_write" - help="root, fred, @users, @wheel" - > - </Freetext> - </Page> - - - <Page - helpURL="file:/usr/share/doc/mandrake/${LANG}/ref.html/wiz-samba.html" - name="ask_printers" - jumpPage="doit" - is="doPrinterSharing" - executionLevel="NORMAL" - nextFinish="false" - canBack="true" - canCancel="true" - > - <Info - helpText="Select which printers you want to be accessible from known users" - > - </Info> - <Boolean - variableName="all_printers" - helpText="Enable all printers" - > - </Boolean> - <Boolean - is="all_printers=0" - variableName="box_list" - listfunc="list_printers" - > - </Boolean> - </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="doit" - func="do_it" - nextButtonText="Configure" - executionLevel="NORMAL" - nextFinish="false" - canBack="true" - canCancel="true" - > - - <Target - targetName="catastrophic_exit" - jumpIndex="2" - > - </Target> - - <Target - targetName="done" - jumpIndex="10" - > - </Target> - - <Info - helpText="Configuring Samba" - > - </Info> - - - <Info - helpText="The wizard collected the following parameters -needed to configure Samba." - > - </Info> - - <Freetext - name="freetext3" - variableName="workgroup" - helpText="Workgroup:" - editable="false" - > - </Freetext> - - <Freetext - name="freetext4" - variableName="banner" - helpText="Server Banner:" - editable="false" - > - </Freetext> - - <Freetext - name="freetext" - variableName="doFileSharing" - helpText="File Sharing:" - editable="false" - > - </Freetext> - - <Freetext - name="freetext" - variableName="shared_dir" - helpText="Shared directory:" - editable="false" - > - </Freetext> - - - <Freetext - name="freetext1" - variableName="doPrinterSharing" - helpText="Print Server:" - editable="false" - > - </Freetext> - - <Freetext - name="freetext2" - variableName="doHomes" - helpText="Home:" - editable="false" - > - </Freetext> - - - <Freetext - name="freetext5" - helpText="Printers:" - editable="false" - fillfunc="get_printers" - > - </Freetext> - - <Info - helpText="To accept these values, and configure your server, click the Next button or use the Back button to correct them." - > - </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 - helpText="Congratulations" - > - </Info> - - - <Info - helpText="The wizard successfully configured your Samba server." - > - </Info> - </Page> - - <Page - helpURL="file:/usr/share/doc/mandrake/${LANG}/ref.html/wiz-samba.html" - name="catastrophic_exit" - comment="Exit in case of catastrophic system error" - nextButtonText="Exit" - executionLevel="NORMAL" - nextFinish="true" - canBack="false" - canCancel="false" - > - - <Info - helpText="Something terrible happened" - > - </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 - helpText="This Wizard needs to run as root" - > - </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 - helpText="Network not configured yet" - > - </Info> - - - <Info - helpText="You have to configure the basic network parameters before launching this wizard." - > - </Info> - - <Info - helpText="Press next to configure these parameters now, or Cancel to exit this wizard." - > - </Info> - - - <Info - helpText="If you choose to configure now, you will automatically continue with the SAMBA configuration" - > - </Info> - </Page> -</Wizard> |