Active Directory-based Single-Sign-On

Summary This article describes how to setup an active directory-based single-sign-on.
Applies to askiavista
Written for Data processor
Keywords sso; active directory; vista; askiavista


What is Single Sign On ? And what is Active directory?
So, basically, setting up this Active directory based SSO will allow your internal users (those who are registered on your Windows domain via Active directory) to be automatically signed in to askiavista. Thus avoiding having to sign in each time they connect to your askiavista setup.


In IIS, disable "Anonymous authentication" and enable "Windows Authentication" in order to retrieve the SAMAccountName in AskiaVista.

You then need to update the SAMAccountName field located in the AV_Users table of the askiavista SQL DB with all relevant user SAMAccountName values. This can either be performed directly on the appropriate field in the AV_Users table or via the corresponding field in the User management of the askiavista Administration:

Askiavista performs a search in LDAP to make sure the account exists. To perform a search in Active Directory, the LDAP properties (Path and AuthenticationType) must be added to the askiavista configuration:

Method 1: AskiaVista Configurator
Open AskiaVistaConfigurator.exe (located in the ./AskiaCtrl folder) and browse to the Active Directory tab. Specify the LDAP path in the Directory Entry Path field and the Authentication type in the relevant dropdown menu.

Method 2: Askia.config file
The Askia.config file is located in the ./AskiaCtrl/ folder):

Below, some examples of LDAP paths:

Path = "LDAP://DC=<domain name" 
2Path = "LDAP://CN=<group name>, CN =<Users>, DC=<domain component" 
3Path = "LDAP://CN=<full user name>, CN=<Users>, DC=<domain component" 
4Path = "LDAP://CN=<computer name>, CN=<Computers>, DC=<domain component" 
5Path = "LDAP://CN=<computer name>, CN=<Computers>, DC=<domain component" 
6Path = "LDAP://CN=<user name>,OU=<Organizational Unit,DC=<domain component" 
7Path = "LDAP://AD_SERVER/CN=<user name>,OU=<Organizational Unit,DC=<domain component" 

For more information on these authentication types paths, see the MSDN wiki
. Once it's validated askiavista searches the askiavista DB to check if the SAMAccountName exists (using the SAMAccountName in the AV_Users table). If the user exists, he will be automatically connected to askiavista.

Have more questions? Submit a request