RPvs> On Wed, 23 Jan 2019 10:06:52 -0800 RPvs> Gregory Sloop via samba <samba at lists.samba.org> wrote:>> RPvs> Have you read this:>> RPvs> https://wiki.samba.org/index.php/Roaming_Windows_User_Profiles>> RPvs> and possibly, this:>> RPvs> https://wiki.samba.org/index.php/Configuring_Windows_Profile_Folder_Redirections>> RPvs> Rowland>> Yes, and I believe I've done everything properly. >> That's where I started.>> So I think we're back to; What items control file/directory creation >> and the default permissions? What should I be looking at, or >> tinkering with?RPvs> Hmm, I am beginning to think the operative word here is 'freenas', a RPvs> quick internet search shows a lot of requests for how to do what you RPvs> are you are trying to do, but little or no answers. RPvs> Can you try having the profiles on a Linux machine ? RPvs> Rowland RPvs> So, Rowland [and anyone else following along] - lets see if we can forget about that shiny object. Just forget I said FreeNAS. Poof! Gone! Pretend I said I was using FreeBSD, with ZFS, and Samba 4.7.0. And, apparently, creating directories for user profiles goes south in some cases. [It works sometimes too, but I can't determine why. I'm flipping lots of switches in an effort to make it work, so it may well be semi-self induced.] But if I were that BSD guy - what things would I look at in the smb.conf that might have an impact on this situation? How do I control the permissions new directories get from Samba? I'd be glad for a "here's someone who faced exactly that, and here's how he fixed it." but I'd also be super happy with "Look at these 6 different smb.conf items - and here's how I might set them. You might look at this VFS module too." TIA -Greg
On Wed, 23 Jan 2019 13:02:39 -0800 Gregory Sloop <gregs at sloop.net> wrote:> > > RPvs> On Wed, 23 Jan 2019 10:06:52 -0800 > RPvs> Gregory Sloop via samba <samba at lists.samba.org> wrote: > > > >> RPvs> Have you read this: > > >> RPvs> https://wiki.samba.org/index.php/Roaming_Windows_User_Profiles > > >> RPvs> and possibly, this: > > >> RPvs> https://wiki.samba.org/index.php/Configuring_Windows_Profile_Folder_Redirections > > >> RPvs> Rowland > > >> Yes, and I believe I've done everything properly. > >> That's where I started. > > >> So I think we're back to; What items control file/directory > >> creation and the default permissions? What should I be looking at, > >> or tinkering with? > > > RPvs> Hmm, I am beginning to think the operative word here is > RPvs> 'freenas', a quick internet search shows a lot of requests for > RPvs> how to do what you are you are trying to do, but little or no > RPvs> answers. > > RPvs> Can you try having the profiles on a Linux machine ? > > RPvs> Rowland > RPvs> > So, Rowland [and anyone else following along] - lets see if we can > forget about that shiny object. Just forget I said FreeNAS. Poof! > Gone! > > Pretend I said I was using FreeBSD, with ZFS, and Samba 4.7.0. > And, apparently, creating directories for user profiles goes south in > some cases. [It works sometimes too, but I can't determine why. I'm > flipping lots of switches in an effort to make it work, so it may > well be semi-self induced.] > > But if I were that BSD guy - what things would I look at in the > smb.conf that might have an impact on this situation? How do I > control the permissions new directories get from Samba? I'd be glad > for a "here's someone who faced exactly that, and here's how he fixed > it." but I'd also be super happy with "Look at these 6 different > smb.conf items - and here's how I might set them. You might look at > this VFS module too." > > TIA > -GregI do not use freebsd, but I think you need 'vfs objects nfs4acl_xattr' for a start, I also think you need to ask freenas and/or freebsd. That is unless some one has this running and is willing to share the magic incantations ;-) Rowland
Hai, The best info is missing. What are the windows event ID errors? What is the right set on the profiles folder? If you layout is : /home/samba/profiles and you shared the folder profiles, then show me getfacl /home/samba/profiles. I see your running, Samba 4.7, are you able to upgrade to 4.9.4? This: ~# cat default-rights-sysvol.acl # file: /var/lib/samba/sysvol # owner: root # group: root user::rwx user:root:rwx user:3000000:rwx user:3000001:r-x user:3000002:rwx user:3000003:r-x Tells me something. I "should" at least see 2 users names and not only uids? Can you show the smb.conf nsswitch.conf Greetz, Louis> -----Oorspronkelijk bericht----- > Van: samba [mailto:samba-bounces at lists.samba.org] Namens > Rowland Penny via samba > Verzonden: woensdag 23 januari 2019 22:32 > Aan: samba at lists.samba.org > Onderwerp: Re: [Samba] GPO / Sysvol problems > > On Wed, 23 Jan 2019 13:02:39 -0800 > Gregory Sloop <gregs at sloop.net> wrote: > > > > > > > RPvs> On Wed, 23 Jan 2019 10:06:52 -0800 > > RPvs> Gregory Sloop via samba <samba at lists.samba.org> wrote: > > > > > > >> RPvs> Have you read this: > > > > >> RPvs> > https://wiki.samba.org/index.php/Roaming_Windows_User_Profiles > > > > >> RPvs> and possibly, this: > > > > >> RPvs> > https://wiki.samba.org/index.php/Configuring_Windows_Profile_F > older_Redirections > > > > >> RPvs> Rowland > > > > >> Yes, and I believe I've done everything properly. > > >> That's where I started. > > > > >> So I think we're back to; What items control file/directory > > >> creation and the default permissions? What should I be > looking at, > > >> or tinkering with? > > > > > > RPvs> Hmm, I am beginning to think the operative word here is > > RPvs> 'freenas', a quick internet search shows a lot of requests for > > RPvs> how to do what you are you are trying to do, but little or no > > RPvs> answers. > > > > RPvs> Can you try having the profiles on a Linux machine ? > > > > RPvs> Rowland > > RPvs> > > So, Rowland [and anyone else following along] - lets see if we can > > forget about that shiny object. Just forget I said FreeNAS. Poof! > > Gone! > > > > Pretend I said I was using FreeBSD, with ZFS, and Samba 4.7.0. > > And, apparently, creating directories for user profiles > goes south in > > some cases. [It works sometimes too, but I can't determine why. I'm > > flipping lots of switches in an effort to make it work, so it may > > well be semi-self induced.] > > > > But if I were that BSD guy - what things would I look at in the > > smb.conf that might have an impact on this situation? How do I > > control the permissions new directories get from Samba? I'd be glad > > for a "here's someone who faced exactly that, and here's > how he fixed > > it." but I'd also be super happy with "Look at these 6 different > > smb.conf items - and here's how I might set them. You might look at > > this VFS module too." > > > > TIA > > -Greg > > I do not use freebsd, but I think you need 'vfs objects > nfs4acl_xattr' for a start, I also think you need to ask > freenas and/or > freebsd. > > That is unless some one has this running and is willing to share the > magic incantations ;-) > > Rowland > > -- > To unsubscribe from this list go to the following URL and read the > instructions: https://lists.samba.org/mailman/options/samba >