pkgsrc-Bugs archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

pkg/58179: net/samba4 - libnss_winbind.so fails to return AD users via getent passwd.



>Number:         58179
>Category:       pkg
>Synopsis:       net/samba4 - libnss_winbind.so fails to return AD users via getent passwd.
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    pkg-manager
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Sat Apr 20 18:20:00 +0000 2024
>Originator:     Michael Stone
>Release:        NetBSD 10.0
>Organization:
>Environment:
NetBSD netbsdserver 10.0 NetBSD 10.0 (GENERIC) #0: Thu Mar 28 08:33:33 UTC 2024  mkrepro%mkrepro.NetBSD.org@localhost:/usr/src/sys/arch/amd64/compile/GENERIC amd64
>Description:
Installed samba4 4.19.5 binary via pkgin and joined an AD domain.  wbinfo -u confirms AD users are returned.  However, running getent passwd does not return the AD users as expected.  
>How-To-Repeat:
Install samba4 via pkgin.  Set up samba4 to join AD Domain.  Am able to join domain, can query domain successfully with all net tools, i.e., wbinfo -u returns AD users.  However the nsswitch integration does not work.  Firstly, the library seems to be named incorrectly.  The installed library is libnss_winbind.so.  Running ktruss confirms expected library name is nss_winbind.so.0.  So I created a symlink.  I can then confirm the library is opened.  However it does not appear it is accessed.  Running getent passwd does not return the users as expected.  I have the exact same setup for samba4 on a freebsd system and it works as expected.
>Fix:


Home | Main Index | Thread Index | Old Index