[Samba] Newbie question: Spaces in share names

L.P.H. van Belle belle at bazuin.nl
Wed Feb 5 07:59:30 UTC 2020


Your walking a thin line here.. 

https://docs.microsoft.com/en-us/rest/api/storageservices/naming-and-referencing-shares--directories--files--and-metadata 
Quote : Share names must start with a letter or number, and can contain only letters, numbers, and the dash (-) character. 

https://docs.microsoft.com/en-us/windows/win32/fileio/naming-a-file?redirectedfrom=MSDN 

Not saying its wrong, but your prone to errors.. 
I would not recommend it. 


Greetz, 

Louis


> -----Oorspronkelijk bericht-----
> Van: samba [mailto:samba-bounces at lists.samba.org] Namens Luke 
> Barone via samba
> Verzonden: dinsdag 4 februari 2020 22:42
> Aan: James Cartner-Young (Sandal Computers)
> CC: samba
> Onderwerp: Re: [Samba] Newbie question: Spaces in share names
> 
> I use spaces in share names, and I don't have problems.
> 
> On Tue, Feb 4, 2020 at 1:28 PM James Cartner-Young (Sandal 
> Computers) via
> samba <samba at lists.samba.org> wrote:
> 
> > Hello.
> >
> > I hope you are all well.
> >
> > A quick question as I am trying to fix some bugs and just wondering
> > where the fault lies - Does the Samba daemon/client specification
> > (Windows version or otherwise) support spaces within share 
> names (not at
> > the start, but after the first alphanumeric character and 
> before the last)?
> >
> > For example is "My Document Share" a valid share name, which
> > "\\Servername\My Document Share" would then point to?
> >
> > I have searched various guides and the Samba wiki, but, 
> strangely, found
> > nothing relating to my searches.
> >
> > I ask as I have a share with a space in it which shared 
> fine from the
> > BSD server and worked fine on my Linux Mint desktop client. However,
> > recently, a core component (possibly after an update? I'm 
> not 100% sure)
> > has been misbehaving with this particular share... The 
> share happens to
> > be where all my business data is kept, so it's quite 
> important that I
> > have consistent access to it.
> >
> > I understand some folk shudder at the thought, but I was 
> assuming that
> > it was being handled fine, until now.
> >
> > Many thanks for your help.
> >
> > James
> >
> > --
> > To unsubscribe from this list go to the following URL and read the
> > instructions:  https://lists.samba.org/mailman/options/samba
> >
> -- 
> To unsubscribe from this list go to the following URL and read the
> instructions:  https://lists.samba.org/mailman/options/samba
> 
> 




More information about the samba mailing list