[Date Prev][Date Next]
[Chronological]
[Thread]
[Top]
RE: openldap and SSL with AD
Am I mis-reading the code, or just mis-understanding
Daniel's question???
on line 199 of libraries/libldap/open.c this snippet appears:
int
ldap_initialize( LDAP **ldp, LDAP_CONST char *url )
{
int rc;
LDAP *ld;
*ldp = NULL;
rc = ldap_create(&ld);
if ( rc != LDAP_SUCCESS )
return rc;
if (url != NULL) {
rc = ldap_set_option(ld, LDAP_OPT_URI, url);
if ( rc != LDAP_SUCCESS ) {
ldap_ld_free(ld, 1, NULL, NULL);
return rc;
}
#ifdef LDAP_CONNECTIONLESS
if (ldap_is_ldapc_url(url))
LDAP_IS_UDP(ld) = 1;
#endif
}
*ldp = ld;
return LDAP_SUCCESS;
}
-----Original Message-----
From: Tony Earnshaw [mailto:tonni@billy.demon.nl]
Sent: Friday, February 14, 2003 8:22 AM
To: Bennett, Tony - CNF
Cc: Daniel Barron; openldap-software@OpenLDAP.org
Subject: RE: openldap and SSL with AD
fre, 2003-02-14 kl. 16:41 skrev Bennett, Tony - CNF:
> In 2.1.8 it is located:
> libraries/libldap/open.c
No, that's the bit that makes use of what's (the function) in the libraries.
Best,
Tony
--
Tony Earnshaw
When you rob a person of his illusions,
you are robbing him of his happiness
e-post: tonni@billy.demon.nl
www: http://www.billy.demon.nl