From 264be69c7615a1f65a21805b95a9dbd2736d1fb4 Mon Sep 17 00:00:00 2001 From: Stephen Gallagher Date: Thu, 15 Apr 2010 14:21:54 -0400 Subject: 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. --- src/providers/ipa/ipa_init.c | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'src/providers/ipa/ipa_init.c') 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; } -- cgit