summaryrefslogtreecommitdiff
path: root/source3/smbd
diff options
context:
space:
mode:
authorJeremy Allison <jra@samba.org>2001-03-26 23:21:29 +0000
committerJeremy Allison <jra@samba.org>2001-03-26 23:21:29 +0000
commit7bdf197e6237704af2ecf2718ce482d0dd840365 (patch)
tree7ee28abad28ada39f3324832957deac901788055 /source3/smbd
parent1452c2d8c4a2124e4c97bb51a1e58bcfda620ef0 (diff)
downloadsamba-7bdf197e6237704af2ecf2718ce482d0dd840365.tar.gz
samba-7bdf197e6237704af2ecf2718ce482d0dd840365.tar.bz2
samba-7bdf197e6237704af2ecf2718ce482d0dd840365.zip
Patch from Massimo Sivilotti <mass@tanner.com> to log remote machine/ip on
connection fail. Jeremy. (This used to be commit 07cee46d1de1caaf6f9f1b6139dd21bcc5d67e8e)
Diffstat (limited to 'source3/smbd')
-rw-r--r--source3/smbd/service.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/source3/smbd/service.c b/source3/smbd/service.c
index 2c03d4e514..849ccba5fb 100644
--- a/source3/smbd/service.c
+++ b/source3/smbd/service.c
@@ -557,7 +557,8 @@ connection_struct *make_connection(char *service,char *user,char *password, int
}
if (vfs_ChDir(conn,conn->connectpath) != 0) {
- DEBUG(0,("Can't change directory to %s (%s)\n",
+ DEBUG(0,("%s (%s) Can't change directory to %s (%s)\n",
+ remote_machine, conn->client_address,
conn->connectpath,strerror(errno)));
unbecome_user();
yield_connection(conn,