summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: ed5a89e)
raw | patch | inline | side by side (parent: ed5a89e)
author | hickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8> | |
Wed, 21 Jul 2010 09:59:03 +0000 (09:59 +0000) | ||
committer | hickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8> | |
Wed, 21 Jul 2010 09:59:03 +0000 (09:59 +0000) |
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 | patch | blob | history |
diff --git a/gosa-core/plugins/admin/users/class_userManagement.inc b/gosa-core/plugins/admin/users/class_userManagement.inc
index c323b5af1a00259bacfa386cdfe4a85eadd7bee9..1574f72dc785d7f5c66f5a5ebc139476d951f252 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();
}
}