From 3c1e87a29a776f5add9e7606dca3b909f5ea7445 Mon Sep 17 00:00:00 2001 From: Günther Deschner Date: Wed, 2 Sep 2009 21:21:26 +0200 Subject: s3-libgpo: enable LDAP sign in ads_get_gpo_list(). Guenther --- libgpo/gpo_ldap.c | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'libgpo') diff --git a/libgpo/gpo_ldap.c b/libgpo/gpo_ldap.c index 2976826f1a..fe14c5e49a 100644 --- a/libgpo/gpo_ldap.c +++ b/libgpo/gpo_ldap.c @@ -726,6 +726,10 @@ ADS_STATUS ads_get_gpo_list(ADS_STRUCT *ads, return ADS_ERROR_NT(NT_STATUS_INVALID_PARAMETER); } + if (!ads_set_sasl_wrap_flags(ads, ADS_AUTH_SASL_SIGN)) { + return ADS_ERROR(LDAP_INVALID_CREDENTIALS); + } + DEBUG(10,("ads_get_gpo_list: getting GPO list for [%s]\n", dn)); /* (L)ocal */ -- cgit