[Samba] failed to call wbcGetpwnam/wbcGetgrnam/wbcGetpwsid WBC_ERR_DOMAIN_NOT_FOUND

Rowland Penny rpenny at samba.org
Wed Jun 7 15:28:13 UTC 2017


On Wed, 7 Jun 2017 17:01:03 +0200
"L.P.H. van Belle via samba" <samba at lists.samba.org> wrote:

> He did not test :
> getent passwd username
> result ?
> 
> He did test : 
> getent passwd
> result ok
> 
> He could test with : 
> wbinfo --own-domain
> Results: 
> NTDOM
> 
> And this should show: 
> wbinfo --all-domains
> Results: 
> BUILDIN
> HOSTNAME
> NTDOM
> 
> Im guessing, the last one wil fail. 
> Things to check. 
> samba idmap setup. 
> nsswitch.conf
> idmap.conf
> pam setup.
> 
> So best option lookt to me upgrade to 4.6.5 and run samba-tool
> testparm. That show config errors in idmap.

Hi Louis,

As I said, I set up an ARCH DC and got everything to work, I then sent
him my notes, his response was 'great, but I have been using my setup
for some time'

I got everything to work, wbinfo and getent.

I would agree, the user needs to upgrade and then follow your advice
(and my notes) and try again. I still cannot understand why he is using
a rolling release for something that really needs a static base with
few updates. 
> 
> That all i can think off, i dont know arch linux that well also. 

I have decided I don't want to know Arch any better ;-)



> > Hi Louis, hope you are having a good holiday ;-)
> Yes, i had a good holiday, thanks. Bit low on sleep but that worked
> out.. 

I thought the whole idea behind a holiday was to relax and take things
easy ;-)

> Yes, correct but for you. 
> https://wiki.archlinux.org/index.php/Samba/Active_Directory_domain_controller 
> A basic but pretty good setup for arch. ;-) so next time it wont take
> long.

Setting up Samba didn't take much time, it was getting Arch installed
that took all the time for me.

Rowland



More information about the samba mailing list