Ldap agent
Access type: read / write / execute
File Name:
/usr/share/YaST2/scrconf/ldap.scr
See: man ldap.conf (5), agent autodocs
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)