diff options
author | Andrew Tridgell <tridge@samba.org> | 1997-11-01 13:22:16 +0000 |
---|---|---|
committer | Andrew Tridgell <tridge@samba.org> | 1997-11-01 13:22:16 +0000 |
commit | 224c40a52335bf1afc7662183900e143307aa5be (patch) | |
tree | c137653f344bf5e3f0e9f78745144c03eb367119 /source3/smbd | |
parent | 00247250052d0f7b76b0478eb08f63844cd13dc5 (diff) | |
download | samba-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/smbd')
-rw-r--r-- | source3/smbd/password.c | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/source3/smbd/password.c b/source3/smbd/password.c index 24ee52ed69..b759f68430 100644 --- a/source3/smbd/password.c +++ b/source3/smbd/password.c @@ -1560,7 +1560,6 @@ BOOL server_validate(char *user, char *domain, char *ntpass, int ntpasslen) { extern fstring local_machine; - fstring share; if (!cli.initialised) { DEBUG(1,("password server %s is not connected\n", cli.desthost)); @@ -1579,9 +1578,7 @@ BOOL server_validate(char *user, char *domain, } - sprintf(share,"\\\\%s\\IPC$", cli.desthost); - - if (!cli_send_tconX(&cli, share, "IPC", "", 1)) { + if (!cli_send_tconX(&cli, "IPC$", "IPC", "", 1)) { DEBUG(1,("password server %s refused IPC$ connect\n", cli.desthost)); return False; } |