diff --git a/SAS/TriggerServices/django_rest/CMakeLists.txt b/SAS/TriggerServices/django_rest/CMakeLists.txt
index 83cd6ed743c0843a12464f12eb027a7ba02ba94e..50bd72752fcee0fd712cd819bff448ef9d481a27 100644
--- a/SAS/TriggerServices/django_rest/CMakeLists.txt
+++ b/SAS/TriggerServices/django_rest/CMakeLists.txt
@@ -2,6 +2,7 @@ lofar_find_package(Python 2.7 REQUIRED)
 include(PythonInstall)
 include(FindPythonModule)
 find_python_module(django REQUIRED)
+find_python_module(ldap REQUIRED)
 
 set(_py_files
     manage.py