[Samba] automatic home dirs

David Bear
2018-10-26T15:31:15Z

This looks interesting. I think I will give this a try. Thank you!

On Fri, Oct 26, 2018 at 1:58 AM Marco Gaiarin via samba <
samba at lists.samba.org> wrote:

> Mandi! David Bear via samba
>   In chel di` si favelave...
>
> > So I would like to use the original [homes] share method. So, I go
back
> to
> > 'windows does not support this feature'..
>
> I have a share like:
>
>   [users]
>         comment = Home Directories
>         path = /home
>         browseable = no
>         read only = no
>         store dos attributes = yes
>         force create mode = 0600
>         force directory mode = 0700
>         veto files = /.mail/.inbox/
>         root preexec = /etc/samba/createhome "%U"
>
> '/etc/samba/createhome' is a simple bash script that create home
and
> set quota.
>
> --
> dott. Marco Gaiarin                                     GNUPG Key ID:
> 240A3D66
>   Associazione ``La Nostra Famiglia''
> http://www.lanostrafamiglia.it/
>   Polo FVG   -   Via della Bontà, 7 - 33078   -   San Vito al Tagliamento
> (PN)
>   marco.gaiarin(at)lanostrafamiglia.it   t +39-0434-842711   f
> +39-0434-842797
>
>                 Dona il 5 PER MILLE a LA NOSTRA FAMIGLIA!
>       http://www.lanostrafamiglia.it/index.php/it/sostienici/5x1000
>         (cf 00307430132, categoria ONLUS oppure RICERCA SANITARIA)
>
> --
> To unsubscribe from this list go to the following URL and read the
> instructions:  https://lists.samba.org/mailman/options/samba
>


--
David Bear
mobile: (602) 903-6476