[Samba] Samba 4.7.1 Generating Core Dumps

Rowland Penny
Tue, 26 Jun 2018 06:49:20 -0000

On Mon, 25 Jun 2018 21:21:58 +0000
Francis Mondia <Francis.Mondia at endace.com> wrote:

> Hi Rowland,
>
> Thanks for the reply.
>
> Samba is version 4.7.1 running on CentOS 7.5.1804
>
> Samba config below:
>
> ====>
> [global]
>         workgroup = companyworkgroup
>         security = ADS
>         realm = ad.companydomain.com
>         machine password timeout = 0
>
>         passdb backend = tdbsam
>
>         idmap config ALL:backend = lwicompat_v4

Never heard of the winbind 'lwicompat_v4' backend, what is this ?

>
>         idmap config ALL:default = yes
>         idmap config ALL:readonly = yes

Your workgroup is 'companyworkgroup' so I would expect 'ALL' to
actually be 'COMPANYWORKGROUP'

>         idmap uid = 10000-33554431
>         idmap gid = 10000-33554431

This is the old way of doing things, I would expect to see lines like
this (if using the winbind 'rid' backend).

    idmap config * : backend = tdb
    idmap config * : range = 2000-9999
    idmap config COMPANYWORKGROUP : backend = rid
    idmap config COMPANYWORKGROUP : range = 10000-33554431

Rowland

>
>         log level = 1
>         debug pid = true
>         log file = /var/log/samba/%U.log
>         max log size = 2000
>