summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: f17966a)
raw | patch | inline | side by side (parent: f17966a)
author | hickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8> | |
Wed, 28 Apr 2010 08:59:26 +0000 (08:59 +0000) | ||
committer | hickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8> | |
Wed, 28 Apr 2010 08:59:26 +0000 (08:59 +0000) |
git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@17901 594d385d-05f5-0310-b6e9-bd551577e9d8
gosa-core/plugins/personal/posix/class_posixAccount.inc | patch | blob | history |
diff --git a/gosa-core/plugins/personal/posix/class_posixAccount.inc b/gosa-core/plugins/personal/posix/class_posixAccount.inc
index 30d53500f74f17047a7d0a9a88cfada614659c2b..8a9defd0ea067a397d62859de069f02e6fc3ae11 100644 (file)
$this->primaryGroup= $source['gidNumber'][0];
}
+
+ /* Adjust shadow checkboxes */
+ foreach (array("shadowMin", "shadowMax", "shadowWarning", "shadowInactive",
+ "shadowExpire") as $val){
+
+ if ($this->$val != 0){
+ $oval= "activate_".$val;
+ $this->$oval= "1";
+ }
+ }
+
+
+
$tmp = new trustModeDialog($this->config, $source['dn']);
$this->trustModeDialog = new trustModeDialog($this->config, $this->dn);
$this->trustModeDialog->trustModel = $tmp->trustModel;