[Samba] User cannot access member server share by name, only by IP

Rowland Penny rpenny at samba.org
Fri Dec 2 21:12:08 UTC 2022



On 02/12/2022 21:05, Luke Barone via samba wrote:
> So here's what they look like (from the file server):
> 
> root at fs1.edge:~# getent group Staff
> staff:x:70012:
> root at fs1.edge:~# getent group Sta22
> sta22:x:102103:
> 
> 1. Yes, I've run 'net cache flush' a few times. It seems to bounce the user
> or group IDs between the two sets of numbers (70_000 range to 100_000 range)
> 2. Through a script:
> samba-tool user create $un $pw \
>          --userou="OU=Staff_Users,OU=Users" \
>          --must-change-at-next-login \
>          --given-name=$fn \
>          --surname=$ln \
>          --home-directory=\\\\fs1.${domain,,}.EXAMPLE.ca\\Users\\$un \
>          --home-drive=H
> 3. Before today, running `samba-tool group add Staff`. The groups were made
> a few years ago.
> 4. Before, as part of the script, these users were added with `samba-tool
> group addmembers Staff $un`. Starting today, when I created Staff2, I added
> it with the RSAT tools, and added the members there.
> 
> On Fri, Dec 2, 2022 at 1:01 PM Rowland Penny via samba <
> samba at lists.samba.org> wrote:

Just had a thought, there is a Linux group called staff, have you 
deleted this group ?

Rowland




More information about the samba mailing list