MutonUfoAI / pgina

pGina fork: Open Source Windows Authentication
http://mutonufoai.github.io/pgina
BSD 3-Clause "New" or "Revised" License
156 stars 39 forks source link

pGina LDAP groups to Local Groups #142

Open hr015 opened 5 years ago

hr015 commented 5 years ago

Hello, I am new at pGina and I am trying to map my LDAP groups to the Local groups. For example, if the user belongs to LDAP admin group, it should belong to the Local Administrator group too. The only way to do this is setting a filter like this one in Gateway Settings? If "(&(memberUid=%u))" level Base in "cn=admin,ou=groups, ..." add to "Administrator"

My problem is that I don't have the memberUid parameter inside the groups. Could I look for all the users that have gidNumber = N (being N the admin gid)?

Thanks a lot!