mirror of
https://github.com/samba-team/samba.git
synced 2024-12-23 17:34:34 +03:00
Don't get stuck in an infinite loop in vfs_connect.
This commit is contained in:
parent
12c10e876e
commit
69275e4f0f
@ -56,7 +56,7 @@ static int audit_connect(struct connection_struct *conn, const char *svc,
|
||||
syslog(SYSLOG_PRIORITY, "connect to service %s by user %s\n",
|
||||
svc, user);
|
||||
|
||||
return global_vfs_ops->connect(conn, svc, user);
|
||||
return 0; /* Success */
|
||||
}
|
||||
|
||||
static void audit_disconnect(struct connection_struct *conn)
|
||||
|
Loading…
Reference in New Issue
Block a user