]> git.sur5r.net Git - openldap/commitdiff
Delete more unused code, no need to fetch REALM in slap_sasl_bind
authorHoward Chu <hyc@openldap.org>
Wed, 17 Apr 2002 19:47:34 +0000 (19:47 +0000)
committerHoward Chu <hyc@openldap.org>
Wed, 17 Apr 2002 19:47:34 +0000 (19:47 +0000)
servers/slapd/sasl.c

index 87f29735aa7394ed3eb00b9b33cc563f2d3d0a3d..fb5e69814124c9933ee16dced7af419af311cf15 100644 (file)
@@ -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 );