I didn’t test that configuration with a multiple DC AD domain. I suppose changing that setting applies to the local DC only. In other words, it does not affect the global domain policy. Let me know how it goes!
root@ns8-main:~# runagent -m samba1 podman exec -ti samba-dc vi /etc/samba/include.conf
Error: crun: executable file vi not found in $PATH: No such file or directory: OCI runtime attempted to invoke a command that was not found
seems vi is not available, testing with nano
Nope. I can’t find an editor:
root@ns8-main:~# runagent -m samba1 podman exec -ti samba-dc whereis vi
vi:
root@ns8-main:~# runagent -m samba1 podman exec -ti samba-dc whereis nano
nano:
I also tried this but to no avail:
runagent -m samba1 podman exec -ti samba-dc “echo ldap server require strong auth = no >> /etc/samba/include.conf”
Error: crun: executable file echo ldap server require strong auth = no >> /etc/samba/include.conf not found in $PATH: No such file or directory: OCI runtime attempted to invoke a command that was not found
Since it operates as a container, restarting the service undoes all previous changes, except for ‘include.conf,’ which is preserved in a persistent volume.
ERR: (Constraint violation) “objectclass_attrs: attribute ‘objectClasses’ on entry ‘cn=schema,cn=config,dc=ad,dc=domain,dc=net’ is constructed!” on DN cn=schema,cn=config,dc=ad,dc=domain,dc=net at block before line 18