From 8f4c4ef2fc5b4c6e58074b44d27d09773807dfa4 Mon Sep 17 00:00:00 2001 From: hickert Date: Thu, 22 Jul 2010 10:02:51 +0000 Subject: [PATCH] Updated password.php -Fixed prolbem with uninitialized ACLs. git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@19046 594d385d-05f5-0310-b6e9-bd551577e9d8 --- gosa-core/html/password.php | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/gosa-core/html/password.php b/gosa-core/html/password.php index da42f1455..448c10e2f 100644 --- a/gosa-core/html/password.php +++ b/gosa-core/html/password.php @@ -262,6 +262,13 @@ if ($_SERVER["REQUEST_METHOD"] == "POST" && isset($_POST['apply'])) { /* Do we have the selected user somewhere? */ $ui= ldap_login_user($uid, $current_password); + /* Load ocMapping into userinfo */ + $tmp= new acl($config, NULL, $ui->dn); + $ui->ocMapping= $tmp->ocMapping; + + + $ui->loadACL(); + if ($ui === NULL) { $message[]= _("Please check the username/password combination!"); } else { -- 2.30.2