BookmarkSubscribeRSS Feed
☑ This topic is solved. Need further help from the community? Please sign in and ask a new question.
sathya66
Barite | Level 11

Hi,

We just upgraded environment so we imported some metabound libs from old to new env.

I tried to reset/modify the metadata bound lib password but I am getting ERROR/warning. I followed below link. am i missing anything?

https://documentation.sas.com/doc/en/pgmsascdc/9.4_3.5/proc/n0v3rcwp7bnkbyn1hpm9sprxfdpi.htm#:~:text....

 

step 1 .

libname test "/sas/data/test" ;
ERROR: The secured library object information for the library test could not be obtained from the metadata server or has invalid data.
ERROR: There are no password associations for the secured library object. Perhaps the secured library object is newly imported. The Administrator must use the Authlib procedure to reset the passwords.
ERROR: Error in the LIBNAME statement.

Step 2:

libname test "/sas/data/test" authadmin=yes;
Note:Metadata permissions are not enabled.
WARNING: The secured library object information for library test could not be obtained  from the metadata server or has invalid data.
WARNING: There are no password associations for the secured library object. Perhaps the secured library object is newly imported. The Administrator must use the Authlib procedure to reset the passwords.
Note: Libref test was successfully assigned as follow:
Engine: V9
Physical path: /sas/data/test
secured Library: /System/Secured Libraries/test/test

Step 3:

proc authlib lib=test;
    modify  
        pw=secret 
        encrypt=aes ;
run;
quit;

Note: PROCEDURE AUTHLIB used (Total process time):
real time 0.02 seconds

Step 4; run the lib statement again getting the below ERROR same as step1

libname test "/sas/data/test" ;
ERROR: The secured library object information for the library test could not be obtained from the metadata server or has invalid data.
ERROR: There are no password associations for the secured library object. Perhaps the secured library object is newly imported. The Administrator must use the Authlib procedure to reset the passwords.
ERROR: Error in the LIBNAME statement.

I tried to modify the password from SMC but getting the same ERROR as above

 

 

1 ACCEPTED SOLUTION

Accepted Solutions
Steve_Huggins
Calcite | Level 5

Hi 

 

I've had similar issues in the past. If the tables are encrypted try:

libname test "/sas/data/test" authadmin=yes;

proc authlib lib=test;
  modify
    pw=secret
    require_encryption=yes
   encrypt=aes
   encryptkey=KEY;
run;
quit;

 

You might want to play around with the options. Also recommend deleting the entries from metadata and reimporting before. FYI SMC just runs the same code in the backgound so will give the same outcome.

 

View solution in original post

1 REPLY 1
Steve_Huggins
Calcite | Level 5

Hi 

 

I've had similar issues in the past. If the tables are encrypted try:

libname test "/sas/data/test" authadmin=yes;

proc authlib lib=test;
  modify
    pw=secret
    require_encryption=yes
   encrypt=aes
   encryptkey=KEY;
run;
quit;

 

You might want to play around with the options. Also recommend deleting the entries from metadata and reimporting before. FYI SMC just runs the same code in the backgound so will give the same outcome.

 

suga badge.PNGThe SAS Users Group for Administrators (SUGA) is open to all SAS administrators and architects who install, update, manage or maintain a SAS deployment. 

Join SUGA 

Get Started with SAS Information Catalog in SAS Viya

SAS technical trainer Erin Winters shows you how to explore assets, create new data discovery agents, schedule data discovery agents, and much more.

Find more tutorials on the SAS Users YouTube channel.

Discussion stats
  • 1 reply
  • 292 views
  • 1 like
  • 2 in conversation