How to Encrypt Phone Fields in AD using LDAP

    Applies to:
  • Legacy SecureAuth IdP
Deployment model:
  • On Premises
  • IdP Versions Affected: All

    Causes: You want to encrypt the phone field in Active Directory so you switch the encryption in the webconfig to a numerical value. 0 is no encryption, 1 is standard encryption, 2 is advanced encryption.  



    Description: Changing this value will not encrypt the value in AD because the default phone field in AD cannot accommodate the encrypted value.  

    Resolution: You must tie an attribute to the phone 1 or phone 2 field that is large enough to accommodate an encrypted value.  It must be a directory string with at least 550 spaces.  

    For the sake of this test, I used the attribute "Description" for my phone field.

    SecureAuth Knowledge Base Articles provide information based on specific use cases and may not apply to all appliances or configurations. Be advised that these instructions could cause harm to the environment if not followed correctly or if they do not apply to the current use case.


    Customers are responsible for their own due diligence prior to utilizing this information and agree that SecureAuth is not liable for any issues caused by misconfiguration directly or indirectly related to SecureAuth products.

    0 out of 0 found this helpful



    Please sign in to leave a comment.