[Samba] ID mapping with SFU not setting shell

O'Connor, Daniel darius at dons.net.au
Sun Aug 30 11:57:32 UTC 2020



> On 30 Aug 2020, at 19:01, Rowland penny via samba <samba at lists.samba.org> wrote:
>> root at gateway2:~ # getent passwd testuser
>> BEGER\testuser:*:123123:20::/home/BEGER/testuser:/bin/false
>> 
>> Whereas the shell should be /bin/sh and the home directory /home/testuser
> 
> No, you would like the shell to be /bin/sh and the home directory /home/testuser, but you have a big problem, it doesn't work like that on a DC :-(
> 
> Winbind only pulls ID's from AD on a DC, it ignores the shell and home directories. All DC's are time servers, so don't need that line and the two winbind lines do nothing on a DC, so you might as well remove them.

Well I guess that explains why it doesn't work then :)

I can (and currently do) work around it by having entries in master.passwd that have the correct shell etc..

--
Daniel O'Connor
"The nice thing about standards is that there
are so many of them to choose from."
 -- Andrew Tanenbaum





More information about the samba mailing list