From 2574578953996434b419983c8ae8b05fb3895af4 Mon Sep 17 00:00:00 2001 From: Roland Gruber Date: Tue, 22 Nov 2005 15:44:49 +0000 Subject: [PATCH] fix problem with LDAP suffixes which are not exactly written like in configuration --- lam/HISTORY | 5 +++++ lam/lib/modules.inc | 2 +- 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/lam/HISTORY b/lam/HISTORY index 5b6fed2d..dcbcff90 100644 --- a/lam/HISTORY +++ b/lam/HISTORY @@ -1,3 +1,8 @@ +??? 0.5.3 + - fixed bugs: + -> fixed problems with case-insensitive DNs + + 16.11.2005 0.5.2 - New module for SSH public keys - check file permissions on login page diff --git a/lam/lib/modules.inc b/lam/lib/modules.inc index b343f562..937bc2ca 100644 --- a/lam/lib/modules.inc +++ b/lam/lib/modules.inc @@ -1481,7 +1481,7 @@ class accountContainer { } } if (!$stopprocessing) { - if ($this->dn != $this->dn_orig) { + if (strtolower($this->dn) != strtolower($this->dn_orig)) { // move existing DN if ($this->dn_orig!='') { // merge attributes together