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 /helper.c | |
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 'helper.c')
-rw-r--r-- | helper.c | 12 |
1 files changed, 12 insertions, 0 deletions
@@ -111,6 +111,18 @@ void helper_printal(struct AttributeDescriptionList* a) putchar('\n'); } +void helper_printpal(struct PartialAttributeList *pal) +{ + printf("-- PAL --\n"); + while (pal) { + printf("entry ("); + if (pal->type.l && pal->type.s) printf("%.*s", (int)pal->type.l, pal->type.s); + printf("): "); + helper_printal(pal->values); + pal = pal->next; + } +} + static void helper_printfilterInt(struct Filter* f) { if (f == NULL) { |