diff options
author | Sumit Bose <sbose@redhat.com> | 2010-05-19 10:07:59 +0200 |
---|---|---|
committer | Stephen Gallagher <sgallagh@redhat.com> | 2010-05-20 14:04:56 -0400 |
commit | e2f32ec2253f6034cc6290ed38a4a3a87a374014 (patch) | |
tree | e1919593472767c0f855ec6ff385a8fc8e2e6aff /src/providers/ldap | |
parent | 98f575bfe887af5ec0a4a474386e79b6e34b637d (diff) | |
download | sssd-e2f32ec2253f6034cc6290ed38a4a3a87a374014.tar.gz sssd-e2f32ec2253f6034cc6290ed38a4a3a87a374014.tar.xz sssd-e2f32ec2253f6034cc6290ed38a4a3a87a374014.zip |
Fix check if LDAP id provider is already initialized
Diffstat (limited to 'src/providers/ldap')
-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 af98d8e52..3079caade 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; |