From f521205cb3d188fdcadcbd205dcfda4a7dcb89a0 Mon Sep 17 00:00:00 2001 From: Luke Leighton Date: Sat, 4 Dec 1999 19:14:37 +0000 Subject: jeremy is going to hate me for this. created an "nmb-agent" utility that, yes: it connects to the 137 socket and accepts unix socket connections which it redirects onto port 137. it uses the name_trn_id field to filter requests to the correct location. name_query() and name_status() are the first victims to use this feature (by specifying a file descriptor of -1). (This used to be commit d923bc8da2cf996408194d98381409191dd81a16) --- source3/rpc_client/cli_use.c | 1 + 1 file changed, 1 insertion(+) (limited to 'source3/rpc_client') diff --git a/source3/rpc_client/cli_use.c b/source3/rpc_client/cli_use.c index 2072bfe957..1dc39f3cb2 100644 --- a/source3/rpc_client/cli_use.c +++ b/source3/rpc_client/cli_use.c @@ -260,6 +260,7 @@ struct cli_state *cli_net_use_add(const char* srv_name, False, True)) { DEBUG(0,("cli_net_use_add: connection failed\n")); + cli->cli = NULL; cli_use_free(cli); return NULL; } -- cgit