[Samba] multiple passdb backends for standalone fileserver?

Matthias Leopold
Mon, 20 Aug 2018 14:43:24 -0000

Hi,

i (naively) would like to have local AND ldap users (and groups...) on
my standalone fileserver (security = user). "passdb backend = ldapsam"
already works OK and i found some old posts on the internet about
"chaining" passdb backends. so i tried "chaining" ldapsam
and tdbsam,
but although testparm doesn't complain and i can add local users with
"pdbedit -b tdbsam" this setup doesn't actually work (ldap users
are
found, local are not)

is this supposed to work? are there other ways to achieve this?

samba version: 4.7.1 (on CentOS)

thx
matthias