[Samba] failed to call wbcGetpwnam/wbcGetgrnam/wbcGetpwsid WBC_ERR_DOMAIN_NOT_FOUND
L.P.H. van Belle
belle at bazuin.nl
Thu Jun 8 10:28:39 UTC 2017
( copy the parts from Rowlands mail )
> I do not have an idmap.conf?
it is part of smb.conf
A small mixup here, See below.
There are 2 idmap definitions ( smb.conf and idmap.conf )
idmap.conf is/should normaly not be needed, this all depends on the setup.
More comment below.
> -----Oorspronkelijk bericht-----
> Van: samba [mailto:samba-bounces at lists.samba.org] Namens Alex
> Matthews via samba
> Verzonden: donderdag 8 juni 2017 11:42
> Aan: samba at lists.samba.org
> Onderwerp: Re: [Samba] failed to call
> wbcGetpwnam/wbcGetgrnam/wbcGetpwsid WBC_ERR_DOMAIN_NOT_FOUND
>
> Rowland - please, don't get in the way of others being
> constructive to solving this issue. I do not need to know
> your opinions.
Really, we also need Rowland, and i do apriciate all his comments.
We try to learn or each other, so be nice, he is one of the good guys.
>
> 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
Here im missing te COMPUTERNAME
Why? I dont know. (yet)
>
>
> idmap setup is as I posted in my original post:
> https://pastebin.com /yWPtWrEF
>
> I do not have an idmap.conf?
Dont know, check if /etc/idmap.conf exist. Of maybe on an other location.
( /etc/idmap.conf on debian from nfs-common package)
( mine, the important part : set your own domain here, if id differs from FQDN minus hostname )
cat /etc/idmapd.conf
[General]
Verbosity = 0
Pipefs-Directory = /run/rpc_pipefs
# set your own domain here, if id differs from FQDN minus hostname
# Domain = localdomain
>
> # 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.
Any user with ID is a unix user, so yes you need that.
As Rowland also told.
>
> Thanks again Louis
Your welkom.
>
> Alex
>
>
> On 7 June 2017 at 16:28, Rowland Penny via samba
> <samba at lists.samba.org>
> wrote:
>
> > 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
> >
> > --
> > To unsubscribe from this list go to the following URL and read the
> > instructions: https://lists.samba.org/mailman/options/samba
> >
> --
> 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