From: hickert Date: Wed, 21 Jul 2010 10:50:58 +0000 (+0000) Subject: Updated userManagement X-Git-Url: https://git.tokkee.org/?a=commitdiff_plain;h=8656a08e0d03063515c8c4cd2bbcd61d6a2abde8;p=gosa.git Updated userManagement -Use new flags of the samba tab git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@19037 594d385d-05f5-0310-b6e9-bd551577e9d8 --- diff --git a/gosa-core/plugins/admin/users/class_userManagement.inc b/gosa-core/plugins/admin/users/class_userManagement.inc index 87c008f54..c3a6a6e10 100644 --- a/gosa-core/plugins/admin/users/class_userManagement.inc +++ b/gosa-core/plugins/admin/users/class_userManagement.inc @@ -378,10 +378,8 @@ class userManagement extends management if($samba){ $sambaAccount = new sambaAccount($this->config, $this->dn); $sambaAccount->is_modified=TRUE; - $sambaAccount->enforcePasswordChange=TRUE; - $sambaAccount->cannotChangePassword=FALSE; - $sambaAccount->sambaPwdCanChange=0; - $sambaAccount->sambaAcctFlags = preg_replace("/X/i","",$sambaAccount->sambaAcctFlags); + $sambaAccount->flag_enforcePasswordChange = TRUE; + $sambaAccount->flag_cannotChangePassword = FALSE; $sambaAccount->save(); } }