Logon to NMAPI Server and Web Portal fails with errno=163
search cancel

Logon to NMAPI Server and Web Portal fails with errno=163

book

Article ID: 397887

calendar_today

Updated On:

Products

NetMaster Network Management for TCP/IP

Issue/Introduction

After starting up the NMAPI Server and the Web Portal, the initial login to the Web Portal works, but a second login attempt fails.
 
The same thing occurs when attempting to login to the NMAPI Server using swagger.
 
The Web Portal login screen shows
Encounter exception: Platform security request has failed: module=bcm-apisdk-security, function=0, errno=163
 
The Web Portal log shows  HTTP 401 Unauthorized 

the NMAPI Server log shows

E |c.b.r.s.s.t.ZosJniPlatformSecurityService:96 | Platform security action to create thread-level security environment without password has failed: EMVSSAFEXTRERR The user's access was revoked; errno=163; errno2=0be80820  

Login to the Netmaster region and other mainframe applications still works, so why does this show as revoked?

Environment

NetMaster Network Management for TCP/IPcancel

Cause

When the APPL class is active with the OMVSAPPL profile defined, the user making the request needs read access to this profile.

Resolution

Add read access for the OMVSAPPL class to the userid attempting to perform the login.

For RACF:

PERMIT OMVSAPPL CLASS(APPL)  ACCESS(READ) ID(userID)
SETROPTS RACLIST(APPL) REFRESH


For Top Secret:

TSS PERMIT(userID) APPL(OMVSAPPL)


For ACF2

SET RESOURCE(APL)
RECKEY OMVSAPPL ADD(SERVICE(READ) ROLE(<zowe_user>) ALLOW)
F ACF2,REBUILD(APL)