2010/2/6 Michael Wood <esiot...@gmail.com> > On 6 February 2010 13:05, kornel kornatka <ds14.kor...@gmail.com> wrote: > > 2010/2/6 Greg Byshenk <sa...@byshenk.net> > [...] > >> Why not create a single share something like this: > >> > >> [privateshare] > >> comment = Private share for local machines > >> browseable = yes > >> writable = yes > >> path = /var/archives/USERS/%I > >> public = yes > >> hosts deny = 192.168. EXCEPT %I > >> > >> This allows every host to see just a single folder of its own -- and > also > >> makes for a much simpler smb.conf. > > > > As you can see I'm beginner with samba. > > I've changed my conf as you said... it's not working > > But in my understanding ... : > > Samba can't know possibilities of %I variable to create shares. > > I agree with Greg. > > I believe Samba should create the shares on the fly when the user > connects, the same way it does for the [homes] share. > > I have not tried this, though. > > -- > Michael Wood <esiot...@gmail.com> >
* * I've tested new configuration [privateshare %I] comment = Private share for local machines browseable = yes writable = yes path = /var/archives/USERS/%I public = yes Works preaty good :) obviously - the hosts allow is no need now (thats why it wasn't working earlier) Thank you for your help! :) Regards Kornel -- To unsubscribe from this list go to the following URL and read the instructions: https://lists.samba.org/mailman/options/samba