From e518b547ca04309943dc9f995b37e774b25bbee5 Mon Sep 17 00:00:00 2001 From: hickert Date: Wed, 21 Jul 2010 09:59:24 +0000 Subject: [PATCH] Updated sambaAccount -A flag wasn't written correctly 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 | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/gosa-plugins/samba/personal/samba/class_sambaAccount.inc b/gosa-plugins/samba/personal/samba/class_sambaAccount.inc index 0398ff7a1..1ea64c29e 100644 --- a/gosa-plugins/samba/personal/samba/class_sambaAccount.inc +++ b/gosa-plugins/samba/personal/samba/class_sambaAccount.inc @@ -46,7 +46,7 @@ class sambaAccount extends plugin var $sambaLogonTime= "0"; var $sambaLogoffTime= "2147483647"; var $sambaKickoffTime= "2147483647"; - var $sambaPwdCanChange= ""; + var $sambaPwdCanChange= "0"; var $sambaPwdMustChange= "0"; // Flags (checkboxes) to restrict account settings. @@ -998,7 +998,7 @@ class sambaAccount extends plugin }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(); -- 2.30.2