svn commit: samba r2475 - branches/SAMBA_3_0/source/smbd trunk/source/smbd

gd at samba.org gd at samba.org
Tue Sep 21 13:04:35 GMT 2004


Author: gd
Date: 2004-09-21 13:04:35 +0000 (Tue, 21 Sep 2004)
New Revision: 2475

WebSVN: http://websvn.samba.org/websvn/changeset.php?rep=samba&path=/&rev=2475&nolog=1

Log:
A more helpful debug-message when a connection to a dfs-proxy-share is
failing.

Guenther


Modified:
   branches/SAMBA_3_0/source/smbd/service.c
   trunk/source/smbd/service.c


Changeset:
Modified: branches/SAMBA_3_0/source/smbd/service.c
===================================================================
--- branches/SAMBA_3_0/source/smbd/service.c	2004-09-21 12:50:04 UTC (rev 2474)
+++ branches/SAMBA_3_0/source/smbd/service.c	2004-09-21 13:04:35 UTC (rev 2475)
@@ -804,7 +804,8 @@
 
 	/* 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;
 	}

Modified: trunk/source/smbd/service.c
===================================================================
--- trunk/source/smbd/service.c	2004-09-21 12:50:04 UTC (rev 2474)
+++ trunk/source/smbd/service.c	2004-09-21 13:04:35 UTC (rev 2475)
@@ -808,7 +808,8 @@
 
 	/* 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;
 	}



More information about the samba-cvs mailing list