Jump to content
Welcome to our new Citrix community!

Self-Service Password Reset / Decryption of alternate mail address fails

Michael Erb

Recommended Posts

Hello, I tried to setup the self-service password reset functionality of Citrix ADC (NetScaler VPX 200 / NS12.1 57.18.nc)

Everything seems to be working as far as you are not trying to reset your forgotten password.


Users can chose their security questions and setup an alternate email address and this is stored in AD. You can also click on "Forgot password" but after entering the security question you get a popup and the process fails.


In aaad.debug log I found the following error messages:


/usr/home/build/adc/usr.src/netscaler/aaad/ldap_common.c[737]: extract_ns_user_data_json 0-461: extracted JSON attribute extensionAttribute2 for user mediclin\merb
Mon Jul 13 09:17:39 2020
 /usr/home/build/adc/usr.src/netscaler/aaad/pocojson.cpp[671]: unsigned int aaad_base64decode(char*, unsigned int, char*, unsigned int) 0-461: [POCO]Base64 Decode: Failed to decode string...
Mon Jul 13 09:17:39 2020
 /usr/home/build/adc/usr.src/netscaler/aaad/ldap_common.c[744]: extract_ns_user_data_json 0-461: Failed to bas64 deocde user data, processing it as plain text


Afterwards ADC is not able to send the OTP to my alternate email address because it is not valid.


 /usr/home/build/adc/usr.src/netscaler/aaad/pocomail.cpp[127]: void ThreadWorker_SendMailJob(SMTPJob*) 0-463: [POCO-ERROR][JobID: 20] Poco SMTP Mail Dispatch  Failed. SMTP TYPE:1, SMTPException: Exception occurs. SMTP Exception: Recipient rejected: <{"KBA":"eyJ2ZXJzaW9uIjoiMSIsICJraWQiOiJxdERYMElsa1JVRUtLRmJtMTh1MTlPbnh3Nnc9IiwgImtleSI6ImlFUVdudFNsWG5neXkteWZZRGVEaWhkbGtJV1hr>: 501 5.1.3 Invalid address
Mon Jul 13 09:17:49 2020


Might this be a bug in the firmware or what can cause this issue?

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Create New...