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:41 -0400 |
commit | 51f72b7bb911a93859739905ba54de939c99dfb9 (patch) | |
tree | 0f774ae9ed5380962e1fdb3ed5544b9165897488 /src/providers/ipa | |
parent | e5f2cd88633a152b7b8133265ffdb217cdc3b8d7 (diff) | |
download | sssd-51f72b7bb911a93859739905ba54de939c99dfb9.tar.gz sssd-51f72b7bb911a93859739905ba54de939c99dfb9.tar.xz sssd-51f72b7bb911a93859739905ba54de939c99dfb9.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 10b9257a2..1689ac28e 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; } |