[Samba] getent not showing domain users and groups with winbind but works with sssd

Rowland Penny rpenny at samba.org
Mon Oct 1 18:40:12 UTC 2018


On Mon, 1 Oct 2018 19:28:29 +0200
Peter Milesson via samba <samba at lists.samba.org> wrote:

> Hi Louis and Rowland,
> 
> I'm just reporting back on this, in case it may help somebody else.
> 
> Getting a working getent (or id) under the current version of CentOS 
> with winbind just doesn't seems possible. I haven't got a clue where
> the problem is. I have tried the suggestions, I did a clean
> installation, and built Samba myself from source, but no way.
> Installing sssd, a few lines of configuration, disabling winbind, and
> it just works. I just want to stress, that the problems I have had
> getting the Samba domain member to work, are most probably
> CentOS-related.
> 
> Unfortunately, I must leave it at this point, as I have spent way too 
> much time already. At least I'm glad that I didn't upgrade the 
> production server directly, and instead spent time trying to get
> things to work in the test environment. Otherwise there would have
> been tar and feathers at noon today.
> 
> A sincere thank you for your time and suggestions.
> 

OK, it is your decision (and I don't blame you for your choice) to use
sssd, but I feel I should point out that using wimbind does work on
Centos 7.1.

I had Centos 7 in a VM, so I started it, updated it and installed the
centos Samba packages (by the way, who thought that it was a good idea
to call 'winbind' 'samba-winbind' ?). Installed a copy of a known
working smb.conf from a Devuan machine. I should mention that the
Centos VM was previously running a compiled version Samba, so
most of the set up was already done (This set up was based on what I do
for Devuan).

And........

[root at cen1804 ~]# getent passwd rowland
rowland:*:10000:10000:Rowland Penny:/home/rowland:/bin/bash

[root at cen1804 ~]# getent group domain\ users
domain users:x:10000:......long list of users

There is undoubtedly something different between your setup and mine.

Rowland



More information about the samba mailing list