Skip to main content

SMS OTP

info

Files for the SMS OTP Provider installation are located at axidian\Axidian Providers\SMS OTP Provider\<Version number>\.

  • AuthProviders.SmsOTP-x64.msi: The installation package of SMS OTP Provider.
  • SMSOTP.Password.Encryptor.exe: The utility for the encryption of SMS gateway password.
  • \Misc: The folder contains policy templates.

About SMS OTP Provider

note

SMS OTP Provider requires SMS gateway. This gateway must be accessible from every Axidian server where SMS OTP is installed.

To use the authenticator, a user must define a phone number in the telephoneNumber attribute. Otherwise, the authenticator will not be available.

Authenticator registration in User Console is not required.

Use SMS OTP Provider for user authentication with one-time passwords sent through SMS.

A one-time password is a random combination of digits, special characters and Latin characters. A password is generated by Axidian Core Server. tThe result is sent to the SMS gateway in the client infrastructure. Then the one-time code is sent to the user's phone number. Data is transmitted through SMPP (Short Message Peer-to-Peer).

Install the provider

  1. To install SMS OTP, run the AuthProviders.SmsOTP-x64.msi installer.
  2. After the installation is complete, restart the system. If the installation wizard prompts you to restart the system, confirm this action.
  3. To remove or restore the product, open the Control panel menu and use the standard procedure for the supported operating systems.

Configure authentication parameters

info

Before you proceed, add the Axidian policy templates to the administration template list. Policy template files are included into the installation package and and are located at the Misc folder.

Configure the phone number attribute

To change the default attribute, add parameters to the Core Server configuration file (Web.config):

  • Add the userMapRules parameter to the adUserCatalogProvider tag.
  • Add adObjectMapRule to the userMapRules tag with the following parameters:
    • attribute="Phone": Defines the modified parameter.
    • adAttribute="mobile": Specifies the Active Directory attribute to the receive value from.
  • Add the objectTypeSettings parameter.
  • Add the objectSetting parameter with the category="person" class="user" parameters.

Example

<adUserCatalogProvider id="userId" serverName="ind.loc" containerPath="DC=ind,DC=loc" userName="userAdmin" password="Q1q2E3e4">
<userMapRules>
<adObjectMapRule attribute="Phone" adAttribute="mobile"/>
<objectTypeSettings>
<objectSetting category="person" class="user"></objectSetting>
</objectTypeSettings>
</userMapRules>
</adUserCatalogProvider>

SMS delivery service

The policy applies to Axidian servers. It allows to configure the following settings to use with SMS server:

  • Use tls: Defines whether to use the encryption or not.

  • URL(IP address): Address of the server to connect to.

  • Port: Connection port to use.

  • SystemId (Username): Account name to connect to the server.

  • Password: Account password to connect to the server.

    info

    The password can be defined either explicitly or in the encrypted form. To encrypt the password, use the SMSOTP.Password.Encryptor.exe utility from the installation package of the provider.

  • SystemType is the field for the PDU operation BIND_TRANSCEIVER of the SMPP protocol.

  • Sender defines the sender name displayed to the SMS message recipient.

  • Additional text before OTP defines the message text that precedes the OTP. By default, only OTP is sent. For advanced settings, use the following parameters:

    • <app>: Name of the application that sent the authentication request.
    • <requestLocalServerTime>: Local server time of request receiving.
    • <requestComputerDns>: DNS of the computer that sent the request.
    • <requestComputerIp>: IP of the computer that sent the request.
    info

    The OTP code display is not configurable. It is always displayed at the end of the message.

    To configure the word wrap in the message, modify the HKLM/SOFTWARE/Policies/Axidian-ID/BSPs/SMSOTP registry key. Change the messageOTP parameter of the REG_SZ type to messageOTP of the REG_MULTI_SZ type.

  • SMS status timeout: Timeout of receiving the status of the SMS from the server.

  • PDU with SMS status: PDU that server send the status of the message sent in.

  • source_addr_ton: Type of Number for the teh source address.

  • source_addr_npi: Numbering Plan Indicator for the source address.

  • dest_addr_ton: Type of Number for the destination.

  • dest_addr_npi: Numbering Plan Indicator for the destination.

  • esm_class: Message Mode and Message Type.

  • registered_delivery: Indicator of request for SMSC or SME confirmation.

  • data_coding: Encoding scheme for user data in the short message.

Configure the message format

Use this policy to define the settings of date displayed in the message. See format examples on the Microsoft official site.

Enabled

The date is displayed according to the format set in the policy.

One-time password generation settings

The policy applies to Axidian servers. It allows configuring one-time password length and using character groups to generate passwords.

Not Configured or Disabled

If the policy is not configured or disabled, the generated password is 4 characters long and contains digits only.

Enabled

One-time password is generated according to the policy parameters. If the policy is not defined or is disabled, then the password can contain digits and lowercase Latin letters only, and consists of 6 characters.

Settings of concurrent connection to SMPP server

The policy applies to Axidian servers. It allows configuring the processing order for requests to the SMPP server. The policy is required if the SMPP server does not support multiple simultaneous connections from a single user (account defined in the SMS delivery service policy).

Not Configured or Disabled

Connections to the SMPP server and message sending requests are performed in parallel.

Enabled

Connections to the SMPP server and message sending requests are performed in sequence.