s3: Do not kill the whole smb session if a machine pwchange failed
authorVolker Lendecke <vl@samba.org>
Thu, 19 Nov 2009 16:56:46 +0000 (17:56 +0100)
committerVolker Lendecke <vl@samba.org>
Thu, 19 Nov 2009 18:04:38 +0000 (19:04 +0100)
source3/winbindd/winbindd_dual.c

index a832451e0848e09a7c3b8e916a0f0fd429ce929a..07a49e0e0889d3f29689d96e248bc569d80d704e 100644 (file)
@@ -1106,7 +1106,7 @@ static void machine_password_change_handler(struct event_context *ctx,
                                "password was changed and we didn't know it. "
                                "Killing connections to domain %s\n",
                                child->domain->name));
-                       invalidate_cm_connection(&child->domain->conn);
+                       TALLOC_FREE(child->domain->conn.netlogon_pipe);
                }
        } else {
                DEBUG(10,("machine_password_change_handler: "