Closed
Description
I am trying to get ldapmodify
to work in the quay.io/samba.org/samba-ad-server container (after installing /usr/bin/ldapmodify). For that I need to set ldap server require strong auth = no
option in smb.conf's [global]
section. But despite https://github.com/samba-in-kubernetes/sambacc/blob/master/docs/configuration.md and various examples, it just doesn't seem to stick:
my ~/samba-ad.json:
{
"samba-container-config": "v0",
"configs": {
"demo": {
"instance_features": ["addc"],
"domain_settings": "sink",
"instance_name": "f0",
"globals": ["default"]
}
},
"domain_settings": {
"sink": {
"realm": "COCKPIT.LAN",
"short_domain": "COCKPIT",
"admin_password": "foobarFoo123"
}
},
"globals": {
"default": {
"options": {
"ldap server require strong auth": "no"
}
}
}
}
podman run -it --rm --name samba --privileged --network=host -v /root/samba-ad.json:/etc/samba/container.json -h f0.cockpit.lan quay.io/samba.org/samba-ad-server
And yet there's no sign of it:
# podman exec -it samba cat /etc/samba/smb.conf
# Global parameters
[global]
dns forwarder = 127.0.0.53
netbios name = F0
realm = COCKPIT.LAN
server role = active directory domain controller
workgroup = COCKPIT
idmap_ldb:use rfc2307 = yes
[sysvol]
path = /var/lib/samba/sysvol
read only = No
[netlogon]
path = /var/lib/samba/sysvol/cockpit.lan/scripts
read only = No
I also tried other options, like "guest ok": "no"
which is from /usr/share/sambacc/examples/example1.json
How does this work?
Thanks in advance!
Metadata
Metadata
Assignees
Labels
No labels