From b3b516d0ad534286cd92b041b431c3d71aac01da Mon Sep 17 00:00:00 2001 From: OpenXE <> Date: Mon, 22 Apr 2024 09:58:16 +0200 Subject: [PATCH] bugfix LDAP filter --- phpwf/plugins/class.acl.php | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/phpwf/plugins/class.acl.php b/phpwf/plugins/class.acl.php index 2a80631e..e26022ac 100644 --- a/phpwf/plugins/class.acl.php +++ b/phpwf/plugins/class.acl.php @@ -850,8 +850,7 @@ class Acl // verbinden zum ldap server $ds = ldap_connect($this->app->erp->Firmendaten("ldap_host")); $suche = $this->app->erp->Firmendaten("ldap_searchbase"); - $filter = $this->app->erp->Firmendaten("ldap_filter"); - //$bind_name = str_replace('%user%',$username,$this->app->erp->Firmendaten("ldap_bindname")); + $filter = str_replace('{USER}',$username,$this->app->erp->Firmendaten("ldap_filter")); $bind_name = str_replace('{USER}',$username,$this->app->erp->Firmendaten("ldap_bindname")); if ($ds) {