-
Notifications
You must be signed in to change notification settings - Fork 89
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[samba-dc] 4.18 no longer requires CAP_SYS_ADMIN with new security.NTACL option #118
Comments
The 4.18 samba docs give this description:
However I don't want to make this change without a better description of the change. The items in bold need further clarification. |
Hi @instantlinux,
I'm not a Samba expert but I think that the "previous" statement provides what requested:
Using a kind-of privileged container is not a great approach from a security perspective; maybe the same as giving the possibility to view/alter those ACLs locally when accessing the container: if we better secure the hosting environment (i.e. less privileges) we could IMHO say that a local access could be more under control. HTH, |
It's not clear to me what that means: "any user can potentially access and overwrite" but I want to spell out in the README what that vulnerability means for users with "local access, ssh or NFS". I understand your argument, that I should make this change right away: but if it's just a matter of setting |
I'm leaving this open until an authoritative source of information explains this statement in the release update for Users of this image on Docker Hub won't be able to "clearly understand" what those precautions need to be until I add this information to this repo, at least in the README file if not also in a warning message emitted at startup time. So the default has to stay the same for now. |
Please check the updated README in PR #133, which has this text:
|
Hello Everyone,
new to Samba as DC in Container, just looking at your solution.
Based on https://gitlab.com/samba-team/samba/-/merge_requests/2557 and
acl_xattr:security_acl_name
i.e. Samba4.18.0
, isSYS_ADMIN
still required in:docker-tools/images/samba-dc/docker-compose.yml
Lines 8 to 9 in 88d03d8
docker-tools/images/samba-dc/helm/values.yaml
Lines 25 to 27 in 88d03d8
?
AFAIK probably no, if we assign
user.NTACL
toacl_xattr:security_acl_name
.TIA,
Matteo
The text was updated successfully, but these errors were encountered: