diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index ce0f1ae965438093529c7862b57d20d732a67b2f..821351a610b4680610eee7b5f94c558c0ee3eb8c 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -41,6 +41,7 @@ tests:mocha:
     - echo '{"dn":"dn", "passwd":"passwd"}' >> ldap_credentials.json
     # set up to use ldap, not ldaps
     - export LDAP_URI=ldap://ldapdev.eleves.polytechnique.fr:389
+    - export LDAP_DN=uid=sigma,ou=services,dc=frankiz,dc=net
     - export TARGET_ENV=staging
     # in Kubernetes executor, hostname postgres is broken
     - export DB_HOST=127.0.0.1