Open josemvm opened 1 year ago
Hi,
I guess you should setup searchUserFilter
, searchUserBaseDN
and bindUserDN
correctly. However I cannot help you because the content of this configuration parameters depends on how groups and users are organized into your ldap. See https://github.com/jelix/multiauth-module/blob/master/LDAP.md
I think you should set searchUserBaseDN
with a path containing OU=DAFAJ, OU=AJURIDICA
(your ldap manager should give you the full path of AJURIDICA). If you want to search in several groups, it is not possible to indicate several base DN. A solution (that is better for the security IMHO) is to create a new organizational unit containing only users that have access to your application, and indicate the path of this new organizational unit into searchUserBaseDN
to solve the problem, i created several base DN, like these:
bindUserDN[]="cn=%?%,CN=Users,DC=mydomain,DC=local"
bindUserDN[]="cn=%?%,OU=DAFAJ,DC=mydomain,DC=local"
bindUserDN[]="cn=%?%,OU=AJURIDICA,OU=DAFAJ,DC=mydomain,DC=local"
... ... ... thanks
hi @laurentj
how can i query a memberOf=CN=Lizmap,OU=Lizmap,DC=mydomain,DC=local
?
where group naming attribute = cn
and group member attribute = memberOf
thanks in advance
A solution (that is better for the security IMHO) is to create a new organizational unit containing only users that have access to your application, and indicate the path of this new organizational unit into searchUserBaseDN
ok, now i've a CN=Lizmap,OU=Lizmap,DC=mydomain,DC=local
but inside the container/Organizational Unit (OU) Lizmap
i've no users (only the group (CN) Lizmap
)
i've only Members inside the group (CN) Lizmap
, from other Organizational Units (OU) and from other groups (CN)
so i need to query memberOf=CN=Lizmap,OU=Lizmap,DC=mydomain,DC=local
where group naming attribute = cn
and group member attribute = memberOf
hi @laurentj
if a user is not inside the native Users it's not possible to find and authenticate him
an user inside an organiztional unit or a sub organiztional unit DAFAJ - organizational unit - not possible to find AJURICA - organizational unit inside organizational unit not possible to find too
thanks in advance