From: hickert Date: Thu, 22 Jul 2010 10:02:51 +0000 (+0000) Subject: Updated password.php X-Git-Url: https://git.tokkee.org/?a=commitdiff_plain;h=8f4c4ef2fc5b4c6e58074b44d27d09773807dfa4;p=gosa.git Updated password.php -Fixed prolbem with uninitialized ACLs. git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@19046 594d385d-05f5-0310-b6e9-bd551577e9d8 --- 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 {