Reading https://www.samba.org/samba/docs/man/Samba-HOWTO-Collection/groupmapping.html, I found out that there exists an alias for groups. But what does this alias mean? Does it means that it is connected to another group and inherit this permissions? If so, how could I found out what group it belongs to?
I looked on the internet but could not find anything about this. There is a lot about SID, RID on the internet, but nothing about aliases. What does it mean in a SID context?
SIDs exist in Active Directory domains (Windows Server) and Samba (PDC).
Microsoft documented most of the internals of this in [MS-SAMR].
Here are some definitions from that document:
In the context of Active Directory, this is a Domain-Local (Or a Builtin-Local) Group. Domain-Local Groups have a sAMAccountType value of SAM_ALIAS_OBJECT. (sAMAccountType enumeration)
Here is a document on group scope, which explains that Domain-Local groups can only be assigned permissions on resources within the same domain, which jives with the aforementioned definition of a "resource group." Why they chose the word "alias," the world may never know.