diff options
Diffstat (limited to 'source3/lib')
-rw-r--r-- | source3/lib/netapi/joindomain.c | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/source3/lib/netapi/joindomain.c b/source3/lib/netapi/joindomain.c index fe05297ee1..bf2f8fce7e 100644 --- a/source3/lib/netapi/joindomain.c +++ b/source3/lib/netapi/joindomain.c @@ -45,6 +45,11 @@ WERROR NetJoinDomain(const char *server_name, goto done; } + if (!domain_name) { + werr = WERR_INVALID_PARAM; + goto done; + } + status = net_make_ipc_connection_ex(domain_name, server_name, NULL, 0, &cli); |