[Samba] failed to call wbcGetpwnam/wbcGetgrnam/wbcGetpwsid WBC_ERR_DOMAIN_NOT_FOUND
Alex Matthews
ams at stmiss.co.uk
Fri May 26 12:31:09 UTC 2017
>Sorry if I upset you, but....
Thanks, the apology is much appreciated.
> Do you have the correct libnss_winbind.so in your lib path ?
# locate libnss
/usr/lib/libnss_compat-2.25.so
/usr/lib/libnss_compat.so
/usr/lib/libnss_compat.so.2
<truncated>
/usr/lib/libnss_winbind.so
/usr/lib/libnss_winbind.so.2
> From what I know about arch, it is based on ubuntu, which is based on d
ebian
Arch is not based on any other distro.
# pacman -Qo /usr/lib/libnss_winbind.so.2
/usr/lib/libnss_winbind.so.2 is owned by smbclient 4.5.8-1
Even though it's wbinfo throwing the error, it could still be an libnss
issue?
On 26 May 2017 at 13:04, Rowland Penny via samba <samba at lists.samba.org>
wrote:
> On Fri, 26 May 2017 12:21:35 +0100
> Alex Matthews via samba <samba at lists.samba.org> wrote:
>
> > >Why do people add stuff to the smb.conf on a DC without really
> > >knowing what
> > they are doing ???
> >
> > Why do people on mailing-lists always treat people who make mistakes
> > like children? You patronising..... person....
> > Maybe you should consider that this smb.conf has been on a server for
> > a long time and that servers roles have changed.
>
> Sorry if I upset you, but you posted a smb.conf from an Samba AD DC and
> in most cases, the smb.conf you get from the provision is all you need.
>
> when wbinfo shows users and groups, all this means is that they are in
> AD, it does not mean that the Unix OS has any idea who they are.
>
> You never mentioned that you had changed the servers role, not that
> this means much, because if you changed the computer from being any
> other form of a Samba server to being a DC, you would have had to
> remove the smb.conf
>
> If 'getent passwd username' doesn't produce any output, but 'wbinfo -u
> | grep username' does, then your problem undoubtedly lies in
> libnss. Do you have the correct libnss_winbind.so in your lib path ?
>
> From what I know about arch, it is based on ubuntu, which is based on
> debian, so you should find libnss_winbind.so in /lib/x86_64-linux-gnu
>
> I install these packages on debian:
>
> libpam-winbind libpam-krb5 libnss-winbind
>
> With these installed on a DC, getent works for me.
>
> Rowland
>
> --
> To unsubscribe from this list go to the following URL and read the
> instructions: https://lists.samba.org/mailman/options/samba
>
More information about the samba
mailing list