127. LdapPopup

Additional user interface functions: special edit popups

127.1. Authors

  • Jiri Suchomel <jsuchome@suse.cz>

127.2. Summary of Module Globals

List of Global Functions

  • AddDefaultValue - Popup for adding new default value (default value is template's attribute)

  • BrowseTree - Popup for browsing LDAP tree and selecting the DN WARNING we expect that LDAP connection is already correctly initialized !

  • EditAttribute - Generic popup for editing attribute's value

  • InitAndBrowseTree - Open the LDAP Browse popup and initialize initialize LDAP connection before.

  • NewModule - Popup for adding new configuration module

  • PasswordPolicyDialog - dialog for Password Policy configuration object

List of Global Variables

    127.3. Global Functions

    127.3.1. AddDefaultValue

    Popup for adding new default value (default value is template's attribute)

    Function parameters

    • list available

    • list conflicts

    Return value

    • map - of new "default value" (contains attribute name and value)

    127.3.2. BrowseTree

    Popup for browsing LDAP tree and selecting the DN WARNING we expect that LDAP connection is already correctly initialized !

    Function parameters

    • string root_dn

    Return value

    • string - DN of selected item, empty string when canceled

    127.3.3. EditAttribute

    Generic popup for editing attribute's value

    Function parameters

    • map settings

    Return value

    • list<string> - of atrtibute values (edited or unchanged)

    127.3.4. InitAndBrowseTree

    Open the LDAP Browse popup and initialize initialize LDAP connection before.

    Function parameters

    • string root_dn

    • map connection

    Return value

    • string - DN of selected item, empty string when canceled

    127.3.5. NewModule

    Popup for adding new configuration module

    Function parameters

    • list available

    • list conflicts

    Return value

    • map - of new module (contains its name and object class)

    127.3.6. PasswordPolicyDialog

    dialog for Password Policy configuration object

    Function parameters

    • map ppolicy

    Return value

    • map - with modifications of ppolicy object, nil in case of `cancel

    127.4. Global Variables

    127.5. Module Requirements

    127.5.1. Module Imports

    • Label
    • Ldap
    • Popup
    • Wizard

    127.5.2. Module Includes