1
0
mirror of https://github.com/samba-team/samba.git synced 2025-08-03 04:22:09 +03:00

r2475: A more helpful debug-message when a connection to a dfs-proxy-share is

failing.

Guenther
This commit is contained in:
Günther Deschner
2004-09-21 13:04:35 +00:00
committed by Gerald (Jerry) Carter
parent 6239a5bec9
commit 486bcff17f

View File

@ -804,7 +804,8 @@ connection_struct *make_connection(const char *service_in, DATA_BLOB password,
/* Handle non-Dfs clients attempting connections to msdfs proxy */
if (lp_host_msdfs() && (*lp_msdfs_proxy(snum) != '\0')) {
DEBUG(3, ("refusing connection to dfs proxy '%s'\n", service));
DEBUG(3, ("refusing connection to dfs proxy share '%s' (pointing to %s)\n",
service, lp_msdfs_proxy(snum)));
*status = NT_STATUS_BAD_NETWORK_NAME;
return NULL;
}