Authentication and Authorization Using LDAP
  • 03 Apr 2024
  • Dark
    Light
  • PDF

Authentication and Authorization Using LDAP

  • Dark
    Light
  • PDF

Article Summary

Authentication

The diagram in Figure 1 shows the authentication flow in IAP using LDAP.

Figure 1: Authentication Flow Using LDAP
01-authenticationFlowUsingLDAP

  1. User provides username and password.

  2. LDAP server in AAA platform authenticates users and returns one of the following:

    • Reject: IAP displays "Invalid credentials."
    • Access-Accept: IAP allows user to login.
    • Challenge: IAP displays "Generate token and retry."
  3. AAA Platform also returns a vendor specific attribute ( Type 2 per RFC 2865, 5.6). For example:

    • Vendor ID = 47688 (Itential)
    • Name = Itential-user-Group
    • Number = 1
    • Value = User group of the user obtained from LDAP.

Authorization

The diagram in Figure 2 illustrates both authorization and authentication between IAP and NSO using LDAP.

Figure 2: Authentication and Authorization
02-AuthenticationAuthorization

  1. User groups will be defined manually in IAP. Matching user groups will be added in the LDAP server in the AAA Platform. Customer must have user groups configured on the LDAP server.
  2. LDAP server will authenticate the user.
  3. LDAP server will authorize the user.
  4. Return the groups associated with the user.
  5. User receives the authentication token.
  6. IAP sends a request to NSO with user and token.

Multi-Tenancy

The following applies when using multi-tenancy:

  1. NSO sends a whoami API request to IAP.
  2. IAP returns the group to NSO.
  3. NSO checks the NACM rules for the user/group to determine what the user can access.
  4. NSO will either accept or reject access.
Note:

Multi-tenancy is not required for most implementations.


Was this article helpful?

Changing your password will log you out immediately. Use the new password to log back in.
First name must have atleast 2 characters. Numbers and special characters are not allowed.
Last name must have atleast 1 characters. Numbers and special characters are not allowed.
Enter a valid email
Enter a valid password
Your profile has been successfully updated.