From d92c50f6d75ae980b0d130134112a33e1584724c Mon Sep 17 00:00:00 2001 From: Stephen Gallagher Date: Wed, 27 Jun 2012 21:38:13 -0400 Subject: AD: Add AD auth and chpass providers These new providers take advantage of existing code for the KRB5 provider, providing sensible defaults for operating against an Active Directory 2008 R2 or later server. --- src/providers/ad/ad_common.h | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) (limited to 'src/providers/ad/ad_common.h') diff --git a/src/providers/ad/ad_common.h b/src/providers/ad/ad_common.h index fefb67b60..d34f498a0 100644 --- a/src/providers/ad/ad_common.h +++ b/src/providers/ad/ad_common.h @@ -60,7 +60,7 @@ struct ad_options { /* Auth and chpass Provider */ struct dp_option *auth; - struct ad_auth_ctx *auth_ctx; + struct krb5_ctx *auth_ctx; }; errno_t @@ -81,5 +81,10 @@ ad_get_id_options(struct ad_options *ad_opts, struct confdb_ctx *cdb, const char *conf_path, struct sdap_options **_opts); +errno_t +ad_get_auth_options(TALLOC_CTX *mem_ctx, + struct ad_options *ad_opts, + struct be_ctx *bectx, + struct dp_option **_opts); #endif /* AD_COMMON_H_ */ -- cgit