git.samba.org
/
metze
/
samba
/
wip.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
ac379bc
)
ldap sign|seal
author
Stefan Metzmacher
<metze@samba.org>
Mon, 4 May 2009 09:21:41 +0000
(11:21 +0200)
committer
Stefan Metzmacher
<metze@samba.org>
Mon, 22 Apr 2013 09:20:01 +0000
(11:20 +0200)
source4/libcli/ldap/ldap_bind.c
patch
|
blob
|
history
diff --git
a/source4/libcli/ldap/ldap_bind.c
b/source4/libcli/ldap/ldap_bind.c
index b355e18e0d31ba9b50e74dc396a5d84720d91fc1..48e9187e7ce43fa7902a7af23cde2f7e39eef711 100644
(file)
--- a/
source4/libcli/ldap/ldap_bind.c
+++ b/
source4/libcli/ldap/ldap_bind.c
@@
-283,6
+283,7
@@
try_logon_again:
cli_credentials_set_gensec_features(creds, old_gensec_features & ~(GENSEC_FEATURE_SIGN|GENSEC_FEATURE_SEAL));
}
+ cli_credentials_set_gensec_features(creds, old_gensec_features | GENSEC_FEATURE_SIGN|GENSEC_FEATURE_SEAL);
/* this call also sets the gensec_want_features */
status = gensec_set_credentials(conn->gensec, creds);
if (!NT_STATUS_IS_OK(status)) {