Commit Graph

24 Commits

Author SHA1 Message Date
Michael Davis 710ae55adf
Setup olcBackend in global ldap example config 2024-05-01 10:31:17 -04:00
Rin Kuryloski dc2c3e03fb Switch slapd backend from bdb to mdb
Slapd 2.5 removed bdb, so switching to mdb

Debian bookworm, to which the buildbuddy CI image was recently
updated, installs slapd 2.5
2024-05-01 13:41:49 +02:00
Jean-Sébastien Pédron 0a71c3cf7b system_SUITE: Setup slapd(8) at the beginning of the testsuite
... instead of relying on an external script to configure it.

This way, if OpenLDAP server is installed, `make ct-system` should work.
`TESTING.md` is updated with this new information.

It also means the following resources are now unused:
* The Docker and Vagrant files
* `setup.sh` and `seed.sh` in the `example` directory
2020-03-26 16:07:08 +01:00
Jean-Sébastien Pédron 3dbfddfca0 example/README.md: Record the source of those LDIF files 2020-03-26 15:54:23 +01:00
Michael Klishin 8c3c91202b Add a Dockerfile for running integration tests 2019-10-14 22:27:31 +03:00
kjnilsson 416035cc74 configure openldap backend
allow ldap port to be overridden by environment
2016-07-28 15:28:35 +01:00
kjnilsson 4e6963baf5 setup openldap as part of vagrant provisioning
seed openldap as part of the test run
2016-06-29 10:33:25 +01:00
Daniil Fedotov a0f0f5f6e7 Testing and refactoring 2016-05-12 13:53:54 +01:00
Daniil Fedotov 8406c0cf77 Merge branch 'stable' into rabbitmq-auth-backend-ldap-15 2016-04-20 11:04:55 +01:00
Ayanda Dube 233ac0a712 Adds posix test user accounts, 'Carol' and 'Peter'.
Adds test user 'Peter' to all test groups.

Ref: #16.
2016-04-18 14:23:00 +01:00
Ayanda Dube d42a89235b Adds 'staff' LDAP testing group.
Ref: #16.
2016-04-18 14:23:00 +01:00
Ayanda Dube 8911fbf049 Adds 'memberOf' attribute overlay configuration.
Ref: #16.
2016-04-18 14:23:00 +01:00
Joseph Yiasemides 45a5ff0311 Test tag attribution by configuring from within the test-suite
Put the necessary configuration in the test itself, testing a more
complex assortment of tag queries, rather than in the configuration
file. Introduce another user into the LDAP server for this
test. Revert the `management` tag query, in the configuration file, to
a trivial constant query.
2016-04-14 14:20:48 +00:00
Joseph Yiasemides 2a1fc7d46f Use common placeholder names instead of former of current team members 2016-03-25 11:07:14 +00:00
Michael Klishin 44bad3a5ee Extract seed.sh, add a couple more users for testing 2015-04-11 02:16:59 +03:00
Simon MacMullen 5f5cd354a6 Modern Debianbuntu packages ldapadd seperately. 2014-11-13 16:15:00 +00:00
Simon MacMullen f755a224b4 Let's make the query language more complicated (and featureful!)
This so needs better documentation...
2011-10-27 18:27:56 +01:00
Simon MacMullen 8b6ab83b18 Disgraceful that we didn't have automated tests for so long! These are still pretty simple, but will have to do. 2011-10-27 16:52:58 +01:00
Simon MacMullen 03762fd12a Remove ACL-based example; it no longer works and ACLs are probably a really bad way to do this. 2010-12-03 14:24:02 +00:00
Simon MacMullen aba9c0cabc Tweak docs again. 2010-12-03 14:22:49 +00:00
Simon MacMullen 973d00ca4a in_group query. 2010-12-03 13:05:48 +00:00
Simon MacMullen ca26096067 Get ACLs working, add a less privileged user. 2010-11-23 11:57:30 +00:00
Simon MacMullen 20eb189dbe Make setup.sh really reset everything, start to set up some objects we could attach ACLs to. 2010-11-22 19:14:11 +00:00
Simon MacMullen d302c633b1 The simplest thing that could possibly work. You can authenticate as an LDAP user, but there are plenty of limitations. 2010-11-22 14:15:00 +00:00