summaryrefslogtreecommitdiff
path: root/source4/libcli/ldap/ldap_client.c
diff options
context:
space:
mode:
authorStefan Metzmacher <metze@samba.org>2004-12-06 15:44:17 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 13:06:23 -0500
commit0ad10aec63201c45b09f91541e9eee17fcf7ede5 (patch)
tree3c1dd8ce737deec71af739f0bd61ecc536bb5c79 /source4/libcli/ldap/ldap_client.c
parenta7e97c1eccf7f8b7dca701349a7b0dadd2ba309a (diff)
downloadsamba-0ad10aec63201c45b09f91541e9eee17fcf7ede5.tar.gz
samba-0ad10aec63201c45b09f91541e9eee17fcf7ede5.tar.bz2
samba-0ad10aec63201c45b09f91541e9eee17fcf7ede5.zip
r4079: implement the gensec_have_feature() correctly by asking
the backend what is actually in use metze (This used to be commit 6f3eb7bc03609108b9e0ea5676fca3d04140e737)
Diffstat (limited to 'source4/libcli/ldap/ldap_client.c')
-rw-r--r--source4/libcli/ldap/ldap_client.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source4/libcli/ldap/ldap_client.c b/source4/libcli/ldap/ldap_client.c
index 88c84d880b..a9b20b4ea8 100644
--- a/source4/libcli/ldap/ldap_client.c
+++ b/source4/libcli/ldap/ldap_client.c
@@ -382,7 +382,7 @@ 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);
+ gensec_want_feature(conn->gensec, GENSEC_FEATURE_SIGN | GENSEC_FEATURE_SEAL);
status = gensec_set_domain(conn->gensec, domain);
if (!NT_STATUS_IS_OK(status)) {