[Samba] "Invalid Group" but It Isn't

Eric Robinson eric.robinson at psmnv.com
Sun Nov 6 23:50:58 UTC 2022

> -----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.

More information about the samba mailing list