[Samba] getent passwd SAMDOM\\demo01 does not work

Rowland Penny rpenny at samba.org
Tue Oct 26 07:28:17 UTC 2021


On Mon, 2021-10-25 at 20:19 -0500, K. R. Foley wrote:
> On 10/25/21 3:18 AM, Rowland Penny via samba wrote:
> > On Sun, 2021-10-24 at 18:21 -0500, K. R. Foley wrote:
> > > I am just getting back to troubleshooting this.
> > > 
> > > I do not think that sssd is enabled. In fact I do not think it is
> > > even
> > > installed on this system.
> > OK, I have lost track of this, but it looks like you are running
> > Samba
> > as an AD DC. Have you checked that sssd isn't installed ?
> 
> Yes. sssd is not installed.
> 
> "rpm -qa | grep sss" returns nothing.
> 
> > If it is, remove it along with all the 'sss' in /etc/nsswitch.conf
> 
> Commented all references in nsswitch.conf
> 
> > Have you created the libnss-winbind links ? either manually (see
> > here:
> > https://wiki.samba.org/index.php/Configuring_Winbindd_on_a_Samba_AD_DC
> 
> I followed those instructions.
> 
> [root at cln-files-prod kr]# ls -lt /lib64/libnss_winbind.so.2
> 
> lrwxrwxrwx 1 root root 40 Oct 11 21:21 /lib64/libnss_winbind.so.2 -> 
> /usr/local/samba/lib/libnss_winbind.so.2
> [root at cln-files-prod kr]# ls -lt /lib64/libnss_winbind.so
> lrwxrwxrwx 1 root root 26 Oct 11 21:21 /lib64/libnss_winbind.so -> 
> /lib64/libnss_winbind.so.2

This is on fedora if I remember correctly, so have you installed these
packages:

samba samba-winbind samba-winbind-clients oddjob-mkhomedir

Rowland





More information about the samba mailing list