diff options
-rw-r--r-- | source3/lib/util.c | 14 | ||||
-rw-r--r-- | source3/smbd/server.c | 16 |
2 files changed, 15 insertions, 15 deletions
diff --git a/source3/lib/util.c b/source3/lib/util.c index 056e7e18db..e65e708139 100644 --- a/source3/lib/util.c +++ b/source3/lib/util.c @@ -3840,14 +3840,14 @@ BOOL is_in_path(char *name, name_compare_entry *namelist) pstring last_component; char *p; - DEBUG(5, ("is_in_path: %s\n", name)); + DEBUG(8, ("is_in_path: %s\n", name)); /* if we have no list it's obviously not in the path */ if((namelist == NULL ) || ((namelist != NULL) && (namelist[0].name == NULL))) - { - DEBUG(5,("is_in_path: no name list.\n")); + { + DEBUG(8,("is_in_path: no name list.\n")); return False; -} + } /* Get the last component of the unix name. */ p = strrchr(name, '/'); @@ -3861,7 +3861,7 @@ BOOL is_in_path(char *name, name_compare_entry *namelist) /* look for a wildcard match. */ if (mask_match(last_component, namelist->name, case_sensitive, False)) { - DEBUG(5,("is_in_path: mask match succeeded\n")); + DEBUG(8,("is_in_path: mask match succeeded\n")); return True; } } @@ -3870,12 +3870,12 @@ BOOL is_in_path(char *name, name_compare_entry *namelist) if((case_sensitive && (strcmp(last_component, namelist->name) == 0))|| (!case_sensitive && (StrCaseCmp(last_component, namelist->name) == 0))) { - DEBUG(5,("is_in_path: match succeeded\n")); + DEBUG(8,("is_in_path: match succeeded\n")); return True; } } } - DEBUG(5,("is_in_path: match not found\n")); + DEBUG(8,("is_in_path: match not found\n")); return False; } diff --git a/source3/smbd/server.c b/source3/smbd/server.c index 5477230943..b9bdbaa655 100644 --- a/source3/smbd/server.c +++ b/source3/smbd/server.c @@ -189,7 +189,7 @@ int dos_mode(int cnum,char *path,struct stat *sbuf) int result = 0; extern struct current_user current_user; - DEBUG(5,("dos_mode: %d %s\n", cnum, path)); + DEBUG(8,("dos_mode: %d %s\n", cnum, path)); if (CAN_WRITE(cnum) && !lp_alternate_permissions(SNUM(cnum))) { if (!((sbuf->st_mode & S_IWOTH) || @@ -241,15 +241,15 @@ int dos_mode(int cnum,char *path,struct stat *sbuf) result |= aHIDDEN; } - DEBUG(5,("dos_mode returning ")); + DEBUG(8,("dos_mode returning ")); - if (result & aHIDDEN) DEBUG(5, ("h")); - if (result & aRONLY ) DEBUG(5, ("r")); - if (result & aSYSTEM) DEBUG(5, ("s")); - if (result & aDIR ) DEBUG(5, ("d")); - if (result & aARCH ) DEBUG(5, ("a")); + if (result & aHIDDEN) DEBUG(8, ("h")); + if (result & aRONLY ) DEBUG(8, ("r")); + if (result & aSYSTEM) DEBUG(8, ("s")); + if (result & aDIR ) DEBUG(8, ("d")); + if (result & aARCH ) DEBUG(8, ("a")); - DEBUG(5,("\n")); + DEBUG(8,("\n")); return(result); } |