Hi - is anyone maintaining any of these ldap libraries?
I ask because:
- neither has updates in 2 years
- the underlying umboundid library now supplies a
"bindAndRevertAuthentication" function that implements what was discussed
previously in this thread - you can bind without mutating the existing
Thanks for the latest changes, Saul. Your implementation is a little
different from mine:
(defn bind-connection
"Change the identity of an existing connection."
[connection bind-dn password]
(let [bind-result (.bind connection (bind-request {:bind-dn bind-
dn :password password}))]
(if (
On Mar 16, 9:30 am, Ray Miller wrote:
> On 15 March 2011 08:46, Saul Hazledine wrote:
>
> > On Mar 15, 1:30 am, Paul Dorman wrote:
> > One thought though is that it may be quicker simply do a lookup on the
> > directory server, obtain the password and then do a compare. In
> > OpenLDAP, posixUse
On 15 March 2011 08:46, Saul Hazledine wrote:
> On Mar 15, 1:30 am, Paul Dorman wrote:
> One thought though is that it may be quicker simply do a lookup on the
> directory server, obtain the password and then do a compare. In
> OpenLDAP, posixUser uids are indexed by default. Java libraries are
>
On Mar 15, 11:14 am, Paul Dorman wrote:
> Hi Saul,
>
> I'm happy to wait until Friday, but check your request queue before
> you make the change yourself as I may submit one. I've made the change
> on my own fork, but I've only changed the function definition from
> private to public; I haven't lo
On Mar 15, 11:16 am, Jozef Wagner wrote:
> Hi,
>
> Could you please license clj-ldap under open source license?
>
> JW
Its in the project.clj but I'll make it clearer in the README.
(defproject clj-ldap "0.0.3"
:description "Clojure ldap client"
:url "https://github.com/alienscience/clj-ldap
Hi Saul,
I'm happy to wait until Friday, but check your request queue before
you make the change yourself as I may submit one. I've made the change
on my own fork, but I've only changed the function definition from
private to public; I haven't looked into the changes required for
testing and docum
Hi,
Could you please license clj-ldap under open source license?
JW
--
You received this message because you are subscribed to the Google
Groups "Clojure" group.
To post to this group, send email to clojure@googlegroups.com
Note that posts from new members are moderated - please be patient with
On Mar 15, 1:30 am, Paul Dorman wrote:
> Hi Saul,
>
> I would like to implement a LDAP authentication in Clojure, based
> around clj-ldap. Do you think it is necessary for the bind-request
> function to be private? In LDAP v3 bind requests can be sent at any
> time during a connection, so I can ru
Hi Saul,
thanks for writing this. Embarrassingly I wasn't even aware of the
UnboundID LDAP SDK, so it's great to find two useful things I can use
right away!
I would like to implement a LDAP authentication in Clojure, based
around clj-ldap. Do you think it is necessary for the bind-request
functi
On Feb 10, 8:36 am, Jozef Wagner wrote:
> One question, If I search for some entries, you return results as a sequence
> of maps. How do I get dn of some result? It seems that your entry-as-map
> converts attributes but strips away entry dn.
>
> I've solved this by adding :dn key in each entry map
Hi,
Thank you, it is a useful library. If it was released two days ago, I
wouldn't have to make my own ad-hoc wrapper around unboundid :)
One question, If I search for some entries, you return results as a sequence
of maps. How do I get dn of some result? It seems that your entry-as-map
conver
Hello
I've written clj-ldap which is a thin layer on the unboundid ldap
sdk and allows clojure programs to talk to ldap servers. I'm keen to
get feedback on API and am happy to change it if needed.
(ns example
(:require [clj-ldap.client :as ldap]))
(def ldap-server (ldap/connect {:host "ldap
13 matches
Mail list logo