1
0
mirror of https://github.com/samba-team/samba.git synced 2025-03-09 08:58:35 +03:00

s3:cli_netlogon: don't change remote_name in rpccli_setup_netlogon_creds_locked()

This was missing in commit 628d7b6f2e626c9c530473d06c038dfec9cbd17a.

We should not alter the name to '<UNKNOWN>'!

Signed-off-by: Stefan Metzmacher <metze@samba.org>
Reviewed-by: Ralph Boehme <slow@samba.org>
This commit is contained in:
Stefan Metzmacher 2024-10-30 13:33:45 +00:00
parent efbbe8d6f8
commit 923df3c3f5

View File

@ -181,12 +181,6 @@ static NTSTATUS rpccli_setup_netlogon_creds_locked(
action = "overwrite";
}
if (cli != NULL) {
remote_name = smbXcli_conn_remote_name(cli->conn);
} else {
remote_name = "<UNKNOWN>";
}
DEBUG(5,("%s: %s cached netlogon_creds cli[%s/%s] to %s\n",
__FUNCTION__, action,
creds->account_name, creds->computer_name,