git.samba.org
/
kai
/
samba.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(from parent 1:
e4bdb7e
)
s3-libgpo: enable LDAP sign in ads_get_gpo_list().
author
Günther Deschner
<gd@samba.org>
Wed, 2 Sep 2009 19:21:26 +0000
(21:21 +0200)
committer
Günther Deschner
<gd@samba.org>
Thu, 20 May 2010 16:46:07 +0000
(18:46 +0200)
Guenther
libgpo/gpo_ldap.c
patch
|
blob
|
history
diff --git
a/libgpo/gpo_ldap.c
b/libgpo/gpo_ldap.c
index 2976826f1ac37967807c7124515275b8a0e25138..fe14c5e49a39876cd8697368f534ea81a661f689 100644
(file)
--- 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 */