From: Jeremy Allison Date: Fri, 5 Aug 2022 18:06:13 +0000 (-0700) Subject: s3: smbd: Oops. DBG_ERR messages I used to debug parse_dfs_path(), should have been... X-Git-Tag: samba-4.17.0rc1~50 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=82d931d23d14670c086082483943700d61d1b7a0;p=thirdparty%2Fsamba.git s3: smbd: Oops. DBG_ERR messages I used to debug parse_dfs_path(), should have been DBG_DEBUG. Signed-off-by: Jeremy Allison Reviewed-by: Volker Lendecke Autobuild-User(master): Volker Lendecke Autobuild-Date(master): Mon Aug 8 09:07:24 UTC 2022 on sn-devel-184 --- diff --git a/source3/smbd/msdfs.c b/source3/smbd/msdfs.c index 1f24c87ccbd..a52a2449965 100644 --- a/source3/smbd/msdfs.c +++ b/source3/smbd/msdfs.c @@ -121,7 +121,7 @@ static NTSTATUS parse_dfs_path(connection_struct *conn, */ trim_char(p, '/', '/'); - DBG_ERR("p = |%s| after trimming /'s\n", p); + DBG_DEBUG("p = |%s| after trimming /'s\n", p); /* Now tokenize. */ /* Parse out hostname. */ @@ -143,7 +143,7 @@ static NTSTATUS parse_dfs_path(connection_struct *conn, *p = '\0'; pdp->hostname = pathname_local; - DBG_ERR("hostname: %s\n",pdp->hostname); + DBG_DEBUG("hostname: %s\n",pdp->hostname); /* Parse out servicename. */ servicename = p+1; @@ -183,7 +183,7 @@ static NTSTATUS parse_dfs_path(connection_struct *conn, pdp->servicename = servicename; - DBG_ERR("servicename: %s\n", pdp->servicename); + DBG_DEBUG("servicename: %s\n", pdp->servicename); if(p == NULL) { /* Client sent self referral \server\share. */ @@ -202,7 +202,7 @@ static NTSTATUS parse_dfs_path(connection_struct *conn, */ pdp->reqpath = p; - DBG_ERR("rest of the path: %s\n", pdp->reqpath); + DBG_DEBUG("rest of the path: %s\n", pdp->reqpath); return NT_STATUS_OK; }