From 0104b792f9c35a21628834679a85e827380b918e Mon Sep 17 00:00:00 2001 From: cajus Date: Tue, 26 Jul 2005 05:54:15 +0000 Subject: [PATCH] Fixed problem with gecos fields git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@1001 594d385d-05f5-0310-b6e9-bd551577e9d8 --- Changelog | 1 + plugins/personal/posix/class_posixAccount.inc | 6 +++--- 2 files changed, 4 insertions(+), 3 deletions(-) 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){ -- 2.30.2