summaryrefslogtreecommitdiffstats
path: root/src/providers/ldap/ldap_init.c
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:34 -0400
commit264be69c7615a1f65a21805b95a9dbd2736d1fb4 (patch)
tree223e59b96a67efca60acc7903ccc02bc88405d2e /src/providers/ldap/ldap_init.c
parent2a2f38ef88d78a36da6692d9c9a5af670d517a8e (diff)
downloadsssd-264be69c7615a1f65a21805b95a9dbd2736d1fb4.tar.gz
sssd-264be69c7615a1f65a21805b95a9dbd2736d1fb4.tar.xz
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/ldap/ldap_init.c')
-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;