summaryrefslogtreecommitdiff
path: root/source3
diff options
context:
space:
mode:
authorJeremy Allison <jra@samba.org>1997-10-02 02:36:11 +0000
committerJeremy Allison <jra@samba.org>1997-10-02 02:36:11 +0000
commitc9cf77a6bb245145dce3cd96ff4267fe226a1019 (patch)
tree2a4676277ed20a97b477386ae2d96b24a030ddfc /source3
parentc557bb0517c3d1ad908f906a60b43bd604289f88 (diff)
downloadsamba-c9cf77a6bb245145dce3cd96ff4267fe226a1019.tar.gz
samba-c9cf77a6bb245145dce3cd96ff4267fe226a1019.tar.bz2
samba-c9cf77a6bb245145dce3cd96ff4267fe226a1019.zip
Modified some debug messages, moved from 5 -> 8.
Jeremy (jallison@whistle.com) (This used to be commit cb83c74a6ccfc44721af65b75625a949782c758a)
Diffstat (limited to 'source3')
-rw-r--r--source3/lib/util.c14
-rw-r--r--source3/smbd/server.c16
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);
}