By: aakash kag user 27 Jan 2020 at 5:58 a.m. CST

5 Responses
aakash kag gravatar
I am trying to set email as primary key so user can login using email instead username. I followed same instruction mentioned in document [https://gluu.org/docs/ce/4.0/operation/faq/#request-email-instead-of-username-for-login]. Gluu is not allowing to login using email, While it's allowing to login using username. Please find attached screenshot. [https://drive.google.com/open?id=1WceKS1vFsIJrN90ByAkzmO7IFiZzmPOS](https://drive.google.com/open?id=1WceKS1vFsIJrN90ByAkzmO7IFiZzmPOS) [https://drive.google.com/open?id=1VCPemMHs1WkwjjPG2uNCK4pI0knUOywh](https://drive.google.com/open?id=1VCPemMHs1WkwjjPG2uNCK4pI0knUOywh)

By Mohib Zico Account Admin 27 Jan 2020 at 7:50 a.m. CST

Mohib Zico gravatar
>> https://drive.google.com/open?id=1WceKS1vFsIJrN90ByAkzmO7IFiZzmPOS Please try to change 'Default authentication method' to 'auth_ldap_server'.

By aakash kag user 27 Jan 2020 at 8:31 a.m. CST

aakash kag gravatar
I changed authentication from cast to auth_ldap_server but still same issue exist. I am getting 'Failed to authenticate.' error.

By Mohib Zico Account Admin 27 Jan 2020 at 11:01 a.m. CST

Mohib Zico gravatar
Can you please share `ou=configuration,o=gluu` from your Gluu Server's ldap?

By aakash kag user 27 Jan 2020 at 11:15 a.m. CST

aakash kag gravatar
How Can I get that information. Do I need to connect through ldap browser? Or Is there any simple way to check, because I never got luck to conect using ldap browser. Thank you

By Mohib Zico Account Admin 30 Jan 2020 at 7:43 a.m. CST

Mohib Zico gravatar
Yes, you need to connect / talk to your ldap server. Check how to connect with ldap browser [here](https://www.gluu.org/docs/ce/4.0/user-management/local-user-management/#manage-data-in-gluu-ldap). If you want to move with ldap raw commands, there are bunch of sites which showing ldap commands and example in OpenDJ / WrenDS.