From: Kurt Zeilenga Date: Wed, 21 Dec 2005 22:56:45 +0000 (+0000) Subject: return LDAP_NOT_SUPPORTED when SASL is not available X-Git-Tag: OPENLDAP_REL_ENG_2_4_BP~525 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=ff763d47308cd3154ab081d17602c93fed9b964f;p=openldap return LDAP_NOT_SUPPORTED when SASL is not available --- diff --git a/clients/tools/common.c b/clients/tools/common.c index 9bd05de7bb..c22b49a661 100644 --- a/clients/tools/common.c +++ b/clients/tools/common.c @@ -968,9 +968,8 @@ tool_bind( LDAP *ld ) exit( rc ); } #else - fprintf( stderr, "%s: not compiled with SASL support\n", - prog ); - exit( rc ); + fprintf( stderr, "%s: not compiled with SASL support\n", prog ); + exit( LDAP_NOT_SUPPORTED ); #endif } else { int msgid, err, rc;