summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: 92b7f31)
raw | patch | inline | side by side (parent: 92b7f31)
author | hickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8> | |
Fri, 25 Nov 2005 15:38:13 +0000 (15:38 +0000) | ||
committer | hickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8> | |
Fri, 25 Nov 2005 15:38:13 +0000 (15:38 +0000) |
git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@2074 594d385d-05f5-0310-b6e9-bd551577e9d8
plugins/personal/posix/class_posixAccount.inc | patch | blob | history |
diff --git a/plugins/personal/posix/class_posixAccount.inc b/plugins/personal/posix/class_posixAccount.inc
index a22d30badc93762995eb7b3446268f8f21845293..5dca5ea5d45f66f37bb663fa34f25218482e67fb 100644 (file)
if ($ldap->count() != 1){
$this->primaryGroup= $this->gidNumber;
}
+
+
+ /* Adjust shadow checkboxes */
+ foreach (array("shadowMin", "shadowMax", "shadowWarning", "shadowInactive",
+ "shadowExpire") as $val){
+
+ if ($this->$val != 0){
+ $oval= "use_".$val;
+ $this->$oval= "1";
+ }
+ }
}
function get_next_id($attrib)