Do not set homedir/shell for groups

This commit is contained in:
Miles Lott 2001-04-02 17:52:11 +00:00
parent f67a1de2cd
commit 443b54d641

View File

@ -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;