Forum |  HardWare.fr | News | Articles | PC | S'identifier | S'inscrire | Shop Recherche
4692 connectés 

  FORUM HardWare.fr
  Programmation
  PHP

  ldap_bind

 


 Mot :   Pseudo :  
 
Bas de page
Auteur Sujet :

ldap_bind

n°1384370
carole8
Posté le 09-06-2006 à 11:28:09  profilanswer
 

bonjour,
 
voila mon code est le suivant :
 
  function checkLogin($login, $pass, $server)
  {
      $ad = ldap_connect($server)
      or die("Could not connect to LDAP server." );
 
 
      ldap_set_option($ad, LDAP_OPT_PROTOCOL_VERSION, 3);
 
      $bd = ldap_bind($ad, $login, $pass)        (line 13 )
    or die("Could not connect to LDAP server." );
}

mais ça me retourne cette erreur :
Warning:ldap_bind() [function.ldap_bind]
unable to bind to server : Invalid credentials in C:\....\auth.php line 13
could not connect to LDAP server.

 
merci d'avance...


Message édité par carole8 le 09-06-2006 à 11:32:13
mood
Publicité
Posté le 09-06-2006 à 11:28:09  profilanswer
 


Aller à :
Ajouter une réponse
  FORUM HardWare.fr
  Programmation
  PHP

  ldap_bind

 

Sujets relatifs
[php] Unable to bind to server: Invalid credentialsldap
fonctions LDAP non reconnues[PHP] Problème de connexion avec LDAP
[VBScript] [RESOLU] difference entre winNT et LDAP[VBScript] [RESOLU] trouver le chemin ldap
Ce connecter à un annuaire ldap sous VB6 et recup d'infosLDAP et description de comptes utilisateur
Pb avec les sockets: fonction bind 
Plus de sujets relatifs à : ldap_bind


Copyright © 1997-2025 Groupe LDLC (Signaler un contenu illicite / Données personnelles)