Thanks to this list I know have my wiki integrated
into the local network.
It all works except that it does not pull the email from AD.
This:
$wgLDAPPreferences = array('HPM' => array( 'email' =>
'mail','realname' =>
'displayname'));
pulls the realname and populates the correct field, but the email field
remains stubbornly empty.
Never mind.
Turns out our AD admin does not populate the email field as we use lotus
notes.