Base solution for your next web application
Open Closed

LDAP and Roles #9138


User avatar
0
-bitman created

Hello ANZ Team,

Would you mind elaborating the extent of the LDAP implementation in your solution? Does it drill down to the roles from the active directory server and bubbles up to the authorization management built-in ANZ?

Please advise. Thank you.


5 Answer(s)
  • User Avatar
    0
    ismcagdas created
    Support Team

    Hi @-bitman,

    Thank you for your suggestion but we don't have a plan to integrate Roles in LDAP with AspNet Zero at the moment.

  • User Avatar
    0
    -bitman created

    Hello @ismcagdas. Thanks for that clarification.

    I hope you don't mind me asking more information regarding LDAP.

    1. When a user is authenticated via LDAP, will ANZ create a corresponding user account in the database? We are using users to assign them records in other tables and if the account is not created then this could be a major problem.
    2. Is it possible to authenticate some users via LDAP while some using the built-in authentication in ANZ (Hybrid authentication)?
    3. We plan on using JumpCloud as our DaaS for LDAP. Is there a problem in doing so from ANZ?

    Please advise. Thank you.

  • User Avatar
    0
    ismcagdas created
    Support Team

    Hi,

    1. Yes, AspNet Zero creates a user in its own database at first login.
    2. If LDAP is activated, AspNet Zero first tries to login the user via LDAP and if it fails, tries to login using local account. However, you can add a field to User entity and change this flow if you want.
  • User Avatar
    0
    -bitman created

    Thank you @ismcagdas for these information. I tried searching for documentation on how to enable this feature but I cannot seem to find it from the online documentation. Maybe I am looking at the wrong place?

  • User Avatar
    0
    musa.demir created

    Hi @-bitman Is that what you looking for: https://aspnetboilerplate.com/Pages/Documents/Zero/User-Management#ldap-active-directory