[Samba] Samba 4.1 + User Homes

spamvoll at googlemail.com spamvoll at googlemail.com
Sun Oct 27 07:27:02 MDT 2013


>In my case this results in the following perms:
>drwxrwxr-x+   2 3000000 users  4096 Oct 22 12:57 soeldenwagner.b/ --> for
the user's home drive folder
>and
>drwxrwx---+ 13 3000057 users 4096 Oct 25 22:08 soeldenwagner.b/ --> the
user's profile folder

I have exactly the same result.
Ive deleted the HOMEDIR as user and created a new one.
But its still the same, i can access every homedir.
Windows access rights are the same then on profile folder.

drwxrws---+  3 3000022 users   25 Okt 27 14:14 bspears
drwxrwx---+ 14 3000022 users 4096 Okt 27 14:15 bspears.V2

# getfacl /home/HOME/bspears/
getfacl: Removing leading '/' from absolute path names
# file: home/HOME/bspears/
# owner: 3000022
# group: users
# flags: -s-
user::rwx
user:root:rwx
group::rwx
group:users:rwx
group:3000000:rwx
group:3000022:rwx
mask::rwx
other::---
default:user::rwx
default:user:root:rwx
default:user:3000022:rwx
default:group::rwx
default:group:users:rwx
default:group:3000000:rwx
default:mask::rwx
default:other::---

# getfacl /home/Profiles/bspears.V2/
getfacl: Removing leading '/' from absolute path names
# file: home/Profiles/bspears.V2/
# owner: 3000022
# group: users
user::rwx
group::---
group:users:---
group:3000002:rwx
group:3000022:rwx
mask::rwx
other::---
default:user::rwx
default:user:3000022:rwx
default:group::---
default:group:users:---
default:group:3000002:rwx
default:group:3000022:rwx
default:mask::rwx
default:other::---



2013/10/27 "Th. Söldenwagner" <ts at linexus.de>

>
>
> Am 27.10.2013 12:41, schrieb spamvoll at googlemail.com:
>
>  Hmm
>>
>> Home dirs are created automaticly when I set the HomePath with the AD
>> Tools, should Samba set the correct perms?
>>
> This seems to be the reason why perms are set correct for the user's
> profile folders. Those are created when the user logs on to the domain and
> the home drive folder is created when being logged on as administrator
> using ADUC. In my case this results in the following perms:
>
> drwxrwxr-x+   2 3000000 users  4096 Oct 22 12:57 soeldenwagner.b/ --> for
> the user's home drive folder
>
> and
>
> drwxrwx---+ 13 3000057 users 4096 Oct 25 22:08 soeldenwagner.b/ --> the
> user's profile folder
>
>
>
>  Its not an option to set the pems on every homedir by hand.
>>
>
> In addition, you would first have to find out the correct user id of every
> user...
>
>  hmm.. the manpage has an example of [homes] my section is named [users].
>> Will [homes] will be processed otherwise then [users] ?
>>
>
> I suspect, this is the crucial question!
>
>
> --
> To unsubscribe from this list go to the following URL and read the
> instructions:  https://lists.samba.org/**mailman/options/samba<https://lists.samba.org/mailman/options/samba>
>


More information about the samba mailing list