By: valsaraj viswanathan user 22 Sep 2016 at 5:47 a.m. CDT

4 Responses
valsaraj viswanathan gravatar
Hi, We are using Openldap for source data in our project. We need to retrieve userPassword attribute from source. So we specified userPassword under CR section. But userPassword is not showing when we search and view a user via gluu web UI. The userPassword in source openldap is non string data. There is an attribute with name userPassword under gluuPerson which is of Text type. Tried to change it to photo type but not shown in search result view. What is the right to make this working? Thanks!

By Mohib Zico staff 22 Sep 2016 at 5:59 a.m. CDT

Mohib Zico gravatar
You can only use 'userPassword' attribute to pull password data from backend, but make sure your Gluu Server's opendj has 'pre-encoded password' feature enabled.

By valsaraj viswanathan user 22 Sep 2016 at 6:19 a.m. CDT

valsaraj viswanathan gravatar
Would you please share how to enable 'pre-encoded password' feature? userPassword filed in source openldap is of binary type. Is this compatible with userPassword attribute in gluu openDJ? I wonder why userPassword is not showing when I search and clickon a user link shown in result. All other details like uid, st are showing there.

By Michael Schwartz Account Admin 22 Sep 2016 at 1:42 p.m. CDT

Michael Schwartz gravatar
``` $ dsconfig -p 4444 -h `hostname` -D "cn=Directory Manager" -j ~/.pw set-password-policy-prop --policy-name "Default Password Policy" --set allow-pre-encoded-passwords:true -X -n ``` Passwords do not show in the userview. Use `ldapsearch` or an LDAP client to check the entry to see if the userpassword is there.

By valsaraj viswanathan user 22 Sep 2016 at 10:22 p.m. CDT

valsaraj viswanathan gravatar
We have requirement to update user password. The application will be connected to Gluu. So how can we seartch a user via Gluu and update password of tat entry? Thanks!