Ask Questions and Find Answers
Important:
Ask is now read-only. You can review any existing questions and answers, but not add anything new.
But - don't panic! While ask is no more, we've replaced it with discuss - the new Liferay Discussion Forum! Read more here here or just visit the site here:
discuss.liferay.com
LDAP imported user still asked to change password and reminder questions
Hi all,
I'm doing some tests with 7.3 CE GA6 and LDAP. I managed to connect Liferay to LDAP server and a non-existent user is created and able to login.
The problem is that, on first login, the user is forced to change the password (the Liferay password, which will not be used) and asked reminder query/answer, even if I have disabled this in portal-properties:
reminder.queries.enabled=false
users.reminder.queries.required=false
passwords.default.policy.change.required=false
login.create.account.allow.custom.password=false
Any ideas on how to really disable this?
TIA
Fernando
Update: password change on 1st login can be effectively disabled via the control panel / password policy. Configuration in portal-ext.properties seems to be ignored.
Reminder question is still being asked on first login. :-(
The password-policy related properties are used to create the very first password policy, when the database is created initially. After that, the database-stored Password Policy is used - so just change it.
I commonly deactivate reminder questions in my demo installations - no matter when I do it (sometimes I forget to deploy my standard config), it always works. After restart of course, since it's portal-ext.properties. The entry that I find is not the same that you quote though:
users.reminder.queries.enabled=false
Thanks Olaf! That was it. I probably got the wrong property name from an older portal.properties somewhere. :-)
BTW, I'd like to close the question with your answer but apparently I can only mark initial replies as answers.