diff --git a/phpgwapi/inc/class.accounts_ldap.inc.php b/phpgwapi/inc/class.accounts_ldap.inc.php index ca6047d005..884004570b 100644 --- a/phpgwapi/inc/class.accounts_ldap.inc.php +++ b/phpgwapi/inc/class.accounts_ldap.inc.php @@ -352,7 +352,7 @@ $entry["objectclass"][3] = 'posixAccount'; $entry["objectclass"][4] = 'shadowAccount'; - if ($phpgw_info["server"]["ldap_extra_attributes"]) { + if ($phpgw_info["server"]["ldap_extra_attributes"] && $account_type != 'g') { if ($account_home) { $entry["homedirectory"] = $account_home;