Hi guys (and girls), I came up with the idea to use samba to share files between 3 linux machines I administer. I've set it all up, it works. No problem. But.. Samba is by origin a windows filesharing application. Result: 2 files with equal names but with different case, can not be stored in the same directory by samba. I've been trying to find a way around this, and thought I had found it with the "case sensitive" option, but unfortunately it is either defunct, or not working the way I thought it should (it preserves case allright, but I still can't store 2 equally names files with different case). So, my questions: - is what I want possible with samba If not - are the developers willing to add such a feature in the future? Thanks, Maxx Vernimmen
man smb.conf /NAME MANGLING ought to answere your questions. You will have to experiment. Your problem is likely due to the fact that samba is acting like windows, case insensitive but case preserving. Joel On Sun, Dec 01, 2002 at 11:46:54PM -0800, Max Vernimmen wrote:> Hi guys (and girls), > > I came up with the idea to use samba to share files between 3 linux > machines I administer. I've set it all up, it works. No problem. > > But.. Samba is by origin a windows filesharing application. Result: 2 > files with equal names but with different case, can not be stored in the > same directory by samba. > > I've been trying to find a way around this, and thought I had found it > with the "case sensitive" option, but unfortunately it is either > defunct, or not working the way I thought it should (it preserves case > allright, but I still can't store 2 equally names files with different > case). > > > So, my questions: > - is what I want possible with samba > If not > - are the developers willing to add such a feature in the future? > > Thanks, > > > Maxx Vernimmen > > -- > To unsubscribe from this list go to the following URL and read the > instructions: http://lists.samba.org/mailman/listinfo/samba
On Sun, 1 Dec 2002, Max Vernimmen wrote:> Hi guys (and girls), > > I came up with the idea to use samba to share files between 3 linux > machines I administer. I've set it all up, it works. No problem. > > But.. Samba is by origin a windows filesharing application. Result: 2 > files with equal names but with different case, can not be stored in the > same directory by samba.Samba sees mail.txt and MaIl.TxT as the same file. It has to do this because MS Windows clients treat them as the same file. MS Windows NT/2K/XP/9X/Me are case preserving but not case sensitive.> I've been trying to find a way around this, and thought I had found it > with the "case sensitive" option, but unfortunately it is either > defunct, or not working the way I thought it should (it preserves case > allright, but I still can't store 2 equally names files with different > case). > > > So, my questions: > - is what I want possible with sambaSamba treats all file/directory names are case insensitive. So the answer is - NO! Samba treats file and directory names that are the same but differing only in case lexically. That is which ever name if lexically first inherits the name. Now to make things interesting, what will be lexically first depends on the locale settings (particulalry on Linux) and the sorting algorithm used at the operating system level. If you want case specific file name handling then Samba is NOT for you. Then again, if MS Windows is your client you will NOT find any alternative either. MS Windows is not case sensitive, and only at best is it case preserving.> If not > - are the developers willing to add such a feature in the future?Sure, if you can fix the problem in MS Windows first. Otherwise. no matter what Samba can do your MS Windows client will not use it. - John T. -- John H Terpstra Email: jht@samba.org
Hi, I have Samba 2.2.6 on RedHat 7.2, kernel 2.4.20. Everythink is working fine except on one Win2K box. I upgraded this box to SP3 and get now following errors: [2002/12/01 19:22:47, 0] smbd/service.c:make_connection(252) mt700 (192.168.2.240) couldn't find service ::{2227a280-3aea-1069-a2de-08002b30309d} Any ideas what I'm missing here? Thanks for any help. -- Bernd
>> files with equal names but with different case, can not >> be stored in the same directory by samba. >> .................................... >> - is what I want possible with samba> Samba treats all file/directory names are case insensitive. > So the answer is - NO! > ........................>> - are the developers willing to add such a feature in the future?> Sure, if you can fix the problem in MS Windows first. > Otherwise. no matter what Samba can do your MS Windows > client will not use it.The obvious question "Why not use NFS?" notwithstanding, Max is up to something. In the case of Linices boxen using Samba for collaborative efforts there is no apparent reason to enforce case- insensitivity in "smbclient" if the collaborating systems both support case distinction. What would happen should Bill's gang release Winux 11i with case- sensitive clients and servers tomorrow? Why, we would follow, of course. But if one of our own begs for the feature, you make him first fix the problem in MS Windows through his nose or else you don't want to discuss the issue. For Max it might or might not be too big a byte but it would certainly be a fine obsession for you, John Terpstra, to finally fix the Windows clients. I mean, so many rants focus on the idiotic verbosity of Windows network transactions, there is no way to get rid of the problems unless we are ready and willing to be ahead of the pack. If we just keep on pleasing Bill, we'll give up in frustration sooner or later. Contorting Linux to pretend it is a Windows server won't bring it to the corporate desktops as fast as an open-source Winux client which feels at home in both environments, with case distinction when possible, without when necessary. _____________________________________________________________ Get 25MB, POP3, Spam Filtering with LYCOS MAIL PLUS for $19.95/year. http://login.mail.lycos.com/brandPage.shtml?pageId=plus&ref=lmtplus