
functions
files
intro
|
|
Configuration of LDAP |
modules/LdapPopup.ycp |
Additional user interface functions: special edit popups |
|
|
Popups for editing the values of LDAP configuration tables.
Imports
Global Functions
Local Functions
|
|
|
global BrowseTree (string root_dn) -> string
|
|
Popup for browsing LDAP tree and selecting the DN
WARNING we expect that LDAP connection is already correctly initialized !
- Parameters:
root_dn |
the starting point (root of tree); if empty string is
given, the search for available bases will be done automatically |
- Return value:
|
DN of selected item, empty string when canceled |
global InitAndBrowseTree (string root_dn, map connection) -> string
|
|
Open the LDAP Browse popup and initialize initialize LDAP connection
before.
- Parameters:
root_dn |
the starting point (root of tree); if empty string is
given, the search for available bases will be done automatically |
connection |
init map with information passed to ldap agent
(see ldap agent '.ldap' Execute call documentation) |
- Return value:
|
DN of selected item, empty string when canceled |
global EditAttribute (map settings) -> list<string>
|
|
Generic popup for editing attribute's value
- Parameters:
- Return value:
|
of atrtibute values (edited or unchanged) |
local generate_value_list () -> term
|
|
Helper for creating items for EditAttribute Popup
global NewModule (list available, list conflicts) -> map
|
|
Popup for adding new configuration module
- Parameters:
available |
list of possible object classes for new module |
conflicts |
list of forbidden names ('cn' values) |
- Return value:
|
of new module (contains its name and object class) |
global AddDefaultValue (list available, list conflicts) -> map
|
|
Popup for adding new default value (default value is template's attribute)
- Parameters:
available |
list of possible attributes |
conflicts |
list of attributes already set |
- Return value:
|
of new "default value" (contains attribute name and value) |
|