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.