[prev in list] [next in list] [prev in thread] [next in thread] 

List:       openldap-software
Subject:    ldap_bind error
From:       " Pierre-Yves.Verdon + iut.ccri.tech" <Pierre-Yves.Verdon () iu-vannes ! fr>
Date:       2000-08-31 9:37:44
[Download RAW message or body]


hi all,
i have trouble with ldap_bind is someone could tell me if the following
is right...
ldap_bind_s send me back LDAP_SUCCESS even if the password is wrong...


 if ((ld = ldap_open("193.50.240.2",LDAP_PORT))== NULL)
    {
      ldap_perror("ldap_init");
      return( 1 );
    }
  printf("connnexion ok\n");

  if (ldap_bind_s( ld, dn, password, LDAP_AUTH_SIMPLE ) !=LDAP_SUCCESS)
    {
      ldap_perror( ld, "bind" );
      ldap_unbind( ld );
      return( 1 );
}



["verdon.vcf" (text/x-vcard)]

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic