WWW-X "Error in Verification"; bor-auth for types other than 00 or 01?
- Article Type: General
- Product: Aleph
- Product Version: 18.01
Description:
The WWW-X command:
http://il-aleph02:8991/X?op=bor-auth&library=usm50&bor_id=0078910&verification=0078910
works when the bor-id is Z308-KEY-TYPE 00 or 01, but fails when it's a type 06, which we added locally.
We get the message "Error in Verification".
Is it possible to authenticate on types other than 00 or 01?
Resolution:
The www_x_bor_auth program calls the xml_bor_auth program, which calls the check_bor_id program. check_bor_id reads the $usr_library tab_bor_id.eng, checking *each* line in the table to see if col. 6 is "Y" and, if so, checks if the ID matches.
In this case, type 06 had an "N" in column 6:
!1 2 3 4 5 6 7 8 9
!!-!-!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!-!!-!-!-!-!-!
...
...
06 L Campus Access 00 Y N N N
changing it to "Y" corrected the problem.
Note: xml_bor_auth checks if the bor_id and verification are both present. If not, it issues the message "Both Bor_Id and Verification must be supplied". If yes, it calls check_bor_id. *Any* failure in check_bor_id results in the ./error_eng/xml_bor_auth message# 21 ("Error in Verification") being issued.
- Article last edited: 10/8/2013