Thread:Extension talk:LDAP Authentication/Patch for PHP 5.3.+

eregi is deprecated (along with all other php regex functions, so the following patch gets rid of the logged warnings

*************** *** 1313,1319 ****            array_shift( $memberOfMembers ); $groups = array( "dn"=> array, "short"=>array ); foreach( $memberOfMembers as $mem ) { !          if (eregi("$nameattribute=([^,]*),.*", $mem, $attribs)) $short = $attribs[1]; else $this->printDebug("Failed to get short name of group $mem", NONSENSITIVE); --- 1313,1319            array_shift( $memberOfMembers ); $groups = array( "dn"=> array, "short"=>array ); foreach( $memberOfMembers as $mem ) { !          if (preg_match("/$nameattribute=([^,]*),.*/i",$mem, $attribs)) $short = $attribs[1]; else $this->printDebug("Failed to get short name of group $mem", NONSENSITIVE);

Cheers