[Samba] roaming profile

Marco Gaiarin gaio at sv.lnf.it
Mon Jun 26 07:30:10 UTC 2017


Mandi! jacek burghardt via samba
  In chel di` si favelave...

> >> Is there a script that will give roaming profiles users correct r/w
> >> permissions. Changing permissions by hand is time consuming is there a
> >> better way,
> > How did you setup the profiles? Have you reviewed the wiki?
> > https://wiki.samba.org/index.php/Roaming_Windows_User_Profiles
> Yes I followed the how to, the users profiles create fine

Still you haven't explained how the permission are wrong, but if the
fix are ''scriptable'' you can define a 'root preexec' script in the
profile share:

	root preexec = /etc/samba/createprofile "%u"

Clearly, will be executed for every profile access, not only if profile
folder misses, so you have to pay some attention on performance
penalty...

-- 
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)



More information about the samba mailing list