[Samba] getent passwd SAMDOM\\demo01 does not work
K. R. Foley
kr at cybsft.com
Tue Oct 26 01:19:50 UTC 2021
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
>> 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:
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 ->
[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 ->
> ) if you compiled Samba yourself, or by installing the required packages if you installed Samba packages (libnss-winbind libpam-winbind libpam-krb5 on Debian/Ubuntu and winbind-clients on redhat)
More information about the samba