diff options
author | Simon Rettberg | 2015-06-26 14:58:03 +0200 |
---|---|---|
committer | Simon Rettberg | 2015-06-26 14:58:03 +0200 |
commit | 2e37d6b71692508fa5d2764c1c80f3c7ca7c2894 (patch) | |
tree | 7a2e3240c380b9c532fc990dfefc1179eb3a1420 /server.h | |
parent | Fix the fix of the fix of SSL (diff) | |
download | ldadp-2e37d6b71692508fa5d2764c1c80f3c7ca7c2894.tar.gz ldadp-2e37d6b71692508fa5d2764c1c80f3c7ca7c2894.tar.xz ldadp-2e37d6b71692508fa5d2764c1c80f3c7ca7c2894.zip |
Send search requests on the same connection the explicit bind was done on, so the user's permissions regarding visibility of search results will be applied
Diffstat (limited to 'server.h')
-rw-r--r-- | server.h | 6 |
1 files changed, 5 insertions, 1 deletions
@@ -20,13 +20,17 @@ void server_setFingerprint(const char *server, const char *fingerprint); BOOL server_initServers(); +void server_free(epoll_server_t *server); + BOOL server_send(epoll_server_t *server, const char *buffer, size_t len, const BOOL cork); server_t *server_getFromBase(struct string *in); uint32_t server_searchRequest(server_t *server, struct SearchRequest *req); -uint32_t server_tryUserBind(server_t *server, struct string *binddn, struct string *password); +uint32_t server_searchRequestOnConnection(epoll_server_t *con, struct SearchRequest *req); + +uint32_t server_tryUserBind(server_t *server, struct string *binddn, struct string *password, epoll_server_t **newcon); #endif |