Here is
Code:
<?php
//
// ldap configuration for vBulletin authentication against LDAP
// (c) andreas sartori, 2006
//
error_reporting(E_ALL & ~E_NOTICE);
define('THIS_SCRIPT', 'ldapconfig.php');
// Server Settings
$ldapServer = "dc2.mydomain.org";
$ldapPort = 389;
$ldapBase = "dc=mydomain, dc=org";
// Search Settings
$ldapEmailAttr = array( "mail" );
$noEmailExists = "";
?>