I have an issue that "getent passwd SAMDOM\usrname" returns a blank response. Running "getent passwd" returns all the local users. I cannot determine if the libnss-winbind symbolic links exist. This is a member server running Debian 10 with Samba v4.12.5 via Louis' repos. The Sambawiki /Libnss winbind Links/ page shows Debian x86_64 source location as "/usr/local/samba/lib/libnss_winbind.so.2". root at mbr04:~# find / -name libnss_winbind.so.2 /var/spool/postfix/lib/x86_64-linux-gnu/libnss_winbind.so.2 /usr/lib/x86_64-linux-gnu/libnss_winbind.so.2 Shouldn't the links for libnss-winbind have been part of Louis' setup? How can I determine the presence of the links? -- Bob Wooden
On 14/08/2020 18:45, Robert E. Wooden via samba wrote:> I have an issue that "getent passwd SAMDOM\usrname" returns a blank > response. > > Running "getent passwd" returns all the local users. > > This is a member server running Debian 10 with Samba v4.12.5 via > Louis' repos. > > The Sambawiki /Libnss winbind Links/ page shows Debian x86_64 source > location as "/usr/local/samba/lib/libnss_winbind.so.2".I have added a note to the page.> Shouldn't the links for libnss-winbind have been part of Louis' setup?They are, provided you have installed libnss-winbind, libpam-winbind and libpam-krb5. You should also add 'winbind' to the 'passwd' & 'group' lines in /etc/nsswitch.conf Rowland
On 8/14/2020 1:05 PM, Rowland penny via samba wrote:> On 14/08/2020 18:45, Robert E. Wooden via samba wrote: >> >> ... source location as "/usr/local/samba/lib/libnss_winbind.so.2".(I forgot to add that I am aware that this is the compiled by user location.)> libpam-krb5libpam-krb5 was not installed. (I installed it.) Restarted However, "getnet passwd SAMDOM\username" still returns blank. If the links are present, shouldn't "find" locate them/it? root at mbr04:~# find / -name libnss_winbind.so.2 /var/spool/postfix/lib/x86_64-linux-gnu/libnss_winbind.so.2 /usr/lib/x86_64-linux-gnu/libnss_winbind.so.2 -- Bob Wooden