Code

Updated password change for csvimport
authorhickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8>
Mon, 13 Sep 2010 06:18:13 +0000 (06:18 +0000)
committerhickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8>
Mon, 13 Sep 2010 06:18:13 +0000 (06:18 +0000)
git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@19608 594d385d-05f5-0310-b6e9-bd551577e9d8

gosa-plugins/ldapmanager/addons/ldapmanager/class_csvimport.inc

index 52d9e6a8f231f9ac1ecd25047a565c06ba97ebd3..6006edf7d3bff80b8702bdbe68d9ef15a3c56a22 100644 (file)
@@ -220,7 +220,9 @@ class csvimport extends plugin
             } else {
               $this->csvinfo['sorteddata'][$i]['status']=_("OK");
               $this->usertab->save();
-              change_password($this->usertab->dn,$password); 
+              if(!change_password($this->usertab->dn,$password,FALSE,'','', $message)){
+                msg_dialog::displayChecks(array($message));
+              }
             }
           }
         }