diff options
Diffstat (limited to 'source3')
-rw-r--r-- | source3/utils/net.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source3/utils/net.c b/source3/utils/net.c index 032c65bc59..99a289bcd4 100644 --- a/source3/utils/net.c +++ b/source3/utils/net.c @@ -397,7 +397,7 @@ struct cli_state *net_make_ipc_connection(unsigned flags) /* store the server in the affinity cache if it was a PDC */ - if ( flags & NET_FLAGS_PDC ) + if ( (flags & NET_FLAGS_PDC) && NT_STATUS_IS_OK(nt_status) ) saf_store( cli->server_domain, cli->desthost ); SAFE_FREE(server_name); |