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

Rowland Penny rpenny at samba.org
Thu Jun 8 09:59:07 UTC 2017


On Thu, 8 Jun 2017 10:41:39 +0100
Alex Matthews via samba <samba at lists.samba.org> wrote:

> Rowland - please, don't get in the way of others being constructive to
> solving this issue. I do not need to know your opinions.

I was being constructive. I will also reply to this and try to be
constructive.

> 
> Louis - thanks for your responses. I have just updated to 4.6.4 (4.6.5
> isn't in a repo yet) and run samba-tool testparm. Unfortunately, no
> issues. It also does not fix the underlying issue.
> 
> As for your other questions:
> 
> # getent passwd testuser
> <nothing>
> 
> # wbinfo --own-domain
> SMC
> 
> # wbinfo --all-domains
> BUILTIN
> SMC
> 
> 
> idmap setup is as I posted in my original post: https://pastebin.com
> /yWPtWrEF

You don't have any idmap configuration in that smb.conf.
 
> 
> I do not have an idmap.conf?

it is part of smb.conf

> 
> # cat /etc/nsswitch.conf
> passwd: compat winbind
> group: compat winbind
> <omitted other non-relevant lines>
> 
> PAM is not configured as I'm not doing any *nix authentication.

At last, there is your problem, you need PAM because you need Unix
authentication. If you set up PAM 'getent passwd testuser' will work.

Rowland



More information about the samba mailing list