diff options
author | Luke Leighton <lkcl@samba.org> | 1999-12-04 19:14:37 +0000 |
---|---|---|
committer | Luke Leighton <lkcl@samba.org> | 1999-12-04 19:14:37 +0000 |
commit | d923bc8da2cf996408194d98381409191dd81a16 (patch) | |
tree | 916b7cf8cd4b997136b801a4da10c616e0f1b3d2 /source/rpc_client/cli_use.c | |
parent | 06390e792cd8aa57a91c3a3d1d267fd1bcdc17a1 (diff) | |
download | samba-d923bc8da2cf996408194d98381409191dd81a16.tar.gz samba-d923bc8da2cf996408194d98381409191dd81a16.tar.xz samba-d923bc8da2cf996408194d98381409191dd81a16.zip |
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).
Diffstat (limited to 'source/rpc_client/cli_use.c')
-rw-r--r-- | source/rpc_client/cli_use.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/source/rpc_client/cli_use.c b/source/rpc_client/cli_use.c index 2072bfe9577..1dc39f3cb24 100644 --- a/source/rpc_client/cli_use.c +++ b/source/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; } |