setting account_fullname, to get id2name($uid,account_fullname) working for groups in LDAP too

This commit is contained in:
Ralf Becker 2011-01-02 21:53:04 +00:00
parent 4b93e5c0c5
commit 4915952262

View File

@ -447,6 +447,7 @@ class accounts_ldap
'account_type' => 'g',
'account_firstname' => $data['cn'][0],
'account_lastname' => lang('Group'),
'account_fullname' => lang('Group').' '.$data['cn'][0],
'groupOfNames' => in_array('groupOfNames',$data['objectclass']),
'account_email' => $data['mail'][0],
);