oc adm groups sync fails with 'bindPassword.file: Invalid value: "ldap_sync.yaml/bindPassword.encrypted'

Solution Verified - Updated -

Issue

group synchronization is failing with this error:

error: validation of LDAP sync config failed: [bindPassword.file: Invalid value: "ldap_sync.yaml/bindPassword.encrypted": could not read file: stat ldap_sync.yaml/bindPassword.encrypted: not a directory, bindPassword.keyFile: Invalid value: "ldap_sync.yaml/bindPassword.key": could not read file: stat ldap_sync.yaml/bindPassword.key: not a directory, bindDN: Invalid value: "uid=gparente,ou=users,dc=example,dc=com": bindDN and bindPassword must both be specified, or both be empty, bindPassword: Invalid value: "(masked)": bindDN and bindPassword must both be specified, or both be empty]

Environment

Red Hat Openshift Container Platform 4.X

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.

Current Customers and Partners

Log in for full access

Log In

New to Red Hat?

Learn more about Red Hat subscriptions

Using a Red Hat product through a public cloud?

How to access this content