1
0
mirror of https://github.com/samba-team/samba.git synced 2024-12-22 13:34:15 +03:00

r18162: Close socket when the CLDAP request has failed.

Guenther
This commit is contained in:
Günther Deschner 2006-09-06 11:53:13 +00:00 committed by Gerald (Jerry) Carter
parent 95788cb291
commit 714ea3ceab

View File

@ -297,6 +297,7 @@ BOOL ads_cldap_netlogon(const char *server, const char *realm, struct cldap_net
ret = send_cldap_netlogon(sock, realm, global_myname(), 6);
if (ret != 0) {
close(sock);
return False;
}
ret = recv_cldap_netlogon(sock, reply);