From e0d861963e10c5aba79ad87f8c48b0ce1bec06ca Mon Sep 17 00:00:00 2001 From: Jakub Hrozek Date: Mon, 19 Nov 2012 10:26:18 +0100 Subject: 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. --- src/providers/ldap/ldap_common.h | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'src/providers/ldap/ldap_common.h') diff --git a/src/providers/ldap/ldap_common.h b/src/providers/ldap/ldap_common.h index 034dc995..86079fa6 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_ */ -- cgit