Files
k8s-apps/samba-files/smb-conf.yaml
2026-03-20 14:58:56 +00:00

49 lines
1.2 KiB
YAML

---
apiVersion: v1
kind: ConfigMap
metadata:
name: samba-files-config
namespace: samba-files
data:
smb.conf: |
[global]
log level = 3 auth:5 winbind:5
logging = stderr
server role = member server
security = ADS
realm = UNDERCLOUD.LOCAL
workgroup = UNDERCLOUD
netbios name = FILESRV1
kerberos method = secrets and keytab
dedicated keytab file = /etc/krb5.keytab
name resolve order = host bcast
winbind use default domain = yes
winbind refresh tickets = yes
winbind enum users = no
winbind enum groups = no
idmap config * : backend = tdb
idmap config * : range = 10000-19999
idmap config UNDERCLOUD : backend = rid
idmap config UNDERCLOUD : range = 20000-999999
server min protocol = SMB2
disable spoolss = yes
load printers = no
printing = bsd
printcap name = /dev/null
map to guest = never
[data]
path = /data
read only = no
browseable = yes
valid users = @"UNDERCLOUD\fileserver-access"
force group = "UNDERCLOUD\fileserver-access"
create mask = 0660
directory mask = 0770
inherit permissions = yes