summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: a99f4d5)
raw | patch | inline | side by side (parent: a99f4d5)
author | hickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8> | |
Tue, 11 Mar 2008 12:08:22 +0000 (12:08 +0000) | ||
committer | hickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8> | |
Tue, 11 Mar 2008 12:08:22 +0000 (12:08 +0000) |
git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@9673 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 b16ffab1349b919a6d334f46548ed9ea425bdb3c..362123e49f155079562f6ce86adc62966206c70f 100644 (file)
return;
}
- /* include global link_info */
- $ldap= $this->config->get_ldap_link();
/* Remove and write to LDAP */
plugin::remove_from_parent();
unset($this->attrs['trustModel']);
@DEBUG (DEBUG_LDAP, __LINE__, __FUNCTION__, __FILE__,
- $this->attributes, "Save");
+ /* include global link_info */
+ $this->attributes, "Save");
+ $ldap= $this->config->get_ldap_link();
$ldap->cd($this->dn);
$this->cleanup();
$ldap->modify ($this->attrs);
function save()
{
- /* include global link_info */
- $ldap= $this->config->get_ldap_link();
-
/* Adapt shadow values */
if (!$this->activate_shadowExpire){
$this->shadowExpire= "0";
}
- /* Save data to LDAP */
- $ldap->cd($this->dn);
+ /* include global link_info */
$this->cleanup();
/* This is just a test, we have had duplicated ids
}
}
+ $ldap= $this->config->get_ldap_link();
+ $ldap->cd($this->dn);
unset($this->attrs['uid']);
$ldap->modify ($this->attrs);