summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: 414f88c)
raw | patch | inline | side by side (parent: 414f88c)
author | hickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8> | |
Thu, 1 Sep 2005 12:42:02 +0000 (12:42 +0000) | ||
committer | hickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8> | |
Thu, 1 Sep 2005 12:42:02 +0000 (12:42 +0000) |
git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@1287 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 4cf6480132acfc9c1f9b9396e08c708b084aaf9b..6a66a4f6cc7e9f39e6c7904906a8460a25759fa1 100644 (file)
/* Save data to LDAP, depending on is_account we save or delete */
function save()
{
+
/* include global link_info */
$ldap= $this->config->get_ldap_link();
$thid->attrs['gosaDefaultPrinter']=array();
}
+ foreach(array("shadowMin","shadowMax","shadowWarning","shadowInactive") as $attr){
+ $this->attrs[$attr] = (int) $this->attrs[$attr];
+ }
+
/* Save data to LDAP */
$ldap->cd($this->dn);
$ldap->modify($this->attrs);