From 26f22dd6e134f4886a30a69bcdb413d7eaac9b78 Mon Sep 17 00:00:00 2001 From: hickert Date: Wed, 21 Jul 2010 09:59:03 +0000 Subject: [PATCH] Updated userManagement to be compatible with the new samba flag handling git-svn-id: https://oss.gonicus.de/repositories/gosa/branches/2.6@19031 594d385d-05f5-0310-b6e9-bd551577e9d8 --- gosa-core/plugins/admin/users/class_userManagement.inc | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/gosa-core/plugins/admin/users/class_userManagement.inc b/gosa-core/plugins/admin/users/class_userManagement.inc index c323b5af1..1574f72dc 100644 --- a/gosa-core/plugins/admin/users/class_userManagement.inc +++ b/gosa-core/plugins/admin/users/class_userManagement.inc @@ -377,10 +377,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(); } } -- 2.30.2