summaryrefslogtreecommitdiff
path: root/source3/smbd
diff options
context:
space:
mode:
authorJeremy Allison <jra@samba.org>1997-08-28 22:54:41 +0000
committerJeremy Allison <jra@samba.org>1997-08-28 22:54:41 +0000
commitd95652780ac67b41b935511cd6dbdf94b3de371e (patch)
tree569f494b6b6f7180e92236d9634a9a9f2fc214b5 /source3/smbd
parent473c42a194d07581941d61cf30aaf0122213cfd7 (diff)
downloadsamba-d95652780ac67b41b935511cd6dbdf94b3de371e.tar.gz
samba-d95652780ac67b41b935511cd6dbdf94b3de371e.tar.bz2
samba-d95652780ac67b41b935511cd6dbdf94b3de371e.zip
Oops. Reversed mangled map change made in error. Testing
found this one. Jeremy (jallison@whistle.com) (This used to be commit adf98469fc3f0969676bd454cfd143f8ef03ce48)
Diffstat (limited to 'source3/smbd')
-rw-r--r--source3/smbd/trans2.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/source3/smbd/trans2.c b/source3/smbd/trans2.c
index 28bff08843..0ef7327d2e 100644
--- a/source3/smbd/trans2.c
+++ b/source3/smbd/trans2.c
@@ -329,8 +329,7 @@ static int get_lanman2_dir_entry(int cnum,char *path_mask,int dirtype,int info_l
strcpy(fname,dname);
- if(name_map_mangle(fname,False,SNUM(cnum)) &&
- mask_match(fname, mask, case_sensitive, True))
+ if(mask_match(fname, mask, case_sensitive, True))
{
BOOL isdots = (strequal(fname,"..") || strequal(fname,"."));
if (dont_descend && !isdots)
@@ -369,6 +368,8 @@ static int get_lanman2_dir_entry(int cnum,char *path_mask,int dirtype,int info_l
}
}
+ name_map_mangle(fname,False,SNUM(cnum));
+
p = pdata;
nameptr = p;