The ldap_sasl_bind_ s () function can be used to do general authentication over LDAP through the use of the Simple Authentication Security Layer (SASL). After a connection is made to an LDAP V2 server an LDAP bind API must be called before any other LDAP APIs can be called for that connection. For LDAP V3 servers, binding is optional.
Prev by Date: Re: Syncrepl and problem with ldap_sasl_bind_ s failed ? Next by Date: zero copy jni lib for lmdb Index(es): Chronological Thread, Get latest updates about Open Source Projects, Conferences and News. Sign Up No, Thank you, I then use GSSAPI gss_init_sec_context to obtain a service ticket for the ldap server. I then call ldap_init and then subsequently call ldap_sasl_bind_ s with mech as GSS-SPNEGO and supplying the GSSAPI token ( obtained from gss_init_sec_context ) as credential ( i set the DN in the ldap_sasl_bind_ s .
ldap_bind_s function (winldap.h) – Win32 apps | Microsoft Docs, ldap_bind_s function (winldap.h) – Win32 apps | Microsoft Docs, ldap_bind_s function (winldap.h) – Win32 apps | Microsoft Docs, ldap_bind_s function (winldap.h) – Win32 apps | Microsoft Docs, Some local error occurred. This is usually the result of a failed malloc(3C) call or a failure to fflush(3C) the stdio stream to files, even when the LDAP requests were processed successfully by the remote server. LDAP_ENCODING_ERROR. An error was encountered encoding parameters to send to the LDAP server. LDAP_DECODING_ERROR, Name of authentication source last used. Useful for failed authentication tracking. SASL_MECHNAME. Active mechanism name, if any. SASL_PLUGERR. Similar to sasl_errdetail(). Errors SASL_OK. The call to sasl_getprop() was successful. See sasl_errors(3SASL) for information on SASL error codes. Attributes. See attributes(5) for descriptions of the following attributes:, This project can now be found here. Summary Files Reviews Support Tickets Bugs, gnutls_fingerprint(3) gnutls_global_deinit(3) gnutls_global_init(3) gnutls_global_set_audit_log_function(3) gnutls_global_set_log_function(3) gnutls_global_set_log_level(3)