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
On 14/08/2020 20:18, Robert E. Wooden via samba wrote:> 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-krb5 > > libpam-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 >Hmm, I use Louis's repo and mine is here: /lib/x86_64-linux-gnu/libnss_winbind.so.2 Try running 'pam-auth-update' as root, it will show the PAM profiles in use, I have: [*] Kerberos authentication [*] Unix authentication [*] Winbind NT/Active Directory authentication [*] Mount volumes for user [*] Create home directory on login [*] GNOME Keyring Daemon - Login keyring management [*] Inheritable Capabilities Management Yours may be different, but the important ones are kerberos and winbind Which winbind backend are you using, the 'ad' or 'rid' ? If the 'ad', have you added anything to AD ? Rowland
On 8/14/20 3:40 PM, Rowland penny via samba wrote:> Hmm, I use Louis's repo and mine is here: > > /lib/x86_64-linux-gnu/libnss_winbind.so.2 > > Try running 'pam-auth-update' as root, it will show the PAM profiles > in use, I have: > > [*] Kerberos authentication > [*] Unix authentication > [*] Winbind NT/Active Directory authentication > [*] Mount volumes for user > [*] Create home directory on login > [*] GNOME Keyring Daemon - Login keyring management > [*] Inheritable Capabilities Management > > Yours may be different, but the important ones are kerberos and winbind > > Which winbind backend are you using, the 'ad' or 'rid' ? If the 'ad', > have you added anything to AD ? > > Rowland > >Here is mine: ??? [*] Kerberos authentication ??? [*] Unix authentication ??? [*] Winbind NT/Active Directory authentication ??? [*] Register user sessions in the systemd control group ... ??? [*] Create home directory on login My backend is "ad". So, mine is here: "/usr/lib/x86_64-linux-gnu/libnss_winbind.so.2" and yours is here:? "/lib/x86_64-linux-gnu/libnss_winbind.so.2". Do I need to create a symbolic link between the two? Or are your saying that the distro does not incorporate symlinks like those needed on built from source installations? -- (Sent from home location.) Bob Wooden