diff options
author | Jeremy Allison <jra@samba.org> | 2004-03-12 20:24:07 +0000 |
---|---|---|
committer | Jeremy Allison <jra@samba.org> | 2004-03-12 20:24:07 +0000 |
commit | 5aee4157de9273ed42fe8c384014319d9b362375 (patch) | |
tree | 1da22951f2e352ccd7713e5e5186592a027ab7a9 /source3 | |
parent | c332ea64856342da6b3e767af7f048d4525313e3 (diff) | |
download | samba-5aee4157de9273ed42fe8c384014319d9b362375.tar.gz samba-5aee4157de9273ed42fe8c384014319d9b362375.tar.bz2 samba-5aee4157de9273ed42fe8c384014319d9b362375.zip |
Fix from Robert.Dahlem@gmx.net (Robert Dahlem) for bugid #1048
when mangled names are turned off.
Jeremy.
(This used to be commit 11487e24666c7b3dd4b37f4ef8aec8f8a5bd5a6f)
Diffstat (limited to 'source3')
-rw-r--r-- | source3/smbd/trans2.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/source3/smbd/trans2.c b/source3/smbd/trans2.c index 19269cbc6c..2f164dafa2 100644 --- a/source3/smbd/trans2.c +++ b/source3/smbd/trans2.c @@ -684,7 +684,7 @@ static BOOL get_lanman2_dir_entry(connection_struct *conn, * a Win2k client bug. JRA. */ memset(p,'\0',26); - if (!was_8_3) { + if (!was_8_3 && lp_manglednames(SNUM(conn))) { pstring mangled_name; pstrcpy(mangled_name, fname); mangle_map(mangled_name,True,True,SNUM(conn)); @@ -806,7 +806,7 @@ static BOOL get_lanman2_dir_entry(connection_struct *conn, * a Win2k client bug. JRA. */ memset(p,'\0',26); - if (!was_8_3) { + if (!was_8_3 && lp_manglednames(SNUM(conn))) { pstring mangled_name; pstrcpy(mangled_name, fname); mangle_map(mangled_name,True,True,SNUM(conn)); |