71. .ldap

Ldap agent

71.1. Description

Access type: read / write / execute

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

See: man ldap.conf (5), agent autodocs

71.2. Usage

Example 36. 

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)