diff --git a/scripts/run-ldap b/scripts/run-ldap index 44eb7d953..580a4496e 100755 --- a/scripts/run-ldap +++ b/scripts/run-ldap @@ -4,6 +4,8 @@ $ENV{LLNGTESTLDAP} = 1; chdir 'lemonldap-ng-portal'; require './t/test-ldap.pm'; +system( $ENV{LLNGTESTLDAP_SLAPADD_BIN} || '/usr/sbin/slapadd' + . ' -F t/testslapd/slapd.d -n 1 -l t/testslapd/confs-sessions.ldif' ); print STDERR "Press a key to stop LDAP server\n"; my $r = ;