mirror of
https://github.com/OpenXE-org/OpenXE.git
synced 2024-11-14 20:17:14 +01:00
bugfix LDAP filter
This commit is contained in:
parent
5c1a5d04df
commit
b3b516d0ad
@ -850,8 +850,7 @@ class Acl
|
|||||||
// verbinden zum ldap server
|
// verbinden zum ldap server
|
||||||
$ds = ldap_connect($this->app->erp->Firmendaten("ldap_host"));
|
$ds = ldap_connect($this->app->erp->Firmendaten("ldap_host"));
|
||||||
$suche = $this->app->erp->Firmendaten("ldap_searchbase");
|
$suche = $this->app->erp->Firmendaten("ldap_searchbase");
|
||||||
$filter = $this->app->erp->Firmendaten("ldap_filter");
|
$filter = str_replace('{USER}',$username,$this->app->erp->Firmendaten("ldap_filter"));
|
||||||
//$bind_name = str_replace('%user%',$username,$this->app->erp->Firmendaten("ldap_bindname"));
|
|
||||||
$bind_name = str_replace('{USER}',$username,$this->app->erp->Firmendaten("ldap_bindname"));
|
$bind_name = str_replace('{USER}',$username,$this->app->erp->Firmendaten("ldap_bindname"));
|
||||||
|
|
||||||
if ($ds) {
|
if ($ds) {
|
||||||
|
Loading…
Reference in New Issue
Block a user