diff --git a/README.md b/README.md
index a935391d3cd1410fe37fd7f3cde6ee17e75ab32e..5610d1ffecebc02b12428a8336161bfb36afbee8 100644
--- a/README.md
+++ b/README.md
@@ -85,3 +85,20 @@ python3 check_user_logins.py
     -r "^(?P<datetime>.{20}).*audit-login.* (?P<userid>[0-9]+)@muni\.cz$"
     -d "%b %d %Y %H:%M:%S"
 ```
+
+### check_ldap.py
+
+- check whether LDAP is available
+- to use this check, you must install the ldap extra:
+
+  ```sh
+  pip install perun.proxy.utils[ldap]
+  ```
+
+  and the [build prerequisites of the python-ldap library](https://www.python-ldap.org/en/latest/installing.html#build-prerequisites)
+
+- for usage run:
+
+  ```sh
+  python3 check_ldap.py --help
+  ```
diff --git a/setup.py b/setup.py
index 1085f30dad2caaba6365ab2aff58495e04337333..7339cde4415ecd2a8477e44f8029008a5bde6290 100644
--- a/setup.py
+++ b/setup.py
@@ -14,11 +14,15 @@ setuptools.setup(
         "docker~=6.0",
         "beautifulsoup4~=4.12",
         "requests~=2.31",
-        "ldap3~=2.9.1",
         "PyYAML>=5.4,<7.0",
         "check_syncrepl_extended~=2020.13",
         "check_nginx_status~=1.0",
     ],
+    extras_require={
+        "ldap": [
+            "ldap3~=2.9.1",
+        ]
+    },
     entry_points={
         "console_scripts": [
             "run_probes=perun.proxy.utils.run_probes:main",