diff options
author | Sumit Bose <sbose@redhat.com> | 2010-05-19 10:07:59 +0200 |
---|---|---|
committer | Stephen Gallagher <sgallagh@redhat.com> | 2010-05-27 14:44:14 -0400 |
commit | 2892c3c025882d63559a3adc06f62c2ca4e4c55a (patch) | |
tree | d41d5bf869f4e33b542570f93fcbe43634f324f1 | |
parent | beb8badafcd17a279e910b1133e777c129166ce1 (diff) | |
download | sssd-2892c3c025882d63559a3adc06f62c2ca4e4c55a.tar.gz sssd-2892c3c025882d63559a3adc06f62c2ca4e4c55a.tar.xz sssd-2892c3c025882d63559a3adc06f62c2ca4e4c55a.zip |
Fix check if LDAP id provider is already initialized
-rw-r--r-- | src/providers/ldap/ldap_init.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/providers/ldap/ldap_init.c b/src/providers/ldap/ldap_init.c index 5c6f4b79..3a9b12d2 100644 --- a/src/providers/ldap/ldap_init.c +++ b/src/providers/ldap/ldap_init.c @@ -64,7 +64,7 @@ int sssm_ldap_id_init(struct be_ctx *bectx, /* If we're already set up, just return that */ if(bectx->bet_info[BET_ID].mod_name && - strcmp("LDAP", bectx->bet_info[BET_ID].mod_name)) { + strcmp("ldap", bectx->bet_info[BET_ID].mod_name) == 0) { DEBUG(8, ("Re-using sdap_id_ctx for this provider\n")); *ops = bectx->bet_info[BET_ID].bet_ops; *pvt_data = bectx->bet_info[BET_ID].pvt_bet_data; |