From b3c7c9e3ceb4209cb32846446e73a6d324c2fd30 Mon Sep 17 00:00:00 2001 From: Howard Chu Date: Wed, 17 Apr 2002 19:47:34 +0000 Subject: [PATCH] Delete more unused code, no need to fetch REALM in slap_sasl_bind --- servers/slapd/sasl.c | 6 ------ 1 file changed, 6 deletions(-) diff --git a/servers/slapd/sasl.c b/servers/slapd/sasl.c index 87f29735aa..fb5e698141 100644 --- a/servers/slapd/sasl.c +++ b/servers/slapd/sasl.c @@ -1083,13 +1083,7 @@ int slap_sasl_bind( if ( sc == SASL_OK ) { char *username = NULL; - char *realm = NULL; -#if SASL_VERSION_MAJOR >= 2 - sc = sasl_getprop( ctx, SASL_DEFUSERREALM, (const void **)&realm ); -#else - sc = sasl_getprop( ctx, SASL_REALM, (void **)&realm ); -#endif sc = sasl_getprop( ctx, SASL_USERNAME, (SASL_CONST void **)&username ); -- 2.39.5