]> git.sur5r.net Git - openldap/commitdiff
Added call to sasl_client_auth() to enforce linking with Cyrus 1.5
authorHoward Chu <hyc@openldap.org>
Wed, 28 Aug 2002 08:29:15 +0000 (08:29 +0000)
committerHoward Chu <hyc@openldap.org>
Wed, 28 Aug 2002 08:29:15 +0000 (08:29 +0000)
(The call is a no-op in Cyrus 1.5 and doesn't exist in 2.1.)

servers/slapd/sasl.c

index 90482f8921704a0f3699e4f0c6616153835c37bf..a10a5075dd8ed91e1a537cf7a5e5203ccf7ca089 100644 (file)
@@ -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;
        }