mirror of
https://github.com/samba-team/samba.git
synced 2025-01-11 05:18:09 +03:00
s4:libcli/ldap: the tls code steals the original socket on its own now
metze
This commit is contained in:
parent
471e67a733
commit
a3bcbd1775
@ -417,10 +417,7 @@ static void ldap_connect_got_sock(struct composite_context *ctx,
|
||||
return;
|
||||
}
|
||||
|
||||
/* the original socket, must become a child of the tls socket */
|
||||
tmp_socket = conn->sock;
|
||||
conn->sock = talloc_steal(conn, tls_socket);
|
||||
talloc_steal(conn->sock, tmp_socket);
|
||||
}
|
||||
|
||||
conn->packet = packet_init(conn);
|
||||
|
Loading…
Reference in New Issue
Block a user