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:25:40 +0100
commit9f4df8c7dd337659772ee8c062c490ea473c471d (patch)
tree3ba74b40bee9ad2d854cb828e31c53b3823b495e /src/providers/ldap/ldap_common.h
parent2387cce9ac7de1c94a4a794e9846c35a9eae2a41 (diff)
downloadsssd-9f4df8c7dd337659772ee8c062c490ea473c471d.tar.gz
sssd-9f4df8c7dd337659772ee8c062c490ea473c471d.tar.xz
sssd-9f4df8c7dd337659772ee8c062c490ea473c471d.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_ */