I've created a folder for roaming profiles:
[profiles]
comment = Network Profiles Share
path = /srv/samba/profiles
browseable = No
store dos attributes = Yes
csc policy = disable
map acl inherit = Yes
read only = No
vfs objects = acl_xattr
Share permission and folder permission seems right, exactly as in:
https://wiki.samba.org/index.php/Roaming_Windows_User_Profiles
I've created a policy, but profiles folder does not get created, and in
logs (windows events and samba log) i don't see nothing relevant.
How can i debug this? Thanks.
--
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)
On Thu, 30 Nov 2017 11:12:56 +0100 Marco Gaiarin via samba <samba at lists.samba.org> wrote:> > I've created a folder for roaming profiles: > > [profiles] > comment = Network Profiles Share > path = /srv/samba/profiles > browseable = No > store dos attributes = Yes > csc policy = disable > map acl inherit = Yes > read only = No > vfs objects = acl_xattr > > Share permission and folder permission seems right, exactly as in: > > https://wiki.samba.org/index.php/Roaming_Windows_User_Profiles > > I've created a policy, but profiles folder does not get created, and > in logs (windows events and samba log) i don't see nothing relevant. > > > How can i debug this? Thanks. >Is this on a DC ? If it is, use windows ACLs If it isn't, Try setting it up exactly like it is shown on the wikipage, note that you only need the 'vfs objects' line if it isn't set in [global] Rowland
Mandi! Rowland Penny via samba In chel di` si favelave...> Is this on a DC ?No, is a DM.> If it isn't, Try setting it up exactly like it is shown on the > wikipage, note that you only need the 'vfs objects' line if it isn't > set in [global]Wikipage say only: Create a new share. For details, see Setting up a Share Using Windows ACLs. and https://wiki.samba.org/index.php/Setting_up_a_Share_Using_Windows_ACLs say exactly i'm added to my configuration; for a sake of completeness, i've removed the 'csc policy = disable' and 'browseable = no' opts, but nothing changed. Now my share is: [profiles] comment = Network Profiles Share path = /srv/samba/profiles store dos attributes = Yes map acl inherit = Yes read only = No vfs objects = acl_xattr I've just double-checked again the ACL, and seems exactly as specification (share and filesystem root spec). I say 'seems' because there's also other ACL (CREATOR GROUP, Everyone, ...) that seems i cannot remove (i've only sed 'Eeveryone' to 'no access'). I've manually created 'gaio.V2' folder, setting it gaio:"Domain Users" 700, but profiles still get not saved. (supposing was a 'folder creation' trouble...) If i set 'profile path' in user data, eg: root at vdmsv1:/srv/samba/profiles# ldbsearch -H ldap://vdcsv1 -P -b DC=ad,DC=fvg,DC=lnf,DC=it "(uid=gaio)" profilePath | grep ^profilePath: profilePath: \\vdmsv1\profiles\gaio roaming profile works as expected. Boh... -- 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)