diff options
author | Jakub Hrozek <jhrozek@redhat.com> | 2012-11-19 10:26:18 +0100 |
---|---|---|
committer | Jakub Hrozek <jhrozek@redhat.com> | 2012-11-20 08:19:37 +0100 |
commit | c7119467d0a0d9e24a887d43865bbbbe1d0ca680 (patch) | |
tree | 7c1cc3433e8ea23683823fa51bc76d958fb97f70 /src/providers/ldap/ldap_common.h | |
parent | 5150324c4f4ff6d40ed1e97a61026fb6a21dcbbb (diff) | |
download | sssd-c7119467d0a0d9e24a887d43865bbbbe1d0ca680.tar.gz sssd-c7119467d0a0d9e24a887d43865bbbbe1d0ca680.tar.xz sssd-c7119467d0a0d9e24a887d43865bbbbe1d0ca680.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.h | 7 |
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_ */ |