I was reading through this https://wiki.samba.org/index.php/User_Home_Folders My goal was to be able to have samba automatically create the share \\server\username I'm not sure what it means : "" Windows does not support this feature, and certain settings, such as folder redirection in an Active Directory (AD), require a workaround instead and you cannot use the official solution. "" The solution presented in the wiki page is overkill for me. The users home is already created in the tradition /home location. The acls are already set. The samba server is a domain member. So I would like to use the original [homes] share method. So, I go back to 'windows does not support this feature'.. -- David Bear mobile: (602) 903-6476
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)
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