Description
This is from the Beta days:
"user_dn_mapping":[{"re":"(.+)","template":"uid={0},ou=People,dc=openldap,dc=default,dc=svc"}] |
Now it is just a map with 'regex' removed.
"userDNMapping":{"template":"uid=%u,ou=People,dc=openldap,dc=default,dc=svc"} |
I checked ns_server code and the underlying type is still an array - which suggests it's just the external interface that has changed...ie ui -> ns_server.
{user_dn_mapping, {'None', []}}, |
*Note also the default is a string which still leads to workarounds in our unmarshalling.
How are we just now seeing this?
The manual ldap login was done back in beta, new tests haven't yet advanced to the point of mapping to ldap users.
Attachments
For Gerrit Dashboard: K8S-1356 | ||||||
---|---|---|---|---|---|---|
# | Subject | Branch | Project | Status | CR | V |
122954,3 | K8S-1356: Changes LDAP DN Mapping from array to map | master | gocbmgr | Status: MERGED | +2 | +1 |
122961,9 | K8S-1356: Changes CRD LDAP Mapping attribute | master | couchbase-operator | Status: MERGED | +2 | +1 |