mirror of
https://github.com/samba-team/samba.git
synced 2025-03-09 08:58:35 +03:00
r3079: make code more pretty :-)
Andrew Bartlett
This commit is contained in:
parent
2df85686f5
commit
9c911b361c
@ -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