- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
3 weeks ago
Hi,
I am facing an issue in my instances with a data sources record where the XML file is retrieved from MFT location.
App Scope-Global
Table-Data Source(Group Reference)
Field type-password(2 way encrypted)
Dictionary attribute-is_legacy_password2=true.
When i enter a new password in the password field of Group Reference data source- and click update,the record loads but the password remains unchanged(old value).No error message is shown.I have admin with security admin role.
what might be the cause that fails to update the new password,and how to fix this.Could anyone suggest your views on this..
Thanks.
With Regards,
Nithya
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
3 weeks ago - last edited 3 weeks ago
@Nithya Devi What you see on UI are dots which are static, even if you enter the password of 8 characters, the dots number will remain same.
As explained earlier dots are just representation the password is stores in encrypted form.
Please close this thread if your issue is resolved.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
3 weeks ago
- Run the script mentioned and note the password.
- update the new Password on the form and save it.
- Run the script again and see if the value has changed.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
3 weeks ago
Let me try and update..
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
3 weeks ago
While running the script , make sure you replace your table_name and field name correctly, this script is written on user table.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
3 weeks ago
okay.Table name is data source and field name is PXS - GRF - Group References(Name of data souce).
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
3 weeks ago - last edited 3 weeks ago
field_name is the backend name of field where password is stored, not the name of data source
var pass = new GlideRecord('sys_user'); // replace with your table backend name , it should be sys_data_source
pass.get('add sys_id of your record');
var Encrypter = new GlideEncrypter();
var decrypted = Encrypter.decrypt(pass.user_password); // replace user_password with password field name. There are multiple password field on this table, select the one you are using
gs.print(decrypted);