diff options
Diffstat (limited to 'server/providers/ldap_provider.c')
-rw-r--r-- | server/providers/ldap_provider.c | 15 |
1 files changed, 5 insertions, 10 deletions
diff --git a/server/providers/ldap_provider.c b/server/providers/ldap_provider.c index 884f843e..dd8ac18d 100644 --- a/server/providers/ldap_provider.c +++ b/server/providers/ldap_provider.c @@ -93,16 +93,6 @@ static int get_pw_name(struct be_ctx *be_ctx, struct ldap_ctx *ldap_ctx, char *n return ret; } -static int ldap_check_online(struct be_ctx *be_ctx, int *reply); -static int ldap_get_account_info(struct be_ctx *be_ctx, - int entry_type, int attr_type, - int filter_type, char *filter_value); - -struct be_mod_ops ldap_mod_ops = { - .check_online = ldap_check_online, - .get_account_info = ldap_get_account_info -}; - static int ldap_check_online(struct be_ctx *be_ctx, int *reply) { *reply = MOD_ONLINE; @@ -151,6 +141,11 @@ static int ldap_get_account_info(struct be_ctx *be_ctx, return EOK; } +struct be_mod_ops ldap_mod_ops = { + .check_online = ldap_check_online, + .get_account_info = ldap_get_account_info +}; + int sssm_ldap_init(struct be_ctx *bectx, struct be_mod_ops **ops, void **pvt_data) { struct ldap_ctx *ctx; |