Rowland Penny
2022-Dec-02 21:12 UTC
[Samba] User cannot access member server share by name, only by IP
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
Luke Barone
2022-Dec-02 21:18 UTC
[Samba] User cannot access member server share by name, only by IP
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) On Fri, Dec 2, 2022 at 1:12 PM Rowland Penny via samba < samba at lists.samba.org> wrote:> > > 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 > > > -- > To unsubscribe from this list go to the following URL and read the > instructions: https://lists.samba.org/mailman/options/samba >