From 3cc9016f707de33fb36187fcc95a6769bdc94890 Mon Sep 17 00:00:00 2001 From: thomas Date: Wed, 12 Nov 2025 11:31:02 +0100 Subject: [PATCH] ok --- functions/ldap_groups.php | 61 +++++++++++++++++++++++++++++++++++++++ test_ldap.php | 14 +++++++++ 2 files changed, 75 insertions(+) create mode 100644 functions/ldap_groups.php diff --git a/functions/ldap_groups.php b/functions/ldap_groups.php new file mode 100644 index 0000000..0ceae8a --- /dev/null +++ b/functions/ldap_groups.php @@ -0,0 +1,61 @@ + 0) { + $result[] = $user_entries[0]['givenname'][0] ?? ''; + } + } + + ldap_unbind($ldapconn); + return $result; +} diff --git a/test_ldap.php b/test_ldap.php index 4a2ff90..158c584 100644 --- a/test_ldap.php +++ b/test_ldap.php @@ -29,6 +29,20 @@ if ($_SERVER['REQUEST_METHOD'] === 'POST') { } } ?> + +Deelnemers aan de trekking:"; +?> +