diff options
author | Stefan Metzmacher <metze@samba.org> | 2004-10-07 15:13:20 +0000 |
---|---|---|
committer | Gerald (Jerry) Carter <jerry@samba.org> | 2007-10-10 12:59:38 -0500 |
commit | 6aa4a9bd1648237cac01724932efdd991786441e (patch) | |
tree | 9dbcfd37ed10398c6c9f42da0907d0f362119b34 /source4/libcli/ldap | |
parent | dba5773d9d0b2a92938b8f3c434a4d6ef17cc236 (diff) | |
download | samba-6aa4a9bd1648237cac01724932efdd991786441e.tar.gz samba-6aa4a9bd1648237cac01724932efdd991786441e.tar.bz2 samba-6aa4a9bd1648237cac01724932efdd991786441e.zip |
r2853: add torture test to find the defaultNamingContext on the RootDSE
try a sasl sealed CompareRequest
abartlet: we need to check how SINGING only can work,
it failed for me:-(
metze
(This used to be commit 1dabd04e265bbc1e8335f816708c2639746d9afd)
Diffstat (limited to 'source4/libcli/ldap')
-rw-r--r-- | source4/libcli/ldap/ldap.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/source4/libcli/ldap/ldap.c b/source4/libcli/ldap/ldap.c index bea78a8928..b589b6dd6d 100644 --- a/source4/libcli/ldap/ldap.c +++ b/source4/libcli/ldap/ldap.c @@ -1481,6 +1481,8 @@ int ldap_bind_sasl(struct ldap_connection *conn, const char *username, const cha return result; } + gensec_want_feature(conn->gensec, GENSEC_WANT_SIGN|GENSEC_WANT_SEAL); + status = gensec_set_domain(conn->gensec, domain); if (!NT_STATUS_IS_OK(status)) { DEBUG(1, ("Failed to start set GENSEC client domain to %s: %s\n", |