From a29e8c08cf4c97a306488e54a9104a9b8bb6c76b Mon Sep 17 00:00:00 2001 From: hickert Date: Wed, 28 Apr 2010 08:26:27 +0000 Subject: [PATCH] Updated sambaAccount -Accounts with a 'kick of' value set couldn't be copied. git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@17896 594d385d-05f5-0310-b6e9-bd551577e9d8 --- gosa-plugins/samba/personal/samba/class_sambaAccount.inc | 3 +++ 1 file changed, 3 insertions(+) diff --git a/gosa-plugins/samba/personal/samba/class_sambaAccount.inc b/gosa-plugins/samba/personal/samba/class_sambaAccount.inc index 8b28a95f3..2b7ba0a33 100644 --- a/gosa-plugins/samba/personal/samba/class_sambaAccount.inc +++ b/gosa-plugins/samba/personal/samba/class_sambaAccount.inc @@ -1711,6 +1711,9 @@ class sambaAccount extends plugin /* Set a new SID */ $this->sambaSID = ""; + if(isset($source['sambaKickoffTime'][0])){ + $this->sambaKickoffTime = date('d.m.Y', $source['sambaKickoffTime'][0]); + } } } -- 2.30.2