[Date Prev][Date Next]
[Chronological]
[Thread]
[Top]
Re: LDAP_DEPRECATED in OPENLDAP_REL_ENG_2_2
Hallvard B Furuseth wrote:
Michael Ströder writes:
Hallvard B Furuseth wrote:
When you talked about LDAP_DEPRECATED some days ago, I
thought you meant ldap_perror(), ldap_bind() & a few others.
_That_ sounded good.
Which function should be used for simple binds today?
Check ldap/doc/drafts/draft-ietf-ldapext-ldap-c-api-xx.txt:
ldap_simple_bind() and ldap_simple_bind_s() spring to mind:-)
From ldap.h of OPENLDAP_REL_ENG_2_2:
/*
* in sbind.c:
*/
LDAP_F( int )
ldap_simple_bind LDAP_P(( /* deprecated */
LDAP *ld,
LDAP_CONST char *who,
LDAP_CONST char *passwd ));
LDAP_F( int )
ldap_simple_bind_s LDAP_P(( /* deprecated */
LDAP *ld,
LDAP_CONST char *who,
LDAP_CONST char *passwd ));
Ciao, Michael.