s3-epmd: Cleanup endpoints on service pipe disconnect.
authorAndreas Schneider <asn@samba.org>
Thu, 17 Mar 2011 10:14:12 +0000 (11:14 +0100)
committerSimo Sorce <idra@samba.org>
Wed, 23 Mar 2011 16:19:22 +0000 (17:19 +0100)
source3/rpc_server/epmd.c

index 5b0f4c4a5240066b310aac6de987b54d92da580e..0cafccb4c0e2116546b4664462f5c7822b69d942 100644 (file)
@@ -264,7 +264,7 @@ void start_epmd(struct tevent_context *ev_ctx,
                                         msg_ctx,
                                         ndr_table_epmapper.syntax_id,
                                         "EPMAPPER",
-                                        NULL);
+                                        srv_epmapper_delete_endpoints);
        if (!ok) {
                DEBUG(0, ("Failed to open epmd ncalrpc pipe!\n"));
                exit(1);