diff options
author | Jean-François Micouleau <jfm@samba.org> | 2001-02-10 15:58:22 +0000 |
---|---|---|
committer | Jean-François Micouleau <jfm@samba.org> | 2001-02-10 15:58:22 +0000 |
commit | 13eefb97f5827bb9d0be3151aec49cc263f59fea (patch) | |
tree | 97d78fb89e0a6aadda2867c19dfa72675c0f9538 /source/rpc_client/cli_connect.c | |
parent | 02901750dd2bb29ea7ebc5c5e34ba0ed3118f8d5 (diff) | |
download | samba-13eefb97f5827bb9d0be3151aec49cc263f59fea.tar.gz samba-13eefb97f5827bb9d0be3151aec49cc263f59fea.tar.xz samba-13eefb97f5827bb9d0be3151aec49cc263f59fea.zip |
rpcclient doing 2 RPC BIND in a row. Fixed it, W2K doesn't like that !
Fixed also rpcclient's getprinter buffer size. It used to be correct a
long time ago. I guess the one who changed that made a mistake.
J.F.
Diffstat (limited to 'source/rpc_client/cli_connect.c')
-rw-r--r-- | source/rpc_client/cli_connect.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/source/rpc_client/cli_connect.c b/source/rpc_client/cli_connect.c index 0eceda4c4cf..c8021b97927 100644 --- a/source/rpc_client/cli_connect.c +++ b/source/rpc_client/cli_connect.c @@ -177,13 +177,14 @@ static struct cli_connection *cli_con_get(const char *srv_name, { con->auth = &cli_noauth_fns; } - +#if 0 if (!rpc_pipe_bind(con->pCli_state, pipe_name, global_myname)) { DEBUG(0, ("rpc_pipe_bind failed\n")); cli_connection_free(con); return NULL; } +#endif } else { |