YaST2 Developers Documentation: Configuration of LDAP

Configuration of LDAP

include/ldap/routines.ycp
Helper routines for string manupulations

This module has an unstable interface.

Imports

  • Ldap

Local Functions

local get_rdn (string dn) -> string

Get RDN (relative distinguished name) from dn

Parameters:
dn
local get_cn (string dn) -> string

Get first value from dn (don't have to be "cn")

Parameters:
dn
local get_dn (string cn) -> string

Create DN from cn by adding base config DN (Can't work in general cases!)

Parameters:
cn
local get_new_dn (string cn, string dn) -> string

Create new DN from DN by changing leading cn value (Can't work in general cases!)

Parameters:
cn
dn
local get_string (map object, string attr) -> string

Get string value of attribute from map. (Generaly, it is supposed to be list or string.)

Parameters:
object
attr