summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorStefan Metzmacher <metze@samba.org>2005-01-10 10:45:39 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 13:08:37 -0500
commit047d41cc490c05dd07eeab29913b3f2882887678 (patch)
treef114a6af3760cd27134cfceb1c9d9424423ea765
parentd45e54ea576f4fc928dd2e980a591a72887431f2 (diff)
downloadsamba-047d41cc490c05dd07eeab29913b3f2882887678.tar.gz
samba-047d41cc490c05dd07eeab29913b3f2882887678.tar.bz2
samba-047d41cc490c05dd07eeab29913b3f2882887678.zip
r4634: disable sign and seal in ldap_server for now.
metze (This used to be commit 872c687184e5317b4477a184e0a954e6de0b8e9e)
-rw-r--r--source4/ldap_server/ldap_bind.c12
1 files changed, 6 insertions, 6 deletions
diff --git a/source4/ldap_server/ldap_bind.c b/source4/ldap_server/ldap_bind.c
index f4be5b5242..f397b7611b 100644
--- a/source4/ldap_server/ldap_bind.c
+++ b/source4/ldap_server/ldap_bind.c
@@ -55,8 +55,8 @@ static NTSTATUS ldapsrv_BindSASL(struct ldapsrv_call *call)
const char *errstr;
NTSTATUS status = NT_STATUS_OK;
NTSTATUS sasl_status;
- BOOL ret;
-
+/* BOOL ret;
+*/
DEBUG(10, ("BindSASL dn: %s\n",req->dn));
if (!call->conn->gensec) {
@@ -70,9 +70,9 @@ static NTSTATUS ldapsrv_BindSASL(struct ldapsrv_call *call)
gensec_set_target_service(call->conn->gensec, "ldap");
- gensec_want_feature(call->conn->gensec, GENSEC_FEATURE_SIGN);
+ /*gensec_want_feature(call->conn->gensec, GENSEC_FEATURE_SIGN);
gensec_want_feature(call->conn->gensec, GENSEC_FEATURE_SEAL);
-
+ */
status = gensec_start_mech_by_sasl_name(call->conn->gensec, req->creds.SASL.mechanism);
if (!NT_STATUS_IS_OK(status)) {
DEBUG(1, ("Failed to start GENSEC SASL[%s] server code: %s\n",
@@ -122,7 +122,7 @@ reply:
return status;
}
- ret = ldapsrv_append_to_buf(&conn->sasl_out_buffer, conn->out_buffer.data, conn->out_buffer.length);
+/* ret = ldapsrv_append_to_buf(&conn->sasl_out_buffer, conn->out_buffer.data, conn->out_buffer.length);
if (!ret) {
return NT_STATUS_NO_MEMORY;
}
@@ -130,7 +130,7 @@ reply:
if (NT_STATUS_IS_OK(status)) {
status = gensec_session_info(conn->gensec, &conn->session_info);
}
-
+*/
return status;
}