Skip to content
Snippets Groups Projects
Commit 20c8128d authored by Howard Chu's avatar Howard Chu
Browse files

ITS#2475 delete bogus SASL2 call

parent 7e2273b3
Branches
Tags
No related merge requests found
......@@ -724,14 +724,12 @@ ldap_int_sasl_bind(
fprintf( stderr, "SASL username: %s\n", data );
}
#if SASL_VERSION_MAJOR >= 2
saslrc = sasl_getprop( ctx, SASL_DEFUSERREALM, (SASL_CONST void **) &data );
#else
#if SASL_VERSION_MAJOR < 2
saslrc = sasl_getprop( ctx, SASL_REALM, (SASL_CONST void **) &data );
#endif
if( saslrc == SASL_OK && data && *data ) {
fprintf( stderr, "SASL realm: %s\n", data );
}
#endif
}
saslrc = sasl_getprop( ctx, SASL_SSF, (SASL_CONST void **) &ssf );
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment