diff options
author | Stephen Gallagher <sgallagh@redhat.com> | 2010-04-15 14:21:54 -0400 |
---|---|---|
committer | Stephen Gallagher <sgallagh@redhat.com> | 2010-04-16 15:15:34 -0400 |
commit | 264be69c7615a1f65a21805b95a9dbd2736d1fb4 (patch) | |
tree | 223e59b96a67efca60acc7903ccc02bc88405d2e /src/providers/ipa | |
parent | 2a2f38ef88d78a36da6692d9c9a5af670d517a8e (diff) | |
download | sssd-264be69c7615a1f65a21805b95a9dbd2736d1fb4.tar.gz sssd-264be69c7615a1f65a21805b95a9dbd2736d1fb4.tar.bz2 sssd-264be69c7615a1f65a21805b95a9dbd2736d1fb4.zip |
Make ID provider init functions clearer
Using sssm_*_init() as the name of the initialization function for
identity providers was a holdover from earlier development when we
thought we would only have a single "provider" entry in the config
file.
As we have now separated out the initialization functions for
auth, chpass and access, we should rename sssm_*_init() to
sssm_*_id_init() for a cleaner interface.
Diffstat (limited to 'src/providers/ipa')
-rw-r--r-- | src/providers/ipa/ipa_init.c | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/src/providers/ipa/ipa_init.c b/src/providers/ipa/ipa_init.c index 10b9257a..1689ac28 100644 --- a/src/providers/ipa/ipa_init.c +++ b/src/providers/ipa/ipa_init.c @@ -92,9 +92,9 @@ int common_ipa_init(struct be_ctx *bectx) return EOK; } -int sssm_ipa_init(struct be_ctx *bectx, - struct bet_ops **ops, - void **pvt_data) +int sssm_ipa_id_init(struct be_ctx *bectx, + struct bet_ops **ops, + void **pvt_data) { struct sdap_id_ctx *ctx; int ret; @@ -263,9 +263,9 @@ int sssm_ipa_access_init(struct be_ctx *bectx, return ENOMEM; } - ret = sssm_ipa_init(bectx, ops, (void **) &ipa_access_ctx->sdap_ctx); + ret = sssm_ipa_id_init(bectx, ops, (void **) &ipa_access_ctx->sdap_ctx); if (ret != EOK) { - DEBUG(1, ("sssm_ipa_init failed.\n")); + DEBUG(1, ("sssm_ipa_id_init failed.\n")); goto done; } |