SOLVED.
You were correct about a misconfigured nss-winbind! When I originally copied
nsswitch.conf from the working server to the new server, I did not realize that
/etc/nsswitch.conf is now a symlink in Rocky 8, so what I copied was just the
symlink, not the actual file. After copying the real nsswitch.conf and
restarting services, it works now.
> -----Original Message-----
> From: samba <samba-bounces at lists.samba.org> On Behalf Of Eric
Robinson
> via samba
> Sent: Sunday, November 6, 2022 5:51 PM
> To: Michael Tokarev <mjt at tls.msk.ru>; samba at lists.samba.org
> Subject: Re: [Samba] "Invalid Group" but It Isn't
>
>
> > -----Original Message-----
> > From: Michael Tokarev <mjt at tls.msk.ru>
> > Sent: Sunday, November 6, 2022 4:53 PM
> > To: Eric Robinson <eric.robinson at psmnv.com>; samba at
lists.samba.org
> > Subject: Re: [Samba] "Invalid Group" but It Isn't
> >
> > 07.11.2022 01:02, Eric Robinson via samba wrote:
> > > Greetings --
> > >
> > > What causes this? I can see that it is a valid group...
> >
> > Um. The double \\ ? (Hint: escaping anything within single quotes
> > doesn't work) Or missing/misconfigured nss_winbind?
> > >
>
> No because the same command works fine on a different server. I type...
>
> # chown -R root:"MYCHARTS\site002_group" /zpool0/ts_folders/002 #
>
> I get no error and the ownership gets set properly. The other server has
the
> same OS and samba version. The smb.conf and nsswitch.conf files were copied
> from the working server and the services were restarted. That's why
I'm stuck.
>
> > > [root at store08b ts_folders]# wbinfo -g|grep site002
> > > MYCHARTS\site002_group MYCHARTS\site002_group
> > >
> > > But when I try to assign ownership, it says it is invalid...
> > >
> > > [root at store08b ts_folders]# chown -R
root:"MYCHARTS\site002_group"
> > > 002
> > > chown: invalid group: 'root:MYCHARTS\\site002_group'
> > >
> > > I have samba 4.125.11-15 on Rocky Linux release 8.6.
> >
> > Samba upstream has only 4.17. Your is 4.125 already - that's 100+
revisions!
> > I guess we can't say anything about that distant future yet :)
> >
>
> Sorry, typo. Correct version is 4.15.11-15.
>
> > /mjt
> Disclaimer : This email and any files transmitted with it are confidential
and
> intended solely for intended recipients. If you are not the named addressee
you
> should not disseminate, distribute, copy or alter this email. Any views or
> opinions presented in this email are solely those of the author and might
not
> represent those of Physician Select Management. Warning: Although Physician
> Select Management has taken reasonable precautions to ensure no viruses are
> present in this email, the company cannot accept responsibility for any
loss or
> damage arising from the use of this email or attachments.
> --
> To unsubscribe from this list go to the following URL and read the
> instructions:
> https://nam02.safelinks.protection.outlook.com/?url=https%3A%2F%2Flists.sam
> ba.org%2Fmailman%2Foptions%2Fsamba&data=05%7C01%7Ceric.robinso
> n%40psmnv.com%7C06d9ef5da6df435fed0d08dac051fa1c%7C41c01403a26541
> 7280287972e133fa87%7C0%7C0%7C638033755581772481%7CUnknown%7CT
> WFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJX
> VCI6Mn0%3D%7C3000%7C%7C%7C&sdata=qgR%2F101LxSE180uGQApoH
> 8usGAGWZwyLkhKpwYbwMP4%3D&reserved=0
Disclaimer : This email and any files transmitted with it are confidential and
intended solely for intended recipients. If you are not the named addressee you
should not disseminate, distribute, copy or alter this email. Any views or
opinions presented in this email are solely those of the author and might not
represent those of Physician Select Management. Warning: Although Physician
Select Management has taken reasonable precautions to ensure no viruses are
present in this email, the company cannot accept responsibility for any loss or
damage arising from the use of this email or attachments.