pivotal-cf / om

General command line utility for working with VMware Tanzu Operations Manager
Apache License 2.0
135 stars 104 forks source link

Add optional --ldap-max-search-depth to fix issue #601 #649

Closed sneal closed 3 months ago

sneal commented 5 months ago

Added an optional --ldap-max-search-depth flag to use with Operations Manager 3.0+. The new flag can be used like so:

om configure-ldap-authentication \
  --decryption-passphrase='supersecret' \
  --email-attribute='email' \
  --group-search-base='ou=Groups,dc=vmware,dc=com' \
  --group-search-filter='Corp' \
  --ldap-password='supersecret' \
  --ldap-rbac-admin-group-name='Admins' \
  --ldap-referrals=follow \
  --ldap-username=ldapadmin \
  --ldap-max-search-depth=5 \
  --server-ssl-cert="$(cat ~/ldap.crt)" \
  --server-url='ldaps://ad.vmware.com' \
  --user-search-base='Users' \
  --user-search-filter='devs' \
  --skip-create-bosh-admin-client \
  --precreated-client-secret='supersecret'
cf-gitbot commented 5 months ago

We have created an issue in Pivotal Tracker to manage this. Unfortunately, the Pivotal Tracker project is private so you may be unable to view the contents of the story.

The labels on this github issue will be updated when the story is started.

ryanhallware commented 3 months ago

Pulled in the changes and rebased on main. Tests ran locally without issue. Merging!