summaryrefslogtreecommitdiff
path: root/source3/nmbsync.c
diff options
context:
space:
mode:
authorAndrew Tridgell <tridge@samba.org>1997-11-01 13:22:16 +0000
committerAndrew Tridgell <tridge@samba.org>1997-11-01 13:22:16 +0000
commit224c40a52335bf1afc7662183900e143307aa5be (patch)
treec137653f344bf5e3f0e9f78745144c03eb367119 /source3/nmbsync.c
parent00247250052d0f7b76b0478eb08f63844cd13dc5 (diff)
downloadsamba-224c40a52335bf1afc7662183900e143307aa5be.tar.gz
samba-224c40a52335bf1afc7662183900e143307aa5be.tar.bz2
samba-224c40a52335bf1afc7662183900e143307aa5be.zip
a simple SMB torture tester. This will allow us to evaluate locking
techniques more accurately. (This used to be commit 054e3b2ae3a8cfb98fde72becef9b05de34d2ba7)
Diffstat (limited to 'source3/nmbsync.c')
-rw-r--r--source3/nmbsync.c5
1 files changed, 1 insertions, 4 deletions
diff --git a/source3/nmbsync.c b/source3/nmbsync.c
index 5fa41e127a..c1db37ff5c 100644
--- a/source3/nmbsync.c
+++ b/source3/nmbsync.c
@@ -60,7 +60,6 @@ void sync_browse_lists(struct subnet_record *d, struct work_record *work,
char *name, int nm_type, struct in_addr ip, BOOL local)
{
extern fstring local_machine;
- fstring share;
static struct cli_state cli;
uint32 local_type = local ? SV_TYPE_LOCAL_LIST_ONLY : 0;
@@ -97,9 +96,7 @@ void sync_browse_lists(struct subnet_record *d, struct work_record *work,
return;
}
- sprintf(share,"\\\\%s\\IPC$", name);
-
- if (!cli_send_tconX(&cli, share, "IPC", "", 1)) {
+ if (!cli_send_tconX(&cli, "IPC$", "IPC", "", 1)) {
DEBUG(1,("%s refused browse sync IPC$ connect\n", name));
cli_shutdown(&cli);
return;