Matt McCutchen's Web Site
/
rsync
/
rsync.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
5037cf3
)
- Call auth_server() with its new "host" arg.
author
Wayne Davison
<wayned@samba.org>
Sat, 9 Apr 2005 18:11:25 +0000
(18:11 +0000)
committer
Wayne Davison
<wayned@samba.org>
Sat, 9 Apr 2005 18:11:25 +0000
(18:11 +0000)
- Don't log an auth-failed error -- auth_server() now handles that.
clientserver.c
patch
|
blob
|
blame
|
history
diff --git
a/clientserver.c
b/clientserver.c
index
5286927
..
7c46c70
100644
(file)
--- a/
clientserver.c
+++ b/
clientserver.c
@@
-268,11
+268,9
@@
static int rsync_module(int f_in, int f_out, int i)
return -1;
}
- auth_user = auth_server(f_in, f_out, i, addr, "@RSYNCD: AUTHREQD ");
+ auth_user = auth_server(f_in, f_out, i,
host,
addr, "@RSYNCD: AUTHREQD ");
if (!auth_user) {
- rprintf(FLOG, "auth failed on module %s from %s (%s)\n",
- name, host, addr);
io_printf(f_out, "@ERROR: auth failed on module %s\n", name);
return -1;
}