diff options
Diffstat (limited to 'source4')
-rw-r--r-- | source4/libcli/ldap/ldap.c | 2 | ||||
-rw-r--r-- | source4/torture/ldap/common.c | 8 |
2 files changed, 5 insertions, 5 deletions
diff --git a/source4/libcli/ldap/ldap.c b/source4/libcli/ldap/ldap.c index 7e12f42f06..6e182c3843 100644 --- a/source4/libcli/ldap/ldap.c +++ b/source4/libcli/ldap/ldap.c @@ -1535,7 +1535,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_WANT_SIGN | GENSEC_WANT_SEAL); status = gensec_set_domain(conn->gensec, domain); if (!NT_STATUS_IS_OK(status)) { diff --git a/source4/torture/ldap/common.c b/source4/torture/ldap/common.c index 48e81b42fb..7051403abb 100644 --- a/source4/torture/ldap/common.c +++ b/source4/torture/ldap/common.c @@ -120,10 +120,10 @@ BOOL ldap_sasl_send_msg(struct ldap_connection *conn, struct ldap_message *msg, return False; status = gensec_seal_packet(conn->gensec, - msg->mem_ctx, - request.data, request.length, - request.data, request.length, - &creds); + msg->mem_ctx, + request.data, request.length, + request.data, request.length, + &creds); if (!NT_STATUS_IS_OK(status)) { DEBUG(0,("gensec_seal_packet: %s\n",nt_errstr(status))); return False; |