From 001b7b6927161a251752ea619ba02c8034f19d1c Mon Sep 17 00:00:00 2001 From: Howard Chu Date: Wed, 28 Aug 2002 08:29:15 +0000 Subject: [PATCH] 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.) --- servers/slapd/sasl.c | 2 ++ 1 file changed, 2 insertions(+) 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; } -- 2.47.2