diff options
Diffstat (limited to 'source3/utils/smbcacls.c')
-rw-r--r-- | source3/utils/smbcacls.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/source3/utils/smbcacls.c b/source3/utils/smbcacls.c index 20333f772b..9e8cbb1ddd 100644 --- a/source3/utils/smbcacls.c +++ b/source3/utils/smbcacls.c @@ -711,8 +711,7 @@ struct cli_state *connect_one(char *share) ip = ipzero; /* have to open a new connection */ - if (!(c=cli_initialise(NULL)) || (cli_set_port(c, 139) == 0) || - !cli_connect(c, server, &ip)) { + if (!(c=cli_initialise(NULL)) || !cli_connect(c, server, &ip)) { DEBUG(0,("Connection to %s failed\n", server)); cli_shutdown(c); safe_free(c); |