[Samba] (no subject)

kornel kornatka ds14.kornel at gmail.com
Sat Feb 6 04:32:31 MST 2010


2010/2/6 Michael Wood <esiotrot at gmail.com>

> On 6 February 2010 13:05, kornel kornatka <ds14.kornel at gmail.com> wrote:
> > 2010/2/6 Greg Byshenk <samba at 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 <esiotrot at 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


More information about the samba mailing list