[Samba] The security id structure is invalid

Rowland Penny
Sat, 08 Oct 2016 14:32:29 -0000

On Sat, 8 Oct 2016 09:58:10 -0400
Ron García-Vidal via samba <samba at lists.samba.org> wrote:

> On 10/8/16 3:55 AM, Rowland Penny via samba wrote:
> > Try running this on the DC:
> > wbinfo --sid-to-gid=S-1-5-21-1319907214-2951884047-2640289736-512
> >
> Winbind is not running on the DC, it's only using sssd. I get: failed
> to call wbcSidToGid: WBC_ERR_WINBIND_NOT_AVAILABLE
>
> This was also the case before the 4.3 to 4.5 upgrade.
>
> -Ron
>

Please post your smb.conf from the DC, the 'samba' deamon should start
winbind, if you run 'ps ax | grep winbind', you should get something
like this:

1846 ?        Ss    48:07 /usr/local/samba/sbin/winbindd -D
--option=server role check:inhibit=yes --foreground 1887 ?        S
135:14 /usr/local/samba/sbin/winbindd -D --option=server role
check:inhibit=yes --foreground 1909 ?        S
0:10 /usr/local/samba/sbin/winbindd -D --option=server role
check:inhibit=yes --foreground 1911 ?        S
24:12 /usr/local/samba/sbin/winbindd -D --option=server role
check:inhibit=yes --foreground 1917 ?        S
1:58 /usr/local/samba/sbin/winbindd -D --option=server role
check:inhibit=yes --foreground

Rowland