The Zurich release has arrived! Interested in new features and functionalities? Click here for more

Unable to update password in Data Source.

Nithya Devi
Tera Contributor

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

1 ACCEPTED SOLUTION

@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.


Raghav
MVP 2023
LinkedIn

View solution in original post

22 REPLIES 22

 

  1. Run the script mentioned and note the password.
  2. update the new Password on the form and save it.
  3. Run the script again and see if the value has changed.

Raghav
MVP 2023
LinkedIn

Let me try and update..

While running the script , make sure you replace your table_name and field name correctly, this script is written on user table.


Raghav
MVP 2023
LinkedIn

okay.Table name is data source and field name is PXS - GRF - Group References(Name of data souce).

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);

Raghav
MVP 2023
LinkedIn