diff options
-rw-r--r-- | source3/nsswitch/winbindd_cm.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/source3/nsswitch/winbindd_cm.c b/source3/nsswitch/winbindd_cm.c index 45cded75fa..90df5019d4 100644 --- a/source3/nsswitch/winbindd_cm.c +++ b/source3/nsswitch/winbindd_cm.c @@ -448,6 +448,8 @@ static void find_cm_connection(const char *domain, const char *pipe_name, { struct winbindd_cm_conn *conn, conn_temp; + *conn_out = NULL; + for (conn = cm_conns; conn; conn = conn->next) { if (strequal(conn->domain, domain) && strequal(conn->pipe_name, pipe_name)) { |