[Samba] Winbind Entry Added to /etc/nsswitch.conf
Rowland Penny
rpenny at samba.org
Fri Sep 23 07:20:26 UTC 2022
On 22/09/2022 21:55, Eddie Rowe via samba wrote:
> Under the section "Configuring the Name Service Switch" indicates that "Do not add the winbind entry to the NSS shadow database. This can cause the wbinfo utility fail." I have discovered our Linux distribution vendor is doing just this when following their process for deploy Samba. Can someone point me to additional information that I could use to try to get the vendor to fix their utility they tell customers to use to join a domain?
>
> https://wiki.samba.org/index.php/Setting_up_Samba_as_a_Domain_Member
I added that comment to the wiki, but I couldn't remember just why, so I
looked at the wiki history and traced it to this series of posts on the
samba mailing list:
https://lists.samba.org/archive/samba/2016-April/198934.html
At that time adding 'winbind' to the shadow line in /etc/nsswitch.conf
was causing panics and everything worked without it. It may be different
now, the code has changed over time, so it may now work (for a given
take on 'work', Samba does not use 'shadow'), but why add something that
is not required.
Would you like to post the smb.conf you use, if they are adding that
useless modification, they are also probably adding other unneeded things.
Rowland
More information about the samba
mailing list