summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: 26f22dd)
raw | patch | inline | side by side (parent: 26f22dd)
author | hickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8> | |
Wed, 21 Jul 2010 09:59:24 +0000 (09:59 +0000) | ||
committer | hickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8> | |
Wed, 21 Jul 2010 09:59:24 +0000 (09:59 +0000) |
-A flag wasn't written correctly
git-svn-id: https://oss.gonicus.de/repositories/gosa/branches/2.6@19032 594d385d-05f5-0310-b6e9-bd551577e9d8
git-svn-id: https://oss.gonicus.de/repositories/gosa/branches/2.6@19032 594d385d-05f5-0310-b6e9-bd551577e9d8
gosa-plugins/samba/personal/samba/class_sambaAccount.inc | patch | blob | history |
diff --git a/gosa-plugins/samba/personal/samba/class_sambaAccount.inc b/gosa-plugins/samba/personal/samba/class_sambaAccount.inc
index 0398ff7a1254935d3bb98295a6ec2d9dbfbcec80..1ea64c29e873cca5eb0a3a511c5e8c9aa621d462 100644 (file)
var $sambaLogonTime= "0";
var $sambaLogoffTime= "2147483647";
var $sambaKickoffTime= "2147483647";
- var $sambaPwdCanChange= "";
+ var $sambaPwdCanChange= "0";
var $sambaPwdMustChange= "0";
// Flags (checkboxes) to restrict account settings.
}else{
// Keep old values if given.
- if ($this->sambaPwdCanChange != 4294967295){
+ if ($this->sambaPwdCanChange != 4294967295 && !empty($this->sambaPwdCanChange)){
$this->attrs['sambaPwdCanChange']= $this->sambaPwdCanChange;
} else {
$this->attrs['sambaPwdCanChange']= array();