ldap_is_ldap_url

Determines whether the URL is an LDAP URL.

LDAP Version:v3
Library:*ldapsdk.*
NDS Version:7.xx or higher
Platform:NLM, Windows (NT, 95, 98, 2000, XP, Vista 32-bit and 64-bit ), Linux (32-bit and 64-bit), Solaris, AIX, and HP-UX

Syntax

  #include <ldap.h>
  
  int ldap_is_ldap_url (
     const char   *url);
  

Parameters

url

(IN) Points to the URL that you want to check.

Return Values

1

URL is an LDAP URL

0

URL is not an LDAP URL

Remarks

An LDAP URL has the protocol set to ldap:// for simple authentication.

See Also

ldap_url_parse, ldap_is_ldaps_url