[Samba-it] Re: caratteri non consentiti ":" e "@" in nome folder

Andrea Dinale andrea at dinale.it
Thu Aug 7 04:51:10 MDT 2008


Marco De Vitis ha scritto:
>> Ho provato ad usare
>> mangled map = (*:* *_*) (*@* *_*)
> Non trovo questa opzione nel smb.conf, sicuro che esista ancora?


La versione che installata in quel server è la
mail:~# smbd -V
Version 3.0.23d

Questo è il pezzo di manpage relativo:

       mangled map (S)
          This  is  for  those  who  want to directly map UNIX file 
names which cannot be represented on Windows/DOS. The mangling of names 
is not always what is needed. In particular you may have documents with 
file extensions that differ between DOS and UNIX. For example, under 
UNIX it is common to  use  .html for HTML files, whereas under 
Windows/DOS .htm is more commonly used.

          So to map html to htm you would use:

          mangled map = (*.html *.htm).

          One  very  useful  case is to remove the annoying ;1 off the 
ends of filenames on some CDROMs (only visible under some UNIXes). To do 
this use a map of
          (*;1 *;).

          Default: mangled map = # no mangled map

          Example: mangled map = (*;1 *;)


> Tutto ciò che ho trovato riguardo al name mangling sembra riguardare 
> solo la trasformazione di nomi lunghi in nomi compatibili con il DOS. 
> E forse questa è l'unica soluzione che hai, cioè usare "mangled names 
> = yes" su quella condivisione. Altrimenti non so.

Ottimo grazie, ho risolto :-) ... "mangled names = yes" era per default, 
ed era lui a trasformare i nomi delle folder in formato dos quando 
cerano caratteri strani, settandolo a no, tutto si è risolto !!


Grazie!!


Ciao
A






More information about the samba-it mailing list