mirror of
https://github.com/samba-team/samba.git
synced 2025-03-12 20:58:37 +03:00
r3079: make code more pretty :-)
Andrew Bartlett (This used to be commit 9c911b361c4dbb058eb48150c113c2e95b8053da)
This commit is contained in:
parent
8839496790
commit
d0d86b5348
@ -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)) {
|
||||
|
@ -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;
|
||||
|
Loading…
x
Reference in New Issue
Block a user