diff options
author | Sumit Bose <sbose@redhat.com> | 2014-02-28 10:05:34 +0100 |
---|---|---|
committer | Jakub Hrozek <jhrozek@redhat.com> | 2014-03-02 21:17:59 +0100 |
commit | 77cb1c56f13a41d1920efb2946db10a00ed63c9c (patch) | |
tree | 80d711d902538acc89f31444d3c90d496204ed1f /src/providers/ad/ad_common.h | |
parent | 056402b9937e43054a3b5780fe9eff2aa9ef84ef (diff) | |
download | sssd-77cb1c56f13a41d1920efb2946db10a00ed63c9c.tar.gz sssd-77cb1c56f13a41d1920efb2946db10a00ed63c9c.tar.xz sssd-77cb1c56f13a41d1920efb2946db10a00ed63c9c.zip |
SUDO: AD provider
This patch adds the sudo target to the AD provider. The main reason is
to cover different default settings in the LDAP and AD provider. E.g.
the default for ldap_id_mapping is True in the AD provider and False
in the LDAP provider. If ldap_id_mapping was not set explicitly in the
config file both components worked with different setting.
Fixes https://fedorahosted.org/sssd/ticket/2256
Reviewed-by: Jakub Hrozek <jhrozek@redhat.com>
Reviewed-by: Lukáš Slebodník <lslebodn@redhat.com>
Reviewed-by: Pavel Březina <pbrezina@redhat.com>
(cherry picked from commit 61804568ce5ede3b1a699cda17c033dd6c23f0e3)
Diffstat (limited to 'src/providers/ad/ad_common.h')
-rw-r--r-- | src/providers/ad/ad_common.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/providers/ad/ad_common.h b/src/providers/ad/ad_common.h index d370cef69..bc11e54b0 100644 --- a/src/providers/ad/ad_common.h +++ b/src/providers/ad/ad_common.h @@ -128,4 +128,8 @@ errno_t ad_dyndns_init(struct be_ctx *be_ctx, struct ad_options *ctx); void ad_dyndns_timer(void *pvt); +int ad_sudo_init(struct be_ctx *be_ctx, + struct ad_id_ctx *id_ctx, + struct bet_ops **ops, + void **pvt_data); #endif /* AD_COMMON_H_ */ |