* utils/mountd/auth.c (auth_authenticate): Log the bad path
warning.
+2000-11-27 Tobias Ringstrom <tori@tellus.mine.nu>
+
+ * utils/mountd/auth.c (auth_authenticate): Log the bad path
+ warning.
+
2000-11-24 Neil Brown <neilb@cse.unsw.edu.au>
* support/nfs/exports.c (getexportent): Check for host name without option,
struct in_addr addr = caller->sin_addr;
enum auth_error error;
- if (path [0] != '/') return exp;
+ if (path [0] != '/') {
+ xlog(L_WARNING, "bad path in %s request from %s: \"%s\"",
+ what, inet_ntoa(addr), path);
+ return exp;
+ }
strncpy(epath, path, sizeof (epath) - 1);
epath[sizeof (epath) - 1] = '\0';