Users from Microsoft Active Directory
User Synchronisation and Authentication with Microsoft Active Directory

Microsoft Active Directory
In order to be able to read data from Active Directory, you require a user with the appropriate permissions. You could use the Active Directory Administrator for this purpose. However, as the PASCOM cloud phone system needs to save the access credentials for the automated future imports and the the administrator as significantly more than the required permissions, it is advisable to create a user account for the PASCOM PBX:
If you use mobydick as the username, this will be automatically detected by the LDAP filter during the import process and will not be automatically added as a PASCOM cloud phone system user.
Assign a password for the PASCOM user and select password never expires. The PASCOM PBX can then authenticate itself by the Active Directory with every execution of the connector sync. If you wish to change this password, you must change the password in both Active Directory and within the PASCOM connector profile:
"Users from AD" Connector Profile
Create a new connector profile by using the following steps in the PASCOM cloud phone system Web UI: Click on the menu option Settings > Connector and then click Add.
Select the AD User Sync template and enter the following data:
Name
Connector Profile Name
AD Domain
Active Directory Domain Name
AD Server
Server IP or Host DNS Name
Username and Password
Credentials of the previously added PASCOM User for authentication
Configure authentication
NO: Users will only be imported. Authentication will be performed by the PASCOM cloud phone system. YES: Users will be imported and the can be authenticated against the AD. In this case, the authentification will be setup and you can modify this according to your needs under Appliance > Services under the tab Authentification.
Create PASCOM softphone
YES: Creates a PASCOM softphone for every imported user. NO: No PASCOM softphones will be added for imported users.
Create mobile phone
YES: Creates a mobile phone device for every imported user. NO: No mobile devices will be added for imported users.
After saving, the template can be modified according to requirements under the tab Basic Data.
Use multiple LDAP URIs from your authentication servers.
Click Appliance > Services from the menu and go to the Authentication tab. Here you can specify multiple LDAP(S) URIs, which are separated by a space. If one LDAP server fails, we simply use the second server entered.

Pre Filter
Per default, the template will import all users from the AD except for the user mobydick. Using the Pre Filter tab you can restrict the import to groups of users e.g. pascom-user. Simply enter the following code:
User Fields in AD
Account > sAMAccountName
username
The login name is used for all logins and can only contain lowercase letters. Required field.
General > displayName
displayname
The display name is displayed on telephone displays and within the PASCOM desktop and mobile apps. Required field.
General > givenName
givenname
First name of the user used for the PASCOM telephone book entry.
General > sn
surname
Last name of the user used for the PASCOM telephone book entry.
General > telephoneNumber
phone
The user's internal extension number. If this is not managed in AD, PASCOM will automatically assign the next available extension from the number pool.
General > mail
User's e-mail address. Used for sending voicemails and faxes.
Organisation > company
organisation
Company to be entered in the user's PASCOM telephone book entry.
Phone numbers > homePhone
homephone
User's private / home telephone number for the PASCOM telephone book entry.
Phone numbers > mobile
mobile
The user's mobile phone number to be added to the PASCOM telephone book entry and with which a mobile phone device should be automatically created.
Phone numbers > facsimileTelephoneNumber
Fax
Internal fax number assigned to the user. Automatically also adds a virtual PASCOM fax machine assigned to the user. A pre-requirement here is that the PASCOM fax server is already configured.
These fields are just template suggestions. You can add and remove fields or even modify the complete structure to match your requirements.
Test and Activate the Import Process
After you have finalised your configuration, you can test the connector profile to determine which data sets will be imported using the Save and Simulate button. Once you are satisfied with the results, it is possible to either perform a one off import using the Action > Import Now option or automate the import to be performed at regular intervals by clicking the Automate button.
Authentication Tests
If you have configured the template using the Configure authentication YES option, it is now possible to test the user authentication process using the following menu options Appliance > Services under the Authentification tab and finally using the Test Authentication button.
Optional Modifications
Do you want to make changes to source variables or the Connector structure? Then follow the links below to the appropriate instructions:
Assign a Softphone, Mobile Phone or IP Telephone
From within the Active Directory, it is possible to directly assign a user with a Softphone or IP telephone.
Assign IP Telephones via MAC Address:
Under the Variables tab add the following lines by clicking Add:
mac
return $row['ipPhone'];
This line instructs the Connector to save the content of the Active Directory field "ipPhone" to the variable "mac". "mac" corresponds to the MAC Address of the IP phone which should be assigned to the user. This variable now be assigned to the PASCOM field IP Telephone within the Structure.
To do this, expand the following lines so:
Softphone Assignment:
If you want to assign users with a PASCOM softphone, it is not necessary to add an additional variable.
Under Variables it is sufficient to set the entry createSoftphone to "return true;".
Mobile Phone Assignment:
If you want to assign users with a mobile phone, it is not necessary to add an additional variable. The mobile phone number will be automatically read from the field "Phone numbers" > "mobile".
Under Variables it is sufficient to set the entry createMobile to "return true;".
Last updated
Was this helpful?
