Luke Barone
2022-Dec-02 21:32 UTC
[Samba] User cannot access member server share by name, only by IP
This is what I have for the passwd and group lines in nsswitch.conf: passwd: files winbind systemd group: files winbind systemd Do I need to switch those around? I do not have users logging in on my server consoles, only accessing their files from Windows workstations. On Fri, Dec 2, 2022 at 1:26 PM Rowland Penny via samba < samba at lists.samba.org> wrote:> > > On 02/12/2022 21:18, Luke Barone via samba wrote: > > Have not tried (it's ID is 50 in /etc/group). I'll give it a try if it > bugs > > out on Monday (currently, it's working and I don't want to touch it if I > > can until the Winter break starts) > > > > When you use nsswitch, it first searches in /etc/passwd or /etc/group, > so the group called 'staff' in /etc/group is probably being used before > the group called 'Staff' in AD > > Rowland > > > > > -- > To unsubscribe from this list go to the following URL and read the > instructions: https://lists.samba.org/mailman/options/samba >
Rowland Penny
2022-Dec-02 21:40 UTC
[Samba] User cannot access member server share by name, only by IP
On 02/12/2022 21:32, Luke Barone via samba wrote:> This is what I have for the passwd and group lines in nsswitch.conf: > > passwd: files winbind systemd > group: files winbind systemd > > Do I need to switch those around? I do not have users logging in on my > server consoles, only accessing their files from Windows workstations. >They look correct to myself, you need to remove the Unix group staff. If it is like my Debian systems, the group has no members, so removing it shouldn't affect anything. The other possibility is to rename the AD group 'Staff' to something like 'Domain Staff'. Rowland