[PATCH] fs/cifs added additional info to error message

From: Timo Witte
Date: Mon Mar 29 2010 - 05:06:10 EST


added additional info to error message, cifs trys to resolve DNS Names via /sbin/request-key
this is not installed by default in Ubuntu systems, so you can´t use DFS shares correctly without it.

Signed-off-by: Timo Witte <timo.witte@xxxxxxxxxxxxxx>

--- a/fs/cifs/dns_resolve.c
+++ b/fs/cifs/dns_resolve.c
@@ -137,7 +137,7 @@ dns_resolve_server_name_to_ip(const char *unc, char **ip_addr)
len = rkey->type_data.x[0];
data = rkey->payload.data;
} else {
- cERROR(1, ("%s: unable to resolve: %s", __func__, name));
+ cERROR(1, ("%s: unable to resolve: %s have you installed /sbin/request-key ?", __func__, name));
goto out;
}

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/