[Samba] Samba groups vs Linux groups.
L.P.H. van Belle
belle at bazuin.nl
Fri May 7 09:11:47 UTC 2021
Correctly seen.
This one is handy to know..
https://wiki.samba.org/index.php/User_and_Group_management
In smb.conf you have these 2.
winbind enum users = no
winbind enum groups = no
Set to yes and you "see" the groups/users in getent
But this slows down you samba, the system knows the users are there.
So test with :
winbind enum users = yes
winbind enum groups = yes
And when all looks good and works, set it to no again.
Also info here :
https://wiki.samba.org/index.php/FAQ
Search for : winbind enumerate
Greetz,
Louis
> -----Oorspronkelijk bericht-----
> Van: samba [mailto:samba-bounces at lists.samba.org] Namens
> Jason Long via samba
> Verzonden: vrijdag 7 mei 2021 10:57
> Aan: samba at lists.samba.org
> Onderwerp: [Samba] Samba groups vs Linux groups.
>
> Hello,
> When I use "samba-tool group create "GROUPNAME"" command to
> create a group, then that is not a normal Linux group?
> For example:
>
> # wbinfo -g
> MYDOMAIN\cert publishers
> MYDOMAIN\ras and ias servers
> MYDOMAIN\allowed rodc password replication group
> MYDOMAIN\denied rodc password replication group
> MYDOMAIN\dnsadmins
> MYDOMAIN\enterprise read-only domain controllers
> MYDOMAIN\domain admins
> MYDOMAIN\domain users
> MYDOMAIN\domain guests
> MYDOMAIN\domain computers
> MYDOMAIN\domain controllers
> MYDOMAIN\schema admins
> MYDOMAIN\enterprise admins
> MYDOMAIN\group policy creator owners
> MYDOMAIN\read-only domain controllers
> MYDOMAIN\dnsupdateproxy
> MYDOMAIN\login2
>
> # getent group
> root:x:0:
> bin:x:1:
> daemon:x:2:
> ...
> user1:x:982:
> login:x:1000:user2,user3
> user2:x:981:
> user3:x:980:
>
>
> In the output of the "wbinfo -g" command, I can't see "login"
> group and in the output of the "getent group" command, I
> can't see "login2" group.
>
> Thanks.
>
> --
> To unsubscribe from this list go to the following URL and read the
> instructions: https://lists.samba.org/mailman/options/samba
>
>
More information about the samba
mailing list