summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: 059270d)
raw | patch | inline | side by side (parent: 059270d)
author | hickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8> | |
Wed, 21 Jul 2010 10:50:58 +0000 (10:50 +0000) | ||
committer | hickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8> | |
Wed, 21 Jul 2010 10:50:58 +0000 (10:50 +0000) |
-Use new flags of the samba tab
git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@19037 594d385d-05f5-0310-b6e9-bd551577e9d8
git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@19037 594d385d-05f5-0310-b6e9-bd551577e9d8
gosa-core/plugins/admin/users/class_userManagement.inc | patch | blob | history |
diff --git a/gosa-core/plugins/admin/users/class_userManagement.inc b/gosa-core/plugins/admin/users/class_userManagement.inc
index 87c008f54862b916bc6b43a676aba3905abc665b..c3a6a6e10bce793b4de623f67d35d5d8a9c7483b 100644 (file)
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();
}
}