[Samba] Windows pre-requisites for login with winbind?

A. James Lewis james at fsck.co.uk
Mon Aug 21 17:04:43 UTC 2017


I've just observed a bizarre clue:-

# su - newuser
No passwd entry for user 'newuser'

# wbinfo --user-groups newuser
72471
19108
72307
72516
19326
--- SNIP ---
#

So, it can see the groups that user is a member of, but it cannot see a "passwd entry", whatever that means in the context of winbind!

James



August 21, 2017 5:34 PM, "Rowland Penny via samba" <samba at lists.samba.org> wrote:

> On Mon, 21 Aug 2017 15:37:03 +0000
> "A. James Lewis" <james at fsck.co.uk> wrote:
> 
>> OK, obviously I am slightly sanitising the output here, but I'm
>> preserving the case, and just replacing local names with generic ones
>> as I did for the config.
> 
> Not a problem with doing that ;-)
> 
>> # more /etc/hosts
>> 127.0.0.1 localhost
>> 127.0.1.1 hostname01
> 
> OK, does this computer get its ip via dhcp ?
> if it does, just remove the '127.0.1.1' line.
> If it doesn't, remove the '127.0.1.1' line and add a line:
> 
> <ip for hostname01> hostname01.domain.local hostname01
> 
>> # more /etc/resolv.conf
>> search domain.local
>> nameserver 10.0.3.1
> 
> Is '10.0.3.1' the ipaddress of the AD DC (or something that will get
> you to the AD DC ?
> 
> Rowland
> 
> --
> To unsubscribe from this list go to the following URL and read the
> instructions: https://lists.samba.org/mailman/options/samba

--
A. James Lewis (james at fsck.co.uk)
"Engineering does not require science. Science helps a lot but people
built perfectly good brick walls long before they knew why cement works."



More information about the samba mailing list