[Samba] getent passwd SAMDOM\\demo01 does not work
K. R. Foley
kr at cybsft.com
Wed Oct 13 13:08:16 UTC 2021
On 10/13/21 1:38 AM, Jürgen Echter wrote:
> Hi,
>
> Am Mittwoch, Oktober 13, 2021 05:10 CEST, schrieb "K. R. Foley via
> samba" <samba at lists.samba.org>:
>> Hi,
>>
>> Should "getent passwd SAMDOM\\demo01" work from a Linux AD member?
>>
>>
>> AD server running on CentOS Linux 7
>>
>> Samba 4.11.13 built from source
>>
>>
>> Member server running on CentOS Linux 7
>>
>> Samba 4.11.13 built from source
>>
>> Configured following
>> https://wiki.samba.org/index.php/Setting_up_Samba_as_a_Domain_Member.
>>
>> Joined using "# net ads join -U administrator" without issue.
>>
>> "# wbinfo --ping-dc" works and reports the domain info correctly.
>>
>> "getent passwd <local user>" works fine
>>
>> "getent passwd SAMDOM\\<domain user>" returns nothing.
>>
>> "getent group SAMDOM\\Domain Users" returns nothing.
>>
>>
>> Should this work? Any help troubleshooting this would be appreciated.
>>
>> Thanks,
>>
>> kr
>>
>>
>> --
>> To unsubscribe from this list go to the following URL and read the
>> instructions: https://lists.samba.org/mailman/options/samba
> maybe you missed something here:
>
> https://wiki.samba.org/index.php/Setting_up_Samba_as_a_Domain_Member#Configuring_the_Name_Service_Switch
Thanks for your reply. I have configured nsswitch.conf. See below:
#passwd: files sss winbind
passwd: files winbind
shadow: files sss
#group: files sss winbind
group: files winbind
Thanks,
kr
>
>
More information about the samba
mailing list