diff --git a/plugins/personal/samba/class_sambaAccount.inc b/plugins/personal/samba/class_sambaAccount.inc
index 0affe015fb4d38e6cb9d83131bb7be4b6898b5de..b8ac7c5c0aec083dbce6ed2f335994074592a1bb 100644 (file)
/* Prepare templating */
$smarty= get_smarty();
+
+/* PHP Fehler "Undefined index: sambaPwdMustChangeACL" */
+ #hickert test
+ $smarty->assign("sambaPwdMustChangeACL", chkacl($this->acl, "sambaPwdMustChangeACL"));
+ #hickert test
+ $smarty->assign("sambaPwdMustChange",$this->sambaPwdMustChange);
+
if ($this->sambaPwdMustChange=="0"){
$date= getdate();
} else {
$sambaKickoffTime_months= array(_("January"), _("February"), _("March"), _("April"),
_("May"), _("June"), _("July"), _("August"), _("September"),
_("October"), _("November"), _("December"));
- $smarty->assign("sambaKickoffTime_day", $sambaKickoffTime_date["mday"]-1);
+ //$smarty->assign("sambaKickoffTime_day", $sambaKickoffTime_date["mday"]-1);
+ $smarty->assign("sambaKickoffTime_day", $sambaKickoffTime_date["mday"]); // hickert
$smarty->assign("sambaKickoffTime_days", $sambaKickoffTime_days);
$smarty->assign("sambaKickoffTime_months", $sambaKickoffTime_months);
$smarty->assign("sambaKickoffTime_month", $sambaKickoffTime_date["mon"]-1);
}
if ($this->kickoff_time_set == "1"){
# Add one day in unixtime format to be compatible with usrmgr
- $this->attrs['sambaKickoffTime']= $this->sambaKickoffTime + 86400;
+ //$this->attrs['sambaKickoffTime']= $this->sambaKickoffTime + 86400;
+ $this->attrs['sambaKickoffTime']= $this->sambaKickoffTime; //hickert
} else {
# $this->attrs['sambaKickoffTime']= array();
# Set more useful default setting