mirror of
https://github.com/samba-team/samba.git
synced 2025-03-12 20:58:37 +03:00
Patch from Massimo Sivilotti <mass@tanner.com> to log remote machine/ip on
connection fail. Jeremy. (This used to be commit 07cee46d1de1caaf6f9f1b6139dd21bcc5d67e8e)
This commit is contained in:
parent
1452c2d8c4
commit
7bdf197e62
@ -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,
|
||||
|
Loading…
x
Reference in New Issue
Block a user