title: LDAP on XAMPP localhost
body: <p>I am using windows XP with XAMPP 1.6.4 - php 5.2.4 with LDAP enabled</p>
  
  <pre><code>trying this script :
  $server = "ldap://127.0.0.1/";
  $user = "Salman";
  $pass = "123";
  
  $con = ldap_connect($server);
  
  ldap_set_option($con, LDAP_OPT_PROTOCOL_VERSION, 3);
  ldap_set_option($con, LDAP_OPT_REFERRALS, 0);
  
  var_dump(ldap_bind($con, $user, $pass)); 
  </code></pre>
  
  <p>but ldap_bind always returns this error :
  Warning: ldap_bind() [function.ldap-bind]: Unable to bind to server: Can't contact LDAP server in D:\xampp\htdocs\test.php on line 11
  bool(false)</p>