1
0
mirror of https://github.com/samba-team/samba.git synced 2025-12-21 20:23:50 +03:00

domain_name is a ref pointer.

Guenther
This commit is contained in:
Günther Deschner
2007-11-30 19:52:27 +01:00
committed by Volker Lendecke
parent 88a01bd810
commit b350e482b9

View File

@@ -45,6 +45,11 @@ WERROR NetJoinDomain(const char *server_name,
goto done; goto done;
} }
if (!domain_name) {
werr = WERR_INVALID_PARAM;
goto done;
}
status = net_make_ipc_connection_ex(domain_name, status = net_make_ipc_connection_ex(domain_name,
server_name, server_name,
NULL, 0, &cli); NULL, 0, &cli);