Skip to content

Commit

Permalink
Issue #118 - document security.NTACL for samba-dc
Browse files Browse the repository at this point in the history
  • Loading branch information
instantlinux committed Sep 14, 2023
1 parent a46f1f3 commit 9e6fdb8
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion images/samba-dc/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ The most-common directives can be specified in environment variables as shown be
Basic requirements:

* A Domain Controller must have a static IP address and persistent DNS entry
* This container must be run in network_mode:host, and with cap_add:CAP_SYS_ADMIN privs
* This container must be run in network_mode:host, and with cap_add:CAP_SYS_ADMIN privs (see Notes section below if you want to drop the CAP_SYS_ADMIN permission)
* A NETBIOS_NAME or hostname must be specified, which becomes the netbios name.

The directories /etc/samba and /var/lib/samba must be mounted as persistent volumes. If /var/lib/samba is empty, the "provision" or "join" action specified in DOMAIN_ACTION variable will be taken.
Expand Down Expand Up @@ -125,6 +125,8 @@ ERROR(ldb): uncaught exception - Element clearTextPassword has empty attribute i
message (CN=Administrator,CN=Users,DC=ad,DC=***,DC=nl)
```

* Version `4.18` introduced a `security.NTACL` feature intended to allow samba-dc to run within a container without the `CAP_SYS_ADMIN` permission. See the section _New option to change the NT ACL default location_ in the [features added/changed](https://wiki.samba.org/index.php/Samba_Features_added/changed) documentation. The helm chart defined here can be locally modified to support this but it's left as an exercise for advanced users.

### Contributing

If you want to make improvements to this image, see [CONTRIBUTING](https://github.com/instantlinux/docker-tools/blob/main/CONTRIBUTING.md).
Expand Down

0 comments on commit 9e6fdb8

Please sign in to comment.