I currently have Samba 2.0.7 installed on a SCO5.5 box. I have seen previous posting regarding the fix to this name mangling issue but have had no luck resolving it. When I enable name mangling, the WIN9X pc's resolve long file names by inserting the mangling character and creating an 8.3 filename. When I disable mangling, the WIN9X pc's cannot see any file names longer than 8.3. The WINNT pc's are unnaffected throughout either of the changes. Because of large directory trees, the mangling character substitution and renaming to 8.3 format is not acceptable. For example, a directory may have sub-dir's that use a name & then a number( mylongdir1, mylongdir2...). The problem arises every 10 directories because mangling resolves mylongdir10, mylongdir20, mylongdir30 all to be mylongd~0. It is then impossible to tell which is which directory is which. I have compared my smb.conf with said file on a Linux box running Samba. The Linux box does not cause these problems; I have been unable to tell where the differences are. Ross Branje System Administrator The Software Group Limited ross@wanware.com 705-725-9999 "Obstacles are the frightening things you see when you take your eyes off your goal." --anon-- -------------- next part -------------- HTML attachment scrubbed and removed
I currently have Samba 2.0.7 installed on a SCO5.5 box. I have seen previous posting regarding the fix to this name mangling issue but have had no luck resolving it. When I enable name mangling, the WIN9X pc's resolve long file names by inserting the mangling character and creating an 8.3 filename. When I disable mangling, the WIN9X pc's cannot see any file names longer than 8.3. The WINNT pc's are unnaffected throughout either of the changes. Because of large directory trees, the mangling character substitution and renaming to 8.3 format is not acceptable. For example, a directory may have sub-dir's that use a name & then a number( mylongdir1, mylongdir2...). The problem arises every 10 directories because mangling resolves mylongdir10, mylongdir20, mylongdir30 all to be mylongd~0. It is then impossible to tell which is which directory is which. I have compared my smb.conf with said file on a Linux box running Samba. The Linux box does not cause these problems; I have been unable to tell where the differences are. -------------- next part -------------- HTML attachment scrubbed and removed
Hi, I know it's probably been asked before, and I know I'm usually answering questions on this list so I don't really expect an answer anyway, and there's always editing the source, but : Is thare any way of altering the mangling to be more M$-like? I appreciate that it is pretty awful, but I have noticed a few badly-behaved early win32 programs assume "first6~1.ext" for file "First 6 Characters.Extension" and it would be very nice and easier to pretend it's an M$ server if that was the same for samba. Thanks in advance Martyn =============Martyn Ranyard
Hello, I want in my share directory would not be duplicated file names with upper and lower case. I use such configuration for share : [public] comment = Public Stuff path = /home/public public = yes ; writable = yes read only = no printable = no create mode = 0777 directory mask = 0777 mangle case = yes default case = upper preserve case = yes short preserve case = yes ( parameters is set according smb.conf file help) However when I copy from client files ro samba share with diferent case letters in names, samba stores files names not in upper case as I want, but in case it was in client machine. What I missed in configuration ? Thanks in advance for help! Kestutis -------------- next part -------------- HTML attachment scrubbed and removed
I beleive you need to set "preserve case = no" -----Original Message----- From: Kestutis Saldziunas [mailto:k.saldziunas@medbank.lt] Sent: Friday, February 08, 2002 5:57 AM To: samba@lists.samba.org Subject: [Samba] Name mangling Hello, I want in my share directory would not be duplicated file names with upper and lower case. I use such configuration for share : [public] comment = Public Stuff path = /home/public public = yes ; writable = yes read only = no printable = no create mode = 0777 directory mask = 0777 mangle case = yes default case = upper preserve case = yes short preserve case = yes ( parameters is set according smb.conf file help) However when I copy from client files ro samba share with diferent case letters in names, samba stores files names not in upper case as I want, but in case it was in client machine. What I missed in configuration ? Thanks in advance for help! Kestutis -------------- next part -------------- HTML attachment scrubbed and removed