summaryrefslogtreecommitdiffstats
path: root/src/providers/ldap/ldap_common.h
diff options
context:
space:
mode:
authorJakub Hrozek <jhrozek@redhat.com>2012-11-19 10:26:18 +0100
committerJakub Hrozek <jhrozek@redhat.com>2012-11-19 22:19:29 +0100
commite0d861963e10c5aba79ad87f8c48b0ce1bec06ca (patch)
treec286fb4d0eb6d0955644e85f4042c35eecdf0687 /src/providers/ldap/ldap_common.h
parent73291a9e0b9bcaf56e9858c7ea2226b5b0f6e26c (diff)
downloadsssd-e0d861963e10c5aba79ad87f8c48b0ce1bec06ca.tar.gz
sssd-e0d861963e10c5aba79ad87f8c48b0ce1bec06ca.tar.xz
sssd-e0d861963e10c5aba79ad87f8c48b0ce1bec06ca.zip
LDAP: Provide a common sdap_set_sasl_options init function
The AD and IPA initialization functions shared the same code. This patch moves the code into a common initialization function.
Diffstat (limited to 'src/providers/ldap/ldap_common.h')
-rw-r--r--src/providers/ldap/ldap_common.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/src/providers/ldap/ldap_common.h b/src/providers/ldap/ldap_common.h
index 034dc995b..86079fa6a 100644
--- a/src/providers/ldap/ldap_common.h
+++ b/src/providers/ldap/ldap_common.h
@@ -228,4 +228,11 @@ sdap_attrs_get_sid_str(TALLOC_CTX *mem_ctx,
struct sysdb_attrs *sysdb_attrs,
const char *sid_attr,
char **_sid_str);
+
+errno_t
+sdap_set_sasl_options(struct sdap_options *id_opts,
+ char *default_primary,
+ char *default_realm,
+ const char *keytab_path);
+
#endif /* _LDAP_COMMON_H_ */