mirror of
https://git.openldap.org/openldap/openldap.git
synced 2026-01-31 10:59:33 -05:00
Delete more unused code, no need to fetch REALM in slap_sasl_bind
This commit is contained in:
parent
c90a10465e
commit
b3c7c9e3ce
1 changed files with 0 additions and 6 deletions
|
|
@ -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 );
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue