summaryrefslogtreecommitdiffstats
path: root/src/providers/ldap
diff options
context:
space:
mode:
authorStephen Gallagher <sgallagh@redhat.com>2010-04-15 14:21:54 -0400
committerStephen Gallagher <sgallagh@redhat.com>2010-04-16 15:15:41 -0400
commit51f72b7bb911a93859739905ba54de939c99dfb9 (patch)
tree0f774ae9ed5380962e1fdb3ed5544b9165897488 /src/providers/ldap
parente5f2cd88633a152b7b8133265ffdb217cdc3b8d7 (diff)
downloadsssd-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/ldap')
-rw-r--r--src/providers/ldap/ldap_init.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/providers/ldap/ldap_init.c b/src/providers/ldap/ldap_init.c
index b1f053fbc..b74ffc215 100644
--- a/src/providers/ldap/ldap_init.c
+++ b/src/providers/ldap/ldap_init.c
@@ -46,9 +46,9 @@ struct bet_ops sdap_chpass_ops = {
.finalize = sdap_shutdown
};
-int sssm_ldap_init(struct be_ctx *bectx,
- struct bet_ops **ops,
- void **pvt_data)
+int sssm_ldap_id_init(struct be_ctx *bectx,
+ struct bet_ops **ops,
+ void **pvt_data)
{
struct sdap_id_ctx *ctx;
const char *urls;