Hi everyone,
I user LDAP to login openshift, when I want to add role to ldap user on
project, I have to use a full DN like "CN=Dung Tran Tien,OU=Ict
Team,OU=Users,OU=AAVN_HCM,DC=aavn,DC=local" ,please see the result of
command " oc get user --o json"  and below


It does not show a short name

is there any thing I need to do in LDAP configuration? here is my config

>  identityProviders:
>
>   - name: "Active_Directory"
>
>     challenge: true
>
>     login: true
>
>     provider:
>
>       apiVersion: v1
>
>       kind: LDAPPasswordIdentityProvider
>
>       attributes:
>
>         id:
>
>         - dn
>
>         email:
>
>         - mail
>
>         name:
>
>         - cn
>
>         preferredUsername:
>
>         - uid
>
>       bindDN: "cn=u1,dc=aavn,dc=local"
>
>       bindPassword: ""
>
>       insecure: true
>
>       url: "ldap://adv1.aavn.local:389/.......
>
>
Please advise me how to fix that.
Thanks.
_______________________________________________
dev mailing list
[email protected]
http://lists.openshift.redhat.com/openshiftmm/listinfo/dev

Reply via email to