Web lists-archives.com

Re: [Samba] Samba login failure: getpwuid failed




On Sun, 7 May 2017 23:55:52 -0500
Michael Schwager <mschwage@xxxxxxxxx> wrote:

> Hi Rowland,
> Thanks for the reply. I did as you suggested and did not see any
> change in my system behavior.
> 
> I put everything back the way it was. Then I noticed that I have an
> identical system (so I think) right next to it, on the same rack,
> connected to the same switch, with the same OS and hardware, and it
> is working 100%.
> 
> Fundamentally, I cannot su to my user "developer_prod" as the "id"
> utility complains that it "cannot find user for ID 16777216". I
> believe something is wrong with winbind, and I don't know what it is.
> 
> Does winbind use the smb.conf file?
> 

You are doing this in production aren't you, did you not do any testing
before putting it into production ?

In answer to your question, winbind uses the smb.conf file, but yours
was not set up correctly for winbind.

Try reading this:

https://wiki.samba.org/index.php/Setting_up_Samba_as_a_Domain_Member

I repeat, you cannot use winbind with sssd installed, they both have a
version of a winbind lib, you need to choose one or the other.

If you must use the user '16777216' then change the '10000-999999'
range to reflect this.

Rowland

-- 
To unsubscribe from this list go to the following URL and read the
instructions:  https://lists.samba.org/mailman/options/samba