Is possible to use the sss backend in samba?

jose-pr

Dabbler
Joined
Apr 3, 2022
Messages
10
Currently thinking about moving my nas from a fedora server to Truenas Scale.
I want to see if i can replicate this configuration in Truenas Scale
Especially using sss as the idmap backend to sss
My current configuration.

Code:
[global]

#Interface Binding
bind interfaces only = yes
interfaces = lo br_core

#Domain Connection
realm = MY.DOMAIN.NET
workgroup = MYDOMAIN
security = ads
kerberos method = secrets and keytab
machine password timeout = 0

#SID to UNIX UID
##Use SSSD for sid to uid
idmap config MYDOMAIN : backend = sss
idmap config MYDOMAIN : range = 200000-2147483647
##Local users
idmap config * : backend = tdb
idmap config * : range = 10000-199999

#Disable Printer Share Service
load printers = no
printcap name = /dev/null
disable spoolss = yes

#User Settings
template homedir = /shares/users/%U
template shell = /bin/bash

#Windows ACLs Permissions
# Hope to use native nfsv41 permissions with Truenas Scale but this is my current working config in my linux server.
vfs objects = acl_xattr
map acl inherit = Yes
acl_xattr:ignore system acls = no
acl_xattr:default acl style = posix
writable = yes

[public]
comment = Public Share
path = /shares/public

[media]
comment = Media Files
path = /shares/media

[homes]
comment = Home Directory
path = /shares/users/%S
browseable = no

[users]
comment = Users Directories
path = /shares/users
 
Top