#1 ldapi:// support

open
nobody
None
5
2014-08-10
2006-12-12
No

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...

Discussion

  • Maurice Bremond

    Maurice Bremond - 2006-12-12

    ldapi:// support patch (for ocamldap-2.1.8)

     
  • Maurice Bremond

    Maurice Bremond - 2006-12-12

    Logged In: YES
    user_id=1266332
    Originator: YES

    File Added: ocamldap-pf-unix.patch

     

Log in to post a comment.