(no subject)

Simo Sorce idra at samba.org
Sat Jun 29 23:32:01 GMT 2002


On Sat, 2002-06-29 at 20:54, Terry Davis wrote:
> I created them on the server, NOT via samba.  But there has to be a way 
> for samba to recognize this and display the right contents to the user.

It is not that easy.
We may think of sending back the mangled name if these files are found,
but that would mean that every time a directory listing is retrieved, we
should lower case every file and check in the list if any file has a
duplicate, and if it is true substitute the duplicate with a mangled
name.

now try to do that in a directory with 10.000 files and not timeout ...

I may think of a special option, to do that, but I do no think we should
do that by default.

Simo.


> 
> Andreas Moroder wrote:
> > Hello Terry,
> > 
> > did you create your two files from your client via 
> > samba or did you create
> > them localy on the servers console or a server 
> > application? It seems to me
> > that you used the second way because there is no way to 
> > create this two
> > files via samba. Windows machines don\'t check the case  
> > of a filename ( NT
> > and > mantain the case ) so both files are the same for 
> > Windows.
> > 
> > -rw-rw-r--    1 13301    csr        108681 Jun 20 12:37 
> > File1.txt      ==
> > file1.txt
> > -rw-rw-r--    1 13301    csr        170180 Jun 20 12:32 
> > FILE1.TXT ==
> > file1.txt
> > 
> > On a NT Server you could  never create this two files 
> > in the same directory.
> > 
> > Bye
> > Andreas
> > 
> > 
> > -----------------------------------------------------
> > This mail sent through IMP: http://web.horde.org/imp/
> 
> 
> 
> 
-- 
Simo Sorce
----------
Una scelta di liberta': Software Libero.
A choice of freedom: Free Software.
http://www.softwarelibero.it




More information about the samba-technical mailing list