[Samba] auto_private_groups analogue?
rpenny at samba.org
Fri Feb 28 14:00:32 UTC 2020
On 28/02/2020 13:24, chriscox--- via samba wrote:
> Manually. Direct edit of passwd and group.Sent from my Sprint Phone.------ Original message------From: Rowland penny via sambaDate: Fri, Feb 28, 2020 2:04 AMTo: samba at lists.samba.org;Cc: Subject:Re: [Samba] auto_private_groups analogue?On 28/02/2020 00:00, Christopher Cox via samba wrote:
>> Maybe a workaround? We use winbind and default domain. Therefore
>> there are two records from getent if there's a local user with the
>> same name (and different uid). However, I just did a test creating a
>> local user with the uid from winbind and created the associated
>> group. So, for my cjcox test user when logged into a shell I get:
>> $ id
>> uid=16777219(cjcox) gid=16777219(cjcox)
>> groups=16777219(cjcox),16777217(BUILTIN\users), etc...
>> and I only get one entry back from gentent passwd.
> It sounds like you have a borked setup and I would love to know how you
> are creating a user or group with the same name as an existing one.
> Whenever I try, it fails with something like
> 'error, user exists'.
I wouldn't send emails from that phone if I were you, I had to read it
three times before I spotted your reply ;-)
That is a stupid way to add users or groups, I cannot recommend using it.
More information about the samba