summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSimon Rettberg2015-10-27 11:06:45 +0100
committerSimon Rettberg2015-10-27 11:06:45 +0100
commit3f345b8f381720ae83d5026e34434fd57fb3195a (patch)
tree9cf33281836a73e73f8662d8eea0ef476ba46fc1
parentFix mapping of AD attributes if no filter is given (diff)
downloadldadp-3f345b8f381720ae83d5026e34434fd57fb3195a.tar.gz
ldadp-3f345b8f381720ae83d5026e34434fd57fb3195a.tar.xz
ldadp-3f345b8f381720ae83d5026e34434fd57fb3195a.zip
Remove debug messages
-rw-r--r--proxy.c3
1 files changed, 0 insertions, 3 deletions
diff --git a/proxy.c b/proxy.c
index 22b1e71..e416055 100644
--- a/proxy.c
+++ b/proxy.c
@@ -882,7 +882,6 @@ static BOOL proxy_clientSearchRequest(epoll_client_t *client, const unsigned lon
} else {
pending->serverMessageId = server_searchRequestOnConnection(client->fixedServer, &req);
}
- helper_printal(req.attributes); // DEBUG
if (pending->serverMessageId == 0) {
// Failed to forward.. TODO: Fail client
printf("Failed to forward search request.\n");
@@ -914,9 +913,7 @@ static BOOL proxy_serverSearchResult(epoll_server_t *server, const unsigned long
struct SearchResultEntry sre;
const size_t res = scan_ldapsearchresultentry(server->readBuffer + offset, server->readBuffer + maxLen, &sre);
if (res == 0) return FALSE;
- helper_printpal(sre.attributes); // DEBUG
response_replacePal(server->serverData, &sre.attributes, &pending->attr);
- helper_printpal(sre.attributes); // DEBUG
bodyLen = fmt_ldapsearchresultentry(NULL, &sre);
if (bodyLen == 0) {
printf("Error formatting ldapsearchresultentry after transformation\n");