diff options
Diffstat (limited to 'nslcd/myldap.c')
-rw-r--r-- | nslcd/myldap.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/nslcd/myldap.c b/nslcd/myldap.c index 8d6d0c8..8b92fc2 100644 --- a/nslcd/myldap.c +++ b/nslcd/myldap.c @@ -397,7 +397,7 @@ static int do_bind(MYLDAP_SESSION *session,const char *uri) } #ifdef HAVE_LDAP_SASL_INTERACTIVE_BIND_S /* TODO: store this information in the session */ - if (!nslcd_cfg->ldc_usesasl) + if (nslcd_cfg->ldc_sasl_mech==NULL) { #endif /* HAVE_LDAP_SASL_INTERACTIVE_BIND_S */ /* do a simple bind */ |