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

Rowland Penny rpenny at samba.org
Sun Jun 4 07:32:15 UTC 2017


On Sun, 4 Jun 2017 00:03:48 +0200
"L.P.H. van Belle via samba" <samba at lists.samba.org> wrote:

 
> in this complete post i miss
> getent passwd username
> id username.
> and resolv.conf
> and upgrade from which version?
> did you check the change logs as of your old version up to this
> version? 4.5.8 isnt 12-18 months old. arch wiki supplies an excelent
> howto and check list on samba dc setups, i can not check it, (still
> on holiday).
> 
> i suggest upgrade to at least 4.5.10 but i do also suggest wait
> untill 4.6.5 and use that one. why? lots of winbind fixes, my guess
> is you hit a bug but as said im limit on checking things out.
> 
> and can you explain what the problem exact is, beside the error your
> getting, so what is not working, exept the 'local' wbinfo checks.
> 
> ill bet Rowland knows whats goingon if you answer my questions.
> 
> greetz for sunny Sicilie.
> 
> Louis
> 

Hi Louis, hope you are having a good holiday ;-)

The OP is using Arch Linux, not sure if using a rolling release is a
good idea for a server. Until yesterday he hadn't mentioned that it
wasn't a new install, but something that had been running for sometime.

In his first post, he posted a list of commands he had tried, most
returned the expected results ('getent passwd username' was amongst
them) but there was these that failed:

# wbinfo -i "testuser"
failed to call wbcGetpwnam: WBC_ERR_DOMAIN_NOT_FOUND
Could not get info for user testuser

# wbinfo -i "SMC\testuser"
failed to call wbcGetpwnam: WBC_ERR_DOMAIN_NOT_FOUND
Could not get info for user SMC\testuser

# wbinfo -n testuser
S-1-5-21-1989633265-3966479559-1628277992-3078

# wbinfo --user-sidinfo S-1-5-21-1989633265-3966479559-1628277992-3078
failed to call wbcGetpwsid: WBC_ERR_DOMAIN_NOT_FOUND
Could not get info for user sid S-1-5-21-1989633265-
3966479559-1628277992-3078

All of his commands worked for me, so I supplied him with my notes made
when installing Samba on Devuan, he replied that didn't help and he
was still having problems. I replied that I would set up Arch Linux in
A VM and install a DC.

This I did, with some difficulty, mainly because Arch is very
different from Devuan and then ran his tests. All of them worked.
I then supplied him with my results etc, just to get abuse back, you
just cannot help some people.

Rowland
 



More information about the samba mailing list