diff options
-rw-r--r-- | source3/nsswitch/winbindd_cm.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source3/nsswitch/winbindd_cm.c b/source3/nsswitch/winbindd_cm.c index 9a1831e5459..988d6d6b189 100644 --- a/source3/nsswitch/winbindd_cm.c +++ b/source3/nsswitch/winbindd_cm.c @@ -360,7 +360,7 @@ static NTSTATUS cm_prepare_connection(const struct winbindd_domain *domain, /* cache the server name for later connections */ - saf_store( (*cli)->domain, (*cli)->desthost ); + saf_store( domain->name, (*cli)->desthost ); if (!cli_send_tconX(*cli, "IPC$", "IPC", "", 0)) { |