Re: clj-ldap - Clojure LDAP client

2013-10-06 Thread Korny Sietsma
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

Re: clj-ldap - Clojure LDAP client

2011-03-20 Thread Paul Dorman
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 (

Re: clj-ldap - Clojure LDAP client

2011-03-20 Thread Saul Hazledine
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

Re: clj-ldap - Clojure LDAP client

2011-03-16 Thread Ray Miller
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 >

Re: clj-ldap - Clojure LDAP client

2011-03-15 Thread Saul Hazledine
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

Re: clj-ldap - Clojure LDAP client

2011-03-15 Thread Saul Hazledine
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

Re: clj-ldap - Clojure LDAP client

2011-03-15 Thread Paul Dorman
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

Re: clj-ldap - Clojure LDAP client

2011-03-15 Thread Jozef Wagner
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

Re: clj-ldap - Clojure LDAP client

2011-03-15 Thread Saul Hazledine
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

Re: clj-ldap - Clojure LDAP client

2011-03-14 Thread Paul Dorman
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

Re: clj-ldap - Clojure LDAP client

2011-02-10 Thread Saul Hazledine
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

Re: [ANN] clj-ldap - Clojure LDAP client

2011-02-09 Thread Jozef Wagner
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

[ANN] clj-ldap - Clojure LDAP client

2011-02-09 Thread Saul Hazledine
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