Nuestro burocrata preferido: Sam Lowry
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

32 lines
578 B

Set up a testing environment:
sudo apt install slapd ldap-utils
sudo cp examples/sindominio.* /etc/ldap/schema/
sudo slapadd -Y EXTERNAL -H ldapi:// -f /etc/ldap/schema/sindominio.ldif
sudo slapadd -n 1 -l examples/data.ldif
Run it:
make all
./lowry -config examples/lowry.conf
Now go to your browser, open http://localhost:8080 and you can login as:
* Usuaria: user
* Contraseña: foobar
5 years ago
Or as admin:
* Usuaria: superuser
* Contraseña: foobar
# tests
The tests needs a clean ldap with the `examples/data.ldif` added.
You can run them:
make test