summaryrefslogtreecommitdiff
path: root/server/providers/ldap/ldap_auth.c
diff options
context:
space:
mode:
Diffstat (limited to 'server/providers/ldap/ldap_auth.c')
-rw-r--r--server/providers/ldap/ldap_auth.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/server/providers/ldap/ldap_auth.c b/server/providers/ldap/ldap_auth.c
index ae582e5f..80726e77 100644
--- a/server/providers/ldap/ldap_auth.c
+++ b/server/providers/ldap/ldap_auth.c
@@ -37,6 +37,7 @@
#include "util/util.h"
#include "db/sysdb.h"
#include "providers/dp_backend.h"
+#include "providers/ldap/ldap_common.h"
#include "providers/ldap/sdap_async.h"
struct sdap_auth_ctx {
@@ -643,7 +644,7 @@ int sssm_ldap_auth_init(struct be_ctx *bectx,
ctx->be = bectx;
- ret = sdap_get_options(ctx, bectx->cdb, bectx->conf_path,
+ ret = ldap_get_options(ctx, bectx->cdb, bectx->conf_path,
&ctx->opts);
if (ret != EOK) goto done;