Categories
Knowledge Support Support Categories Products exacqVision Integrations

Active Directory & LDAP Best Practices

Introduction
a. Benefits of Integration
b. exacqVision Server must have Enterprise license
c. Use groups on domain

1.exacqVision to AD/LDAP Data Flow

2.Configuration

3.Troubleshooting

1. Introduction

For an organization using Active Directory (AD) for user management of information technology services, integrating exacqVision into the AD infrastructure can greatly simplify continuing maintenance of user access to your video management system (VMS). On each exacqVision Server, you can assign VMS permissions to one or more AD groups. Then, as you add user accounts to those groups through standard IT user management practices, those users will automatically have access to log in to the exacqVision Servers with appropriate permissions. User management directly through exacqVision becomes a one-time configuration requiring that you join the server to the domain and assign permissions and privileges to groups, and all additional user management occurs through AD.

To provide the ongoing benefits of using group-based permissions with exacqVision Server, the server must do more that simply authenticate login credentials of a user requesting access; it must be able to browse AD groups to present them as configuration options and to determine whether a user requesting access is a member of any configured groups.

Minimum Requirements

  • Your exacqVision Server must have an Enterprise license to interact with AD
  • The domain controller must be running on Windows Server 2003 or later.
  • To configure AD on an exacqVision Server, you must have Active Directory credentials with the following access to a minimum of the following AD parameters:
    * objectClass (specifically “group” & “user”)
    * userPrincipalName
    * sAMAccountName
    * inetOrgPerson
    * krbPrincipalName

<br>

2. exacqVision to AD/LDAP Data Flow



  1. exacqVision Client computer joined to the domain. Optionally, you can join the exacqVision Server to the domain.
  2. The Kerberos ticket (the operating system domain login credential) is passed from the client workstation operating system to exacqVision Client.
  3. exacqVision Client initiates communication with the exacqVision Server and passes the Kerberos ticket.
  4. The exacqVision Server validates the ticket and extracts the user information.
  5. The exacqVision Server passes the user to LDAP, which looks at the group and/or user associations for the passed user credential.
  6. The exacqVision Server passes the rights and privileges based on the user and groups associated with the user credential.

<br>

3. Configuration

  1. Log in to your domain controller and expand the tree.


  2. Create a new group that specifies privileges in the name nested under your desired Base DN.


  3. Give that Group a Name. This example creates an exacqVision Admin Group.


  4. Add domain users to the new group.


  5. Create additional groups. This example will create a Live and Search Only group.


  6. Add domain users to the group.


  7. Now you have multiple groups to query in the exacqVision Client. This allows you to assign permissions to users based on their Directory Group.



    NOTE: Check with the system administrator for the correct LDAP Base DN for your situation. User and Group OUs/containers must be below (nested under) the Base DN, not equal to or above the Base DN. Binding will succeed, but users will not be able to log in.

    Good:


    Better:


    Bad:

  8. Log in to the client workstation with an exacqVision user account.


  9. Open the exacqVision Client and select the System tab on the Config (Setup) page. Enter the Base DN and Binding DN for the directory.
    NOTE: Make sure the Base DN is at least one level above the Group container you will be querying.



    The status should now be Connected.
  10. To map each group created on the domain to an exacqVision user, select Users from the configuration tree and click Query LDAP. This will allow us to assign exacqVision permissions to all domain users in each group.

     
  11. Select the group returned by the query and assign permissions to that group. This example gives full admin rights to the exacqVision Admins group.


  12. Click Apply. The group and all its domain users now have permissions, and the type is specified as LDAP.


  13. On the Users page, click Query LDAP and search for the next group that was created.


  14. Add permissions for this specific group. This example selects the Live + Search permission for the Live and Search Only group.


  15. Now both groups are mapped on the exacqVision Server with the appropriate permission levels.


  16. On the Add System page, select Use Single Sign-On so that exacqVision Client will pass the client computer’s login credentials to the server for validation when it starts.


  17. Because you are logged in to the Client workstation with an exacqVision Admin user account, the system will automatically log in to the server with these credentials.


  18. Now you can log out of the Client Workstation with admin credentials and log in as a Live and Search Only user. Notice that the account does not have any of the server configuration options available when logged in to the Admin group account.

<br>

4. Troubleshooting


LDAP Not Connecting

On the Domain Controller, add and confirm rules for TCP/UDP ports 389 (standard clear text LDAP) and 636 (standard SSL LDAP).


Re-imaging or Replacing System (Including Virtual Machines)

  1. Use a different hostname and IP (recommended).
  2. If using the same hostname and IP, make sure all instances and references of this hostname, IP, and SPN have been removed from the DC.
  3. Import the exacqVision configuration file to restore settings and preferences.


Client-Side Kerberos Errors

Either the binding DN account does not have permission to set the SPN or you did not manually run the setspn command on all DCs, or it has not replicated to all DCs. If you entered the SPN manually, you can check on each DC by opening a command prompt on the DC and typing setspn -l hostname (the hostname of the exacqVision server). If your machine was on the domain, use setspn -l fqdn. If your machine was not on th domain, use setspn -l serial (where serial is the exacqVision Serial number, or mac_address for a 3rd party server).


You should have something like this:


Name Resolution Issues

You should be able to ping and resolve the exacqVision server from the client computer. If connecting using a hostname, DNS must be resolvable. In Command Prompt on the client computer, type ping exacqhostname.domain.xxx.


If it is still not resolving:

  1. Check DNS PTR records. Make sure the hostname and IP address are correct.
  2. Delete and add back the DNS record for the exacqVision server, if needed.
  3. Verify that you can resolve any FQDNs.
  4. Try logging in using your UPN name instead of Single Sign-On (Windows clients only). UPN=user@domain.xxx. If successful with the UPN name, restart the client computer and try Single Sign-On again.
  5. Verify that ports are open for 636 (secure LDAP) or 389 (LDAP).
  6. In Linux, check whether kinit returns an error stating it cannot find or connect to the KDC server. Ping your KDC server’s FQDN (usually your DC). If you cannot ping the KDC, this is a DNS issue. You can resolve by making sure you have set a valid internal DNS server via exacqVision Client, or by adding your KDC server to your HOSTS file.

Server-Side Kerberos Errors

  1. The exacqVision server log could contain the following error:

    StreamPI______Error______SSPIerror:SEC_E_TIME_SKEW

    This means the clocks on the client and server computers do not match. The exacqVision server time can be no more than five minutes off the DC’s time.
  2. Make sure the User and Group OU/Container are nested under the Base DN (see discussion earlier in this document).
  3. Can you ping all your DC FQDNs and resolve them from the client and server?
  4. You may have entered your Service Principle Name (SPN) incorrectly. You can verify the SPN from a command prompt on the DC, enter setspn -l hostname (the hostname or the exacqVision server). If your machine was on the domain, use setspn -l fqdn. If your machine was not on the domain, use setspn -l serial (where serial is the exacqVision Serial number, or mac_address for a 3rd party server).

<br>

Active-Directory-LDAP-Best-Practices.pdf
Categories
Knowledge Support Support exacqVision Client Categories Products

How to Submit Support Diagnostics

Choose the “Easy Support Video” link below to watch a video on how to submit support diagnostics and open a support case from the ExacqVision Client or see step-by-step instructions below.

Exporting Diagnostics

  1. Choose the Help (?) symbol at the upper right hand corner next to the ExacqVision logo.<br><br>
  2. Choose Support Diagnostics.
    <br><br>
  3. The Support Diagnostics popup will start with basic options.


    Note: The default Support Diagnostics option will collect:
    • Server License Key
    • Server Configuration Files
    • Verbose Server Logs

      The ‘Send Usage Statistics’ option on the Support Diagnostics dialogue provides anonymous and non-sensitive information to the manufacturer about how cameras and ExacqVision features are used on the system.<br><br>
  4. Choose “Show Advanced Options” for more options.

    Note: Checkboxes under ‘Client’ will include OS logs from the client machine.<br><br>
  5. If connected to more than one ExacqVision server, you can choose which server to pull the logs from.<br><br>

Submitting Diagnostics

  1. Once your options are chosen, you have the choice to Save the diagnostics export locally, or to upload the export to Exacq and create a ticket.
    • If you select ‘Upload’, it will “zip” all the information and upload the file to our Support Request Form. In addition, it will auto-fill the System Information section for you. Please complete the remainder of the form and choose ‘Submit Email Form’.
      <br><br>
    • If the file is large than 10 MB, you will need to save the diagnostics export file locally and submit the file to Exacq by other means. Contact the Exacq Support technician you are working with to request a link to upload your file.

<br>

Categories
Knowledge Support Support exacqVision Server Categories Products

MAC Address Displayed as All Zeroes on Linux-based Exacq Systems

Virtual Server

Verify that the Network Adapter type is “E1000”. Other adapter types, such as “VMXNET 3” will cause the MAC address to display all zeroes and will fail to load a license.

<br>

Physical Server

If exacqVision Client displays a MAC address of 00-00-00-00-00-00 Linux-based systems manufactured by Exacq Technologies, it is likely that the Linux kernel has been updated to a version that is incompatible with the hardware drivers installed. To remedy the situation, you must revert to the previous kernel using the following steps:

  1. Open a Terminal window and type the following:
    dpkg --get-selections | grep linux-headers

    You should see only one version number listed on two lines, as shown in the following graphic (if you see more than one version number here, note of the lowest number; this is the original kernel that needs to be running).

    <br>
  2. Restart the computer, and then press and hold the right Shift key while it boots. This displays the GRUB menu shown here:

    <br>
  3. Make sure the cursor is on the lowest numbered option not followed by “(recovery mode),” and then press Enter to boot into the original kernel.<br>
  4. Log in to the operating system as an admin and open a Terminal. Open the Synaptic Package Manager by typing the following:

    sudo synaptic<br>
  5. Click the Search button and type the following:

    linux-headers

    <br>
  6. Click the down arrow to sort the results.

    <br>
  7. For each item that has a green box and is not the kernel version that you booted into in the previous steps, right-click the package, select Mark for Complete Removal, and click Mark.

    NOTE: Be careful not to mark the version of kernel that is running. To recall the version you are running, open a Terminal and type uname -r<br>
  8. After all packages are marked for complete removal, click Apply.

    <br>
  9. Open a Terminal window and type the following:

    sudo update-grub

<br>

Categories
Knowledge Support Support exacqVision Server Categories Products

Should I upgrade the operating system of my exacqVision recorder to the next major version?

Should I upgrade the operating system of my exacqVision recorder to the next major version?

Operating system vendors periodically release new major versions of their operating systems. A major version upgrade is generally identified as the first number of the version increasing (E.g. Ubuntu 10.04 to 12.04), or the name of OS changing (E.g. Windows Vista to Windows 7).


New major OS versions often include changes that affect how applications, like exacqVision, run on the operating system. As a result there is a risk that exacqVision will not function correctly on a new major OS version when it releases. Furthermore, even if exacqVision does support the newest major version of the OS, upgrading an OS can result in application data loss or other migration issues.

<br>

Upgrading the operating system of your exacqVision recorder to the next major version may result in failure to record video or loss of previously recorded video and is not recommended.

Any user attempting to upgrade an exacqVision recorder to a new major version of the Windows or Ubuntu operating system assumes all risk of data loss and hardware issues, and must troubleshoot all related issues without the assistance of Exacq Technologies.

If you do upgrade the operating system to a new major version and experience issues, follow the recovery instructions that were included with the exacqVision recorder.

<br>

Should-I-upgrade-the-operating-system-of-my-exacqVision-recorder-to-the-next-major-version.pdf
Categories
Knowledge Support Support Categories exacqVision Webservice Products

Weblink keyword missing in email notification due to version incompatibility

Affected platforms

exacqVision Server 6.8 or earlier
exacqVision Web Service 7.2 or later

<br>

Symptom

If the web service is 7.2 or later while the exacqVision Server is 6.8 or prior and the notification profile configuration contains a {weblink} keyword, the email received will not contain a proper link to the web service.

<br>

Workaround

Update the exacqVision Server or downgrade the web service to compatible versions.

<br>

Resolution

No resolution planned.

<br>