From: cajus Date: Tue, 26 Jul 2005 05:54:15 +0000 (+0000) Subject: Fixed problem with gecos fields X-Git-Url: https://git.tokkee.org/?a=commitdiff_plain;h=0104b792f9c35a21628834679a85e827380b918e;p=gosa.git Fixed problem with gecos fields git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@1001 594d385d-05f5-0310-b6e9-bd551577e9d8 --- diff --git a/Changelog b/Changelog index 3eea26c36..d14928372 100644 --- a/Changelog +++ b/Changelog @@ -12,6 +12,7 @@ GOsa2 changelog - Fixed IE issues with W3C compatibilty where IE posts disabled fields - Fixed problems with existing samba accounts and password changed fields - Removed login problems with undefined ldap_conf variable + - Fixed problems where the GECOS field is not written correctly * gosa 2.4beta2 - Fixed error handler to be PHP 4.x compatible diff --git a/plugins/personal/posix/class_posixAccount.inc b/plugins/personal/posix/class_posixAccount.inc index 746517673..e1f65bfcc 100644 --- a/plugins/personal/posix/class_posixAccount.inc +++ b/plugins/personal/posix/class_posixAccount.inc @@ -746,14 +746,14 @@ class posixAccount extends plugin $this->shadowExpire = ""; } - /* Call parents save to prepare $this->attrs */ - plugin::save(); - /* Fill gecos */ if (isset($this->parent) && $this->parent != NULL){ $this->gecos= $this->parent->by_object['user']->cn; } + /* Call parents save to prepare $this->attrs */ + plugin::save(); + /* Trust accounts */ $objectclasses= array(); foreach ($this->attrs['objectClass'] as $key => $class){