mirror of
https://github.com/samba-team/samba.git
synced 2024-12-31 17:18:04 +03:00
libcli/auth: don't loose server_dns_domain in netlogon_creds_cli_context_global()
Signed-off-by: Stefan Metzmacher <metze@samba.org> Reviewed-by: Andreas Schneider <asn@samba.org>
This commit is contained in:
parent
544838ac5b
commit
aea024779f
@ -518,6 +518,10 @@ NTSTATUS netlogon_creds_cli_context_global(struct loadparm_context *lp_ctx,
|
||||
auth_level = DCERPC_AUTH_LEVEL_INTEGRITY;
|
||||
}
|
||||
|
||||
if (server_dns_domain == NULL) {
|
||||
server_dns_domain = "";
|
||||
}
|
||||
|
||||
status = netlogon_creds_cli_context_common(client_computer,
|
||||
client_account,
|
||||
type,
|
||||
@ -526,7 +530,7 @@ NTSTATUS netlogon_creds_cli_context_global(struct loadparm_context *lp_ctx,
|
||||
required_flags,
|
||||
server_computer,
|
||||
server_netbios_domain,
|
||||
"",
|
||||
server_dns_domain,
|
||||
mem_ctx,
|
||||
&context);
|
||||
if (!NT_STATUS_IS_OK(status)) {
|
||||
|
Loading…
Reference in New Issue
Block a user