エンジニアとしての市場価値を測りませんか?PR

企業からあなたに合ったオリジナルのスカウトを受け取って、市場価値を測りましょう

0
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?

【Site Setup】Users: Change password on next logon

Posted at

Introduction

I am trying to see how Change password on next logon property in Sharperlight Site Setup works with this post.

This is for Sharperlight Web channel and works with Sharperlight users only, and not for Windows Domain user and other synced users such as LDAP.

image.png

Practices

The Sharperlight user: User 1 has a password user1, and the Sharperlight user: User 2 has a password `user2.
image.png

image.png

Then the service property: Allow User Password Change in Sharperlight Client Setup is False.
image.png

Let's check the settings with the web channel.
Go for Sharperlight index page with http:\\{{the pc name}}\mdService1Rest\Index.
This page is displayed because my Windows account is registered with Sharperlight, so it appears without any interference.
image.png

Logout from the page by clicking the user icon.
Then this login screen is displayed.
image.png
Set User1 as user name and user1 as its password, and click Sign In.
image.png
I can log directly into this page with the user.
image.png

Now set True for Change password on next logon property of User1.
image.png
Go back to the index page, and logout from it.
"As soon as I click the Sign In button with the login details, the Enter new password section is displayed because I set the Change password on next logon property to True.
image.png

Fill in all text fields and click OK to apply the change.
However, this message: Password Change option is off in Client Setup on Server is displaied and the change is not applied.
image.png

To avoid this interference, I can set True for the service property: Allow User Password Change in the Sharperlight Client Setup.
Let's go for Client Setup and set True for the property.
image.png
Click OK to save the change, and restart the Sharperlight Service.
Go back to the Index page.
Sign in with User1, and it will force you to change the password.
Set the new password and Click Apply.
image.png

This time, the change is applied without any interference.
image.png
Now I can login with the new password.

When the service property: Allow User Password Change in the Sharperlight Client Setup is set to True, the gear icon is displayed, allowing all Sharperlight users to change their passwords.
image.png

When I log in with User2, who is a Sharperlight user, I can change the password by clicking the gear icon.
image.png

However, with a Windows Domain user, the option cannot force the change.
image.png

image.png

Afterword

After changing the password with the option: Change password on next logon, the option is set back to False, and the user's password is overwritten with the new password.

The user option: Change password on next logon and the service option: Allow User Password Change work for Sharperlight users only.

I hope this helps with your work.

0
0
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
0
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?