- Posts: 27
- Thank you received: 4
Welcome to the LimeSurvey Community Forum
Ask the community, share ideas, and connect with other LimeSurvey users!
Change password for users/other administrators
- John_K
- Offline
- Junior Member
Less
More
5 years 10 months ago #169552
by John_K
Replied by John_K on topic Change password for users/other administrators
Hi.
I'm experiencing a related issue to this topic. My Issue with Users password is that:
1) Create a new user is not working properly. LS does not send the email with password to the user.
2) When Super-admin attempts to change a users PW via the 'Editing user' option, it has not effect
3) Re-setting password by the user via the "Forgot your password" option is not working as LS does not send the email with password to the user.
I am using LS 3.8.1-
I'm experiencing a related issue to this topic. My Issue with Users password is that:
1) Create a new user is not working properly. LS does not send the email with password to the user.
2) When Super-admin attempts to change a users PW via the 'Editing user' option, it has not effect
3) Re-setting password by the user via the "Forgot your password" option is not working as LS does not send the email with password to the user.
I am using LS 3.8.1-
The topic has been locked.
- holch
- Offline
- LimeSurvey Community Team
Less
More
- Posts: 11660
- Thank you received: 2742
5 years 10 months ago #169578
by holch
I answer at the LimeSurvey forum in my spare time, I'm not a LimeSurvey GmbH employee.
No support via private message.
Replied by holch on topic Change password for users/other administrators
Does LS send emails correctly in general?
I answer at the LimeSurvey forum in my spare time, I'm not a LimeSurvey GmbH employee.
No support via private message.
The topic has been locked.
- holch
- Offline
- LimeSurvey Community Team
Less
More
- Posts: 11660
- Thank you received: 2742
5 years 10 months ago #169579
by holch
I answer at the LimeSurvey forum in my spare time, I'm not a LimeSurvey GmbH employee.
No support via private message.
Replied by holch on topic Change password for users/other administrators
By the way: 3.8.1 is a few versions old already. The problem (if it is actually a bug, which we haven't clarified 100% yet) might already be solved by now. Latest version is 3.9.0
I answer at the LimeSurvey forum in my spare time, I'm not a LimeSurvey GmbH employee.
No support via private message.
The topic has been locked.
- John_K
- Offline
- Junior Member
Less
More
- Posts: 27
- Thank you received: 4
5 years 10 months ago #169597
by John_K
Replied by John_K on topic Change password for users/other administrators
Hi holch,
Yes- LS did send eMail for version LS 3.7.2 when user request via the "Forgot your password" option(however LS372 did have another issue "Implicit conversion error" when user tries to change their PW.- Bug-13700: )
--So instead decided to install 3.8.1--
BUT LS 3.8.1 does not get the 1st part correct- 'Create a new user'. Bug#13726
Thanks
JK
I am using LS 3.8.1 with Apache & SQL Server.
Yes- LS did send eMail for version LS 3.7.2 when user request via the "Forgot your password" option(however LS372 did have another issue "Implicit conversion error" when user tries to change their PW.- Bug-13700: )
--So instead decided to install 3.8.1--
BUT LS 3.8.1 does not get the 1st part correct- 'Create a new user'. Bug#13726
Thanks
JK
I am using LS 3.8.1 with Apache & SQL Server.
The topic has been locked.
- holch
- Offline
- LimeSurvey Community Team
Less
More
- Posts: 11660
- Thank you received: 2742
5 years 10 months ago #169598
by holch
I answer at the LimeSurvey forum in my spare time, I'm not a LimeSurvey GmbH employee.
No support via private message.
Replied by holch on topic Change password for users/other administrators
Well, you can always create a bug report. But I feel like the answer will be: can you reproduce it with the latest version? This makes sense, because it might be fixed already in a newer version, thus it wouldn't make sense for the developers to fix things that are already fixed.
So ideally you update to the latest version and test if the problem persists. If so: Bug report. If it doesn't: be happy!
So ideally you update to the latest version and test if the problem persists. If so: Bug report. If it doesn't: be happy!
I answer at the LimeSurvey forum in my spare time, I'm not a LimeSurvey GmbH employee.
No support via private message.
The topic has been locked.
- John_K
- Offline
- Junior Member
Less
More
- Posts: 27
- Thank you received: 4
5 years 10 months ago #169602
by John_K
Replied by John_K on topic Change password for users/other administrators
Hi bramint & 30460433
I'll desc/list what I did, what worked for me & the steps I took/performed to get each Use case working, in hopes it might help U too.
Use Case #1: LS not generating email for PW re-set or when Creating a new user.
**When Admin creates a new user or when user attempts to re-set their PW, LS should be sending out an email to the user.
However LS does not perform this action.
What I did & What worked for me: Change the way LS handles sending email
LS is configured to use PHP to send out email(configured PHP with my SMTP)
Instead I changed it so LS will directly use SMTP configured in LS
Use Case #2:Create a new user.
**Creating a new user via the 'Add user' option generates a 'Failed to add user' msg & does not generate the LS mail to the user.(C pic "'NoPWemail_Failed to Add New User'ErrorPic")
However, when I go back to Configuration -> Manage survey administrators, I can/do see the new user that I had tried to create earlier via 'Add user' option, listed there.
What I/user Want: For the user to add/change their own PWs.
There R 2 Option to changing/re-setting a users PW
Options:
1)Editing user (Admin resets user PW)
2)Forgot your password?(User re-sets their own PW)
What I did & What worked for me:
For Option:
b)Under 'Edit user permissions for user JK' Check on the following permissions for the user; Surveys, Templates & Use internal database authentication. Then click Save.
c)Click on 'Edit this user' icon.
d)Under 'Editing user' type in a temp PW for this user & click Save.
e)Have the user login to LS with the temp PW that the admin had typed in.(This worked for me)
f)After user logs in, User will/can change their PW. Under 'My Account -> My profile' Click 'Change password'
g)User logs in with their new PW. (This worked for user) Success.
2. Forgot your password?(User re-sets their own PW)-
a)User goes to login screen of LS. Click on 'Forgot your password?' & Fill in requested info.
b)User will get email from LS with temp PW.
c)User logs in to LS with the LS generated temp PW.(This worked for the user)
d)After user logs in, User will/can change their PW. Under 'My Account -> My profile' Click 'Change password'
e)User logs in with their new PW. (This worked for user) Success.
BUT for me, the `1st part is still an issue.
**Creating a new user via the 'Add user' option generates a 'Failed to add user' msg & does not generate the LS mail to the user.
However, the new user gets listed under 'User control' in Configuration -> Manage survey administrators.
Hope the workaround works
Thanks
JK
I'll desc/list what I did, what worked for me & the steps I took/performed to get each Use case working, in hopes it might help U too.
Use Case #1: LS not generating email for PW re-set or when Creating a new user.
**When Admin creates a new user or when user attempts to re-set their PW, LS should be sending out an email to the user.
However LS does not perform this action.
What I did & What worked for me: Change the way LS handles sending email
LS is configured to use PHP to send out email(configured PHP with my SMTP)
Instead I changed it so LS will directly use SMTP configured in LS
- Click on Configuration->Global settings.
- Email method: Choose 'SMTP' instead of PHP. Under SMTP host: type in ur org's mail server id. Click Save & Close.
Use Case #2:Create a new user.
**Creating a new user via the 'Add user' option generates a 'Failed to add user' msg & does not generate the LS mail to the user.(C pic "'NoPWemail_Failed to Add New User'ErrorPic")
However, when I go back to Configuration -> Manage survey administrators, I can/do see the new user that I had tried to create earlier via 'Add user' option, listed there.
What I/user Want: For the user to add/change their own PWs.
There R 2 Option to changing/re-setting a users PW
Options:
1)Editing user (Admin resets user PW)
2)Forgot your password?(User re-sets their own PW)
What I did & What worked for me:
For Option:
- Editing user (Admin resets user PW)-
b)Under 'Edit user permissions for user JK' Check on the following permissions for the user; Surveys, Templates & Use internal database authentication. Then click Save.
c)Click on 'Edit this user' icon.
d)Under 'Editing user' type in a temp PW for this user & click Save.
e)Have the user login to LS with the temp PW that the admin had typed in.(This worked for me)
f)After user logs in, User will/can change their PW. Under 'My Account -> My profile' Click 'Change password'
g)User logs in with their new PW. (This worked for user) Success.
2. Forgot your password?(User re-sets their own PW)-
a)User goes to login screen of LS. Click on 'Forgot your password?' & Fill in requested info.
b)User will get email from LS with temp PW.
c)User logs in to LS with the LS generated temp PW.(This worked for the user)
d)After user logs in, User will/can change their PW. Under 'My Account -> My profile' Click 'Change password'
e)User logs in with their new PW. (This worked for user) Success.
BUT for me, the `1st part is still an issue.
**Creating a new user via the 'Add user' option generates a 'Failed to add user' msg & does not generate the LS mail to the user.
However, the new user gets listed under 'User control' in Configuration -> Manage survey administrators.
Hope the workaround works
Thanks
JK
Attachments:
The following user(s) said Thank You: holch
The topic has been locked.
- holch
- Offline
- LimeSurvey Community Team
Less
More
- Posts: 11660
- Thank you received: 2742
5 years 10 months ago #169604
by holch
I answer at the LimeSurvey forum in my spare time, I'm not a LimeSurvey GmbH employee.
No support via private message.
Replied by holch on topic Change password for users/other administrators
In general, I would always recommend to use SMTP as email option. However, it should still work with PHP, as long as it is configured correctly, your server/host isn't putting limits for emails send via php and it is not blocked on the other end (email server).
So if the problems that you describe persist in the latest version, then a bug report is definitely necessary.
So if the problems that you describe persist in the latest version, then a bug report is definitely necessary.
I answer at the LimeSurvey forum in my spare time, I'm not a LimeSurvey GmbH employee.
No support via private message.
The topic has been locked.
- jelo
- Offline
- Platinum Member
Less
More
- Posts: 5033
- Thank you received: 1257
5 years 10 months ago #169608
by jelo
SMTP will offer the best chances to get emails out. But the local installation should not need email to get passwords. It should be possible to create users without emailadress and predefine a password.
The meaning of the word "stable" for users
www.limesurvey.org/forum/development/117...ord-stable-for-users
Replied by jelo on topic Change password for users/other administrators
LimeSurvey shouldn't send the password via email if not wanted. The main source of issues around the mail topic is when users are using a local installation on there personal computer. The php mail way is then a nogo.holch wrote: In general, I would always recommend to use SMTP as email option.
SMTP will offer the best chances to get emails out. But the local installation should not need email to get passwords. It should be possible to create users without emailadress and predefine a password.
The meaning of the word "stable" for users
www.limesurvey.org/forum/development/117...ord-stable-for-users
The topic has been locked.
- holch
- Offline
- LimeSurvey Community Team
Less
More
- Posts: 11660
- Thank you received: 2742
5 years 10 months ago #169642
by holch
But from what I understood here, the problem is, that no emails are sent, wenn people want to reset their passwords.
I answer at the LimeSurvey forum in my spare time, I'm not a LimeSurvey GmbH employee.
No support via private message.
Replied by holch on topic Change password for users/other administrators
I agree here. There should be an option that allows the super admin to create users and prevent emails to be sent.LimeSurvey shouldn't send the password via email if not wanted.
But from what I understood here, the problem is, that no emails are sent, wenn people want to reset their passwords.
I answer at the LimeSurvey forum in my spare time, I'm not a LimeSurvey GmbH employee.
No support via private message.
The topic has been locked.
- holch
- Offline
- LimeSurvey Community Team
Less
More
- Posts: 11660
- Thank you received: 2742
5 years 10 months ago #169643
by holch
Of course the super admin can change passwords of other admins. I just did it. If you can't, there is something wrong with your system (I use LS 3.9.0).
I received the email with the created password.
I could change the password of the new users as super admin
I could log into the system
I could reset the password as the new user and received the email
I could change the password as the new user and could log in.
I
I answer at the LimeSurvey forum in my spare time, I'm not a LimeSurvey GmbH employee.
No support via private message.
Replied by holch on topic Change password for users/other administrators
The super-Administrator can't change other's password .
Of course the super admin can change passwords of other admins. I just did it. If you can't, there is something wrong with your system (I use LS 3.9.0).
I received the email with the created password.
I could change the password of the new users as super admin
I could log into the system
I could reset the password as the new user and received the email
I could change the password as the new user and could log in.
I
I answer at the LimeSurvey forum in my spare time, I'm not a LimeSurvey GmbH employee.
No support via private message.
The topic has been locked.
- John_K
- Offline
- Junior Member
Less
More
- Posts: 27
- Thank you received: 4
5 years 10 months ago #169670
by John_K
Replied by John_K on topic Change password for users/other administrators
I decided to install LS3.9.0 just now-June08 '18. And My Environment is Windows 2012-Apache/PHP-SQL Server 2014(all 64Bit).
Hi 30460433,
Ive discovered this about LS.
Hi Holch, Took ur suggestion & installed LS390
U said 'I received the email with the created password.'
R U refering to the 1st step when U create a new user & the User receives a mail from LS with the temp PW??
From an Admin side I could perform the workaround-"Re-set/change the password of the new users", to get my users access to LS.
But This is a BUG. Agree??
Regards
JK
P.s. Importing .lss from 2.06 did not re-produce all the Groups/Qs for me in 3.72. Going to test this part next in 390.
Hi 30460433,
Ive discovered this about LS.
- If LS admin assigns a new user the 'Superadministrator' permission, then the admin will NOT be able to re-set PW for user
- But, if LS admin does NOT give the new user 'Superadministrator' permission, then the admin Can re-set PW for user!! U said 'The super-Administrator can't change other's password . This desicion is right.' If U R stating that admin should NOT be able to reset a users PW, then as an admin I disagree. Users always come to admins to get their broken fixed- & most comon is having PW re-set. If I misread ur mail-I defer.
Hi Holch, Took ur suggestion & installed LS390
U said 'I received the email with the created password.'
R U refering to the 1st step when U create a new user & the User receives a mail from LS with the temp PW??
- Cause, after installing LS390(same as urs) I still get the 'Failed to Add User' error msg at step#1 'Create a new user'. Since it errored, LS obviously does not send the PW email.
- However, LS somehow manages to create the user, as evidenced by navigating back to Configuration -> Manage survey administrators.- I C the new user listed there. C Pic "NewUserFailedBUT_LSstillCreateIt"
- As the Admin, I changed the password of this new users- User was able to signon to LS & change their PW to their own & logoff-logon back in with their own PW successfully. Here the user does not get a mail from LS as User signs on with temp PW to change his own.
- This next part refers to User re-seting their own PW, via the Forgot your password? option.
The User gets an email from LS with the temp reset PW. User able to log in with this temp PW & change their PW, log off & log back in with their own new PW.
Email method: is PHP. So this issue from 381 is resolved in 390.
From an Admin side I could perform the workaround-"Re-set/change the password of the new users", to get my users access to LS.
But This is a BUG. Agree??
Regards
JK
P.s. Importing .lss from 2.06 did not re-produce all the Groups/Qs for me in 3.72. Going to test this part next in 390.
Attachments:
The topic has been locked.
- holch
- Offline
- LimeSurvey Community Team
Less
More
- Posts: 11660
- Thank you received: 2742
5 years 10 months ago #169673
by holch
I answer at the LimeSurvey forum in my spare time, I'm not a LimeSurvey GmbH employee.
No support via private message.
Replied by holch on topic Change password for users/other administrators
I created a new user and the email was sent without any problems. So it might be a bug that only appears in your specific configuration or it is your configuration that causes problems.
I went through the whole process and everything worked fine. From creating the user over receiving the email to changing passwords to receiving the password reset email.
I am assuming that something does not work with your configuration. Either a bug that only appears with your setup (my guess would be it has to do with MS SQL, my system is Linux, Apache, MySQL, PHP) or your email setup is problematic.
You would say you submit a bug report with all details possible about your setup and the problems you have. You might have to create actually different bug reports, because you have various different issues.
I went through the whole process and everything worked fine. From creating the user over receiving the email to changing passwords to receiving the password reset email.
I am assuming that something does not work with your configuration. Either a bug that only appears with your setup (my guess would be it has to do with MS SQL, my system is Linux, Apache, MySQL, PHP) or your email setup is problematic.
You would say you submit a bug report with all details possible about your setup and the problems you have. You might have to create actually different bug reports, because you have various different issues.
I answer at the LimeSurvey forum in my spare time, I'm not a LimeSurvey GmbH employee.
No support via private message.
The topic has been locked.