summaryrefslogtreecommitdiffstats
path: root/helper.c
diff options
context:
space:
mode:
authorSimon Rettberg2015-06-26 14:58:03 +0200
committerSimon Rettberg2015-06-26 14:58:03 +0200
commit2e37d6b71692508fa5d2764c1c80f3c7ca7c2894 (patch)
tree7a2e3240c380b9c532fc990dfefc1179eb3a1420 /helper.c
parentFix the fix of the fix of SSL (diff)
downloadldadp-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.c12
1 files changed, 12 insertions, 0 deletions
diff --git a/helper.c b/helper.c
index c938783..b125f42 100644
--- a/helper.c
+++ b/helper.c
@@ -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) {