Unable to sync the groups from LDAP server with RHOCP 4

Solution Verified - Updated -

Issue

  • Unable to sync the groups from LDAP server with OpenShift.
  • Groups and members are configured correctly in LDAP yet the users are not syncing.

    ubuntu@mp-prod-svc:~/javeed/ldap$ oc adm groups sync --sync-config=LdapSyncConfig.yaml --confirm --v 100
    I1126 10:19:25.162731 1481611 loader.go:395] Config loaded from file:  /home/ubuntu/.kube/config
    I1126 10:19:25.173840 1481611 groupsyncer.go:58] Listing with &{0xc0007b3f80 {{ou=groups,dc=stcas,dc=com 2 0 0 (objectClass=groupOfMembers) 0} dn} [cn] [uniqueMember] {{ou=users,dc=stcas,dc=com 2 0 0 (objectclass=person) 0} uid} [uid] map[] map[] 0xc000a040c0}
    I1126 10:19:25.173907 1481611 query.go:220] LDAP search: base dn="ou=groups,dc=stcas,dc=com" and scope 2 for (objectClass=groupOfMembers) requesting [cn dn uniqueMember]
    I1126 10:19:25.174890 1481611 groupsyncer.go:64] Sync ldapGroupUIDs []
    

Environment

  • Red Hat OpenShift Container Platform (RHOCP)
    • 4

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