From ff763d47308cd3154ab081d17602c93fed9b964f Mon Sep 17 00:00:00 2001 From: Kurt Zeilenga Date: Wed, 21 Dec 2005 22:56:45 +0000 Subject: [PATCH] return LDAP_NOT_SUPPORTED when SASL is not available --- clients/tools/common.c | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) 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; -- 2.39.5