mirror of
https://git.openldap.org/openldap/openldap.git
synced 2026-01-28 17:47:33 -05:00
ITS#2475 delete bogus SASL2 call
This commit is contained in:
parent
7e2273b30e
commit
20c8128d27
1 changed files with 2 additions and 4 deletions
|
|
@ -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 );
|
||||
|
|
|
|||
Loading…
Reference in a new issue