Skip to content


Subversion checkout URL

You can clone with
Download ZIP
Browse files

REPL tested controls and modify-increment.

Not unittested due to lack of support from ApacheDS.
  • Loading branch information...
commit 148ec196729cba9a6df7c500eb829d62a61a4b87 1 parent 37dd656
@alienscience authored
Showing with 6 additions and 3 deletions.
  1. +5 −2
  2. +1 −1  test/clj_ldap/test/client.clj
@@ -183,10 +183,13 @@ e.g
Throws a [LDAPSearchException]( if an error occurs during search. Throws an [EntrySourceException]( if there is an eror obtaining search results.
-## delete [connection dn]
+## delete [connection dn] [connection dn options]
-Deletes the entry with the given DN on the connected ldap server.
+Deletes the given entry in the connected ldap server. Optionally takes a map that can contain the entry :pre-read to indicate the attributes that should be read before deletion.
(ldap/delete conn "cn=dude,ou=people,dc=example,dc=com")
+ (ldap/delete conn "cn=dude,ou=people,dc=example,dc=com"
+ {:pre-read #{"telephoneNumber"}})
Throws a [LDAPException]( if the object does not exist or an error occurs.
2  test/clj_ldap/test/client.clj
@@ -22,7 +22,7 @@
(def *side-effects* nil)
;; Result of a successful write
-(def success* [0 "success"])
+(def success* {:code 0 :name "success"})
;; People to test with
(def person-a*

0 comments on commit 148ec19

Please sign in to comment.
Something went wrong with that request. Please try again.