Alex Matthews
2017-May-26 12:31 UTC
[Samba] failed to call wbcGetpwnam/wbcGetgrnam/wbcGetpwsid WBC_ERR_DOMAIN_NOT_FOUND
>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 debian 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 >
Rowland Penny
2017-May-26 13:20 UTC
[Samba] failed to call wbcGetpwnam/wbcGetgrnam/wbcGetpwsid WBC_ERR_DOMAIN_NOT_FOUND
On Fri, 26 May 2017 13:31:09 +0100 Alex Matthews via samba <samba at lists.samba.org> wrote:> > > 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.Shows you how much I know about Arch Linux ;-)> > # 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?Possibly and probably, I have just run the tests you posted in your first post against a test DC and they all worked. I will send you (offlist) the notes I made when I set up the test DC, perhaps you can figure out just what you have missing or different. Rowland
Alex Matthews
2017-Jun-02 09:02 UTC
[Samba] failed to call wbcGetpwnam/wbcGetgrnam/wbcGetpwsid WBC_ERR_DOMAIN_NOT_FOUND
Still no joy on this. @Rowland - Everything except the tests I mentioned in my first post work as expected, when compared to what you sent me. On 26 May 2017 at 14:20, Rowland Penny via samba <samba at lists.samba.org> wrote:> On Fri, 26 May 2017 13:31:09 +0100 > Alex Matthews via samba <samba at lists.samba.org> wrote: > > > > > > 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. > > Shows you how much I know about Arch Linux ;-) > > > > > # 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? > > Possibly and probably, I have just run the tests you posted in your > first post against a test DC and they all worked. > > I will send you (offlist) the notes I made when I set up the test DC, > perhaps you can figure out just what you have missing or different. > > Rowland > > > -- > To unsubscribe from this list go to the following URL and read the > instructions: https://lists.samba.org/mailman/options/samba >
Reasonably Related Threads
- failed to call wbcGetpwnam/wbcGetgrnam/wbcGetpwsid WBC_ERR_DOMAIN_NOT_FOUND
- failed to call wbcGetpwnam/wbcGetgrnam/wbcGetpwsid WBC_ERR_DOMAIN_NOT_FOUND
- failed to call wbcGetpwnam/wbcGetgrnam/wbcGetpwsid WBC_ERR_DOMAIN_NOT_FOUND
- failed to call wbcGetpwnam/wbcGetgrnam/wbcGetpwsid WBC_ERR_DOMAIN_NOT_FOUND
- failed to call wbcGetpwnam/wbcGetgrnam/wbcGetpwsid WBC_ERR_DOMAIN_NOT_FOUND