Did you know ... Search Documentation:
Pack ldap4pl -- prolog/ldap4pl_util.pl
PublicShow source

This module provides utilities for OpenLDAP API Prolog bindings.

author
- Hongxin Liang <hongxin.liang@ericsson.com>
See also
- http://www.openldap.org/
license
- Apache License Version 2.0
 ldap_parse_search_result(+LDAP, +Result, -List) is det
Walk through LDAP search results chain and build up a complete list in the format of:
[
    _{dn:..., attributes:_{a1:[], a2:[]}}
    _{dn:..., attributes:_{a1:[], a2:[]}}
]
 ldap_simple_auth(+URI, +Who, +Passwd) is semidet
Do an LDAP simple authentication in a simple way.
 ldap_add_s2(+LDAP, +DN, +Entry) is semidet
The same as ldap_add_s/3 while with simplified entry format:
_{objectClass:[posixGroup, top], cn:..., gidNumber:..., description:...}
 ldap_modify_s2(+LDAP, +DN, +Operations) is semidet
The same as ldap_modify_s/3 while with simplified operation format:
[
    add-street:..,
    delete-street:...,
    add-street:[...],
    replace-street:[...],
    delete-street
]