From 95fee5e3bf509eee1a546ebdd23f6bdfd0cf7a20 Mon Sep 17 00:00:00 2001 From: Jeremy Allison Date: Fri, 12 Mar 2004 20:24:05 +0000 Subject: Fix from Robert.Dahlem@gmx.net (Robert Dahlem) for bugid #1048 when mangled names are turned off. Jeremy. (This used to be commit 29909ce26ac9a0d8e631b1ed884c525674ee5606) --- source3/smbd/trans2.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'source3') 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)); -- cgit