[Samba] Problem with Home folders

Andrew Walker walker.aj325 at gmail.com
Thu Jan 21 19:30:22 UTC 2021


On Thu, Jan 21, 2021 at 2:16 PM Rowland penny via samba <
samba at lists.samba.org> wrote:

> On 21/01/2021 17:56, Stephen Atkins wrote:
> > Yes I know they are not the same.  While the Global has "template
> > homedir" it's really not used as my users are not logging in to this
> > server.  What I setup was under the Users properties in the AD Users
> > and Computers under the Profile tab and set the Home Folder to point
> > to the samba server "\\192.168.32.10\Users\satkins".
> >
> When you refer to the 'Home Folder', I take you mean the box under where
> you set the users profile. This sets/creates the users Windows folder
> and has nothing to with the 'template homedir' setting. If your users
> never directly log into the Unix domain member, you can remove the two
> 'template' lines. If you do not require Unix home dirs and login shell,
> you should also remove 'idmap config MD:unix_nss_info = yes' and if you
> don't actually need user private groups, you can also remove 'idmap
> config MD:unix_primary_group = yes'
>
> when you set the users Home Folder in ADUC, are you using
> '\\<servername>\<sharename\<username>' ?
>
> The '*' domain is not used for local users & groups, it is meant for the
> Well Known SIDs and anything outside the MD domain, the local users &
> groups are stored in /etc/passwd and /etc/group.
>
> The way you have set vfs objects in your share has turned off acl_xattr
> on the share, either set 'vfs objects acl_xattr shadow_copy2' in the
> share, or just set both in 'global'
>
> Rowland
>
I believe shadow_copy2 should be stacked before acl_xattr (so that the path
will be changed to the snapshot directory prior to getting NT ACL).
So "vfs objects = shadow_copy2 acl_xattr"


More information about the samba mailing list