79. .ldap

Ldap agent

79.1. Authors

  • Jiri Suchomel <jsuchome@suse.cz>

79.2. Description

Access type: read / write / execute

File Name: /usr/share/YaST2/scrconf/ldap.scr

See also:

man ldap.conf (5), agent autodocs

79.3. Usage

Example 40. 

Execute (.ldap.init, $[
    "hostname": "localhost",
    "port":	389])
(true)
Execute (.ldap.bind, $[
    "bind_dn":	"uid=manager,dc=suse,dc=cz",
    "bind_pw":	password])
(true)
Read (.ldap.search, $[
    "base_dn":  "ou=people,dc=suse,dc=cz",
    "filter":   "objectClass=posixAccount",
    "attrs":    [ "uid", "cn" ],
    "scope":    2, // = sub ])
(list of maps)