Start a conversation

Master Authentication

Overview

This article provides instructions for enabling Master Authentication (Master Auth), along with additional information about the workings of its internal mechanism in Kerio Connect.


 

Enabling Process

To enable the Master Authentication process, follow the steps detailed in the process below.

  1. Open Kerio Connect Webadmin.

  2. Navigate to the Configuration > Advanced Options > Master Authentication tab.

  3. Select Enable Master Authentication to this server.

  4. Choose the necessary IP address group.

  5. Specify the Master Password.

     

    360010926200-1.png

     

  6. Click Apply.

Back to the top


 

Master Auth Internal Mechanism

The following steps detail how Master Auth works:

  1. The client sends the X-MASTERAUTH command: C: a X-MASTERAUTH.

  2. The server responds with a challenge: S: + <random-challenge-string>.

  3. The client links together the challenge string with the master password and computes the resulting string's MD5.

    "<random-challenge-string>masterpassword" -> MD5 -> c1e1b75f2de352d6a214f4131c07e400

  4. Then the client sends this MD5 to the server as a hexadecimal ASCII string.

    C: c1e1b75f2de352d6a214f4131c07e400

  5. The server checks the MD5 and announces the authentication result. There are two possible results.

    • S: a OK X-MASTERAUTH Welcome to server, master, or

    • S: a NO X-MASTERAUTH failed

  6. The client switches to the selected user account with the X-SETUSER command.

    C: b X-SETUSER "username"

  7. The server responds with a confirming X-SETUSER command.

    S: b OK X-SETUSER completed

Example:

C: a X-MASTERAUTH
S: + <random-challenge-string>
C: c1e1b75f2de352d6a214f4131c07e400
S: a OK X-MASTERAUTH Welcome to server, master
C: b X-SETUSER "username"
S: b OK X-SETUSER completed

Back to the top

Choose files or drag and drop files
Was this article helpful?
Yes
No
  1. Priyanka Bhotika

  2. Posted
  3. Updated

Comments