ALERT: Some images may not load properly within the Knowledge Base Article. If you see a broken image, please right-click and select 'Open image in a new tab'. We apologize for this inconvenience.

PolicyServer blocks the Authentication in spite of SMAUTH_ACCEPT after upgrade from Version 12.52 to Version 12.8.


Article ID: 208654


Updated On:





We're running a Policy Server to serve a SDK Custom Authentication
Scheme and when users try to authenticate, the Custom Authentication
Scheme fails. But there's no evident traces in the Policy Server
traces showing that the Custom Authentication Scheme fails to
authenticate the user.

How can we investigate this problem and solve it ?




Using the SDK Custom Authentication Scheme template, when we login
successfully, the Policy Server reports 2 lines of code when doing the
authentication :
  SmDsUser.cpp:239 returns 1
  SmAuthUser.cpp:957 returns 0

And when we provide the bad password, we get 

  SmDsUser.cpp:239 returns 0
  SmAuthUser.cpp:957 returns -1

Put the full Policy Server traces (Profiler) and set debug code in the
Custom Authentication Scheme in order to understand why the user
cannot be authenticated by the Custom Authentication Scheme. That we
may point out what is blocking the Custom Authentication Scheme to
authenticate the user.