git.samba.org
/
kai
/
samba.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
bce43d7
)
s3:libsmb: use cli_tree_connect() instead of cli_tcon_andx()
author
Stefan Metzmacher
<metze@samba.org>
Wed, 30 May 2012 08:20:11 +0000
(10:20 +0200)
committer
Stefan Metzmacher
<metze@samba.org>
Wed, 30 May 2012 08:24:57 +0000
(10:24 +0200)
cli_tree_connect() is more generic and uses what the server supports
metze
source3/libsmb/cliconnect.c
patch
|
blob
|
history
diff --git
a/source3/libsmb/cliconnect.c
b/source3/libsmb/cliconnect.c
index e45bf25702a5f718e2f9451fa395082d0bf1423d..9481e75e64ca5ec71529e2727a104d1c82db0861 100644
(file)
--- a/
source3/libsmb/cliconnect.c
+++ b/
source3/libsmb/cliconnect.c
@@
-2835,8
+2835,8
@@
NTSTATUS cli_full_connection(struct cli_state **output_cli,
}
if (service) {
- nt_status = cli_t
con_andx(cli, service, service_type, password
,
- pw_len);
+ nt_status = cli_t
ree_connect(cli, service, service_type
,
+
password,
pw_len);
if (!NT_STATUS_IS_OK(nt_status)) {
DEBUG(1,("failed tcon_X with %s\n", nt_errstr(nt_status)));
cli_shutdown(cli);