From: Howard Chu Date: Wed, 28 Aug 2002 08:29:15 +0000 (+0000) Subject: Added call to sasl_client_auth() to enforce linking with Cyrus 1.5 X-Git-Tag: OPENLDAP_REL_ENG_2_0_26~9 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=001b7b6927161a251752ea619ba02c8034f19d1c;p=thirdparty%2Fopenldap.git Added call to sasl_client_auth() to enforce linking with Cyrus 1.5 (The call is a no-op in Cyrus 1.5 and doesn't exist in 2.1.) --- diff --git a/servers/slapd/sasl.c b/servers/slapd/sasl.c index 90482f8921..a10a5075dd 100644 --- a/servers/slapd/sasl.c +++ b/servers/slapd/sasl.c @@ -198,6 +198,8 @@ int slap_sasl_init( void ) if( rc != SASL_OK ) { Debug( LDAP_DEBUG_ANY, "sasl_server_init failed\n", 0, 0, 0 ); + /* A no-op used to make sure we linked with Cyrus 1.5 */ + sasl_client_auth(NULL, NULL, NULL, 0, NULL, NULL); return -1; }