r2475: A more helpful debug-message when a connection to a dfs-proxy-share is
authorGünther Deschner <gd@samba.org>
Tue, 21 Sep 2004 13:04:35 +0000 (13:04 +0000)
committerGerald (Jerry) Carter <jerry@samba.org>
Wed, 10 Oct 2007 15:52:44 +0000 (10:52 -0500)
failing.

Guenther
(This used to be commit 486bcff17faf8c7ecd9bf4bb9af244bc4bcdf843)

source3/smbd/service.c

index 5ebd772aa1d222e71b46df5da15409b4bebc1f8e..4d111e0ea358f5f0a7c7bc5d0d52b5a17996844e 100644 (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;
        }