LDAP imported user still asked to change password and reminder questions

thumbnail
Jamie Sammons, modified 4 Years ago. Expert Posts: 401 Join Date: 8/22/07 Recent Posts

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

thumbnail
Fernando Fernandez, modified 4 Years ago. Expert Posts: 401 Join Date: 8/22/07 Recent Posts

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. :-(

thumbnail
Olaf Kock, modified 4 Years ago. Liferay Legend Posts: 6441 Join Date: 9/23/08 Recent Posts

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

 

thumbnail
Fernando Fernandez, modified 4 Years ago. Expert Posts: 401 Join Date: 8/22/07 Recent Posts

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.