summaryrefslogtreecommitdiff
path: root/source3/rpcclient
diff options
context:
space:
mode:
authorVolker Lendecke <vl@samba.org>2009-10-31 19:28:16 +0100
committerVolker Lendecke <vl@samba.org>2009-11-07 09:14:15 +0100
commit2aa0af98677389359ee004c8b0030ab4faf0da98 (patch)
tree5e596989f4f93d8350d0fbbc6d6bca1474e77ac4 /source3/rpcclient
parentbd2ffb1c7a70ef9063b99a9318b3e185ddda84fe (diff)
downloadsamba-2aa0af98677389359ee004c8b0030ab4faf0da98.tar.gz
samba-2aa0af98677389359ee004c8b0030ab4faf0da98.tar.bz2
samba-2aa0af98677389359ee004c8b0030ab4faf0da98.zip
s3: get_pipe_name_from_iface -> get_pipe_name_from_syntax
Diffstat (limited to 'source3/rpcclient')
-rw-r--r--source3/rpcclient/rpcclient.c10
1 files changed, 6 insertions, 4 deletions
diff --git a/source3/rpcclient/rpcclient.c b/source3/rpcclient/rpcclient.c
index 20ea8a05e7..dbf7f1ff7e 100644
--- a/source3/rpcclient/rpcclient.c
+++ b/source3/rpcclient/rpcclient.c
@@ -678,15 +678,16 @@ static NTSTATUS do_cmd(struct cli_state *cli,
default:
DEBUG(0, ("Could not initialise %s. Invalid "
"auth type %u\n",
- get_pipe_name_from_iface(
+ get_pipe_name_from_syntax(
+ talloc_tos(),
cmd_entry->interface),
pipe_default_auth_type ));
return NT_STATUS_UNSUCCESSFUL;
}
if (!NT_STATUS_IS_OK(ntresult)) {
DEBUG(0, ("Could not initialise %s. Error was %s\n",
- get_pipe_name_from_iface(
- cmd_entry->interface),
+ get_pipe_name_from_syntax(
+ talloc_tos(), cmd_entry->interface),
nt_errstr(ntresult) ));
return ntresult;
}
@@ -716,7 +717,8 @@ static NTSTATUS do_cmd(struct cli_state *cli,
if (!NT_STATUS_IS_OK(ntresult)) {
DEBUG(0, ("Could not initialise credentials for %s.\n",
- get_pipe_name_from_iface(
+ get_pipe_name_from_syntax(
+ talloc_tos(),
cmd_entry->interface)));
return ntresult;
}