This is a static dump of issues in the old "Flyspray" bugtracker for DokuWiki. Bugs and feature requests
are now tracked at the issue tracker at Github.
Closed
Fixed
FS#1682 Primary group of LDAP account is lost
Backend
2009-04-26fschuett
Maybe my version is too old and this is already fixed.
// Don't accept more or less than one response
if($result['count'] != 1){
return false; //user not found
}
$user_result = $result[0];
ldap_free_result($sr);
// general user info
$info['dn'] = $user_result['dn'];
$info['mail'] = $user_result['mail'][0];
$info['name'] = $user_result['cn'][0];
$info['gid'] = $user_result['gidnumber'][0]; //FSCHUETT
$info['grps'] = array();
// overwrite if other attribs are specified.
if(is_array($this->cnf['mapping'])){
foreach($this->cnf['mapping'] as $localkey => $key) {
if(is_array($key)) {