Terminal Addict wrote:
foreach ($this->fieldmap as $rf => $lf) { if ($rec[$lf]['count']) $out[$rf] = $rec[$lf][0]; elseif ($rec[strtolower($lf)]['count']) $out[$rf] = $rec[strtolower($lf)][0];
Ok. Can't we do this (strtolower) in __construct()?
The main question is: Have all ldap servers case insensitive attribute names?