A wish for unix socket from ldap_funclient (As with Perl and the use of Net::LDAPI)
With correct permissions on the unix socket, and some LDAP ACLS, the use of ldapi:// is an efficient and convenient way to administer a LDAP database from a unix privileged account (no specific LDAP account and LDAP passwords needed).
The use from ocamldap :
let ldap = new Ldap_ooclient.ldapcon ["ldapi://] in
should connect to a default unix socket (No standard, on packaged openldap servers, I have /var/run/ldapi)
With the possibility to specified the path to the unix socket :
let ldap = new Ldap_ooclient.ldapcon ["ldapi://%2fvar%2frun%2fldapi"] in
I made a patch against 2.1.8 to gives these functionalities to ldap_funclient (with /var/run/ldapi as a hardcoded default)
In the hope it can be usefull...
Log in to post a comment.