VMware Cloud Foundation 9.0: Setting Up Custom LDAP Service for an Organization in VCF Automation

If you have looked at VCF Automation in any detail you may be aware that you can configure one or more external identity providers (IdPs), and import users and groups to your organizations. This configuration can use an LDAP server connection which can be configured at either the system or the organization level, a SAML integration at the organization level, or an OpenID Connect (OIDC) integration at the organization level.

In one of my recent posts VMware Cloud Foundation 9.0: Setting Up VCF Single Sign-On with OpenLDAP I talked about setting up VCF Single Sign-On using the VCF Identity Broker component and OpenLDAP as the Identity Provider. As a follow on from that I decided to look at setting up OpenLDAP as an authentication source at the organizational level with a view to being able to demonstrate having completely separate authentication sources across organizations.

Official Broadcom Technical Documentation exists but in my view its not very detailed and lacks some critical detail, for reference you can view the following documents:

Let's take a look at the high-level process which consists of the following steps:

  1. Configuring an LDAP Identity Provider for an Organization
  2. Assign Organization Access Control

Configuring an LDAP Identity Provider for an Organization

In this procedure we walk through the process of configuring a custom LDAP Service and perform a simple test to validate the connection details.

Procedure

  1. Log in to the VCF Automation Provider interface at https://<vcf_automation_fqdn>/provider as a user assigned System Administrator role.

  2. In the main navigation select Infrastructure > Organizations.

  3. Click the three dots next to the organization and click Launch Organizational Portal.

  4. Select the Administer tab.

  5. In the main navigation select Connections > Identity Providers.

  6. In the Identity Providers page, click the LDAP tab.

  7. Click Configure.

  8. In the Edit LDAP Options dialog, select the Custom LDAP Service radio button and click Save.

  9. Under LDAP, click the Custom LDAP tab.

  10. Click Edit.

  11. On the Edit Custom LDAP screen, select the Connection tab and enter the following details.

SettingValue
Servermycloudyworld
Port389
Base Distinguished Namedc=mycloudyworld,dc=io
Connector TypeOpenLDAP
Authentication MethodSimple
User Namecn=svc-vcf-ldap,dc=mycloudyworld,dc=io
PasswordVMw@re1!VMw@re1!
  1. On the Edit Custom LDAP screen, select the User Attributes tab and enter the following details.
SettingValue
Object ClassinetOrgPerson
Unique identifierentryUUID
User nameuid
Display namecn
Given namegivenName
Surnamesn
Emailmail
TelephonetelephoneNumber
Group membership identifierdn
Group back link(blank)
  1. On the Edit Custom LDAP screen, select the Group Attributes tab and enter the following details.
SettingValue
Object ClassgroupOfNames
Unique identifierentryUUID
Namecn
Membermember
Group membership identifierdn
Group back link identifier(blank)
  1. Click Save.

  2. Click Test.

  3. On the Test LDAP dialog, enter the password and click Test.

  4. On the Test LDAP dialog, verify each object has a green tick and click Cancel.

  5. Click Sync.

  6. On the Synchronize LDAP dialog, click Sync.

Assign Organization Access Control

Now we have the Custom LDAP Service configured we can assign access to groups from the Identity Provider based on one of the following roles:

  • Organization Administrator
  • Organization Auditor
  • Organization User

Procedure

  1. Log in to the VCF Automation Provider interface at https://<vcf_automation_fqdn>/provider as a user assigned System Administrator role.

  2. In the main navigation select Infrastructure > Organizations.

  3. Click the three dots next to the organization and click Launch Organizational Portal.

  4. Select the Administer tab.

  5. In the main navigation select Access Control.

  6. In the Access Control page, click the Groups tab.

  7. Click Import Groups.

  8. On the Import Groups dialog, enter the group name in the search text box.

  9. Select the group you want to assign with a role.

  10. Using the dropdown list under Assign Role, select Organization User and click Save.

Conclusion

Use this post as a reference to help configure a Customer LDAP Service for a VCF Automation Organization.

Posts in this Series