Commit Graph

579 Commits

Author SHA1 Message Date
Valentin Tolmer
f68c45b1c3 Switch the main DB to sqlite 2021-04-12 16:06:14 +02:00
Valentin Tolmer
a765d77b53 Centralize the definition of pool type 2021-04-11 22:08:25 +02:00
Valentin Tolmer
71045b08fe Add tests for bind in the handler 2021-04-11 22:01:24 +02:00
Valentin Tolmer
49404b24d7 Implement user listing with filters 2021-04-11 21:30:52 +02:00
Valentin Tolmer
9f56fd02cf Create SQL tables with a query builder 2021-04-11 16:49:06 +02:00
Valentin Tolmer
bfd7730d55 Add support for basic ldap filters 2021-04-07 20:55:23 +02:00
Valentin Tolmer
6abe94af13 Add support for non-admin bind 2021-04-07 20:14:21 +02:00
Valentin Tolmer
31e8998ac3 Add attribute list handling
Also, fix various clippy warnings
2021-03-22 09:59:58 +01:00
Valentin Tolmer
cda2bcacc3 Add ability to list users with an LDAP search request 2021-03-16 18:27:31 +01:00
Valentin Tolmer
5a1dfa3d65 Misc cleanup 2021-03-15 09:30:58 +01:00
Valentin Tolmer
a4abe86929 Initialize the tables in the database 2021-03-12 17:01:04 +01:00
Valentin Tolmer
03e6afda69 Misc cleanup 2021-03-12 17:00:51 +01:00
Valentin Tolmer
86b89a00cc Separate ldap_handler, add tests 2021-03-11 10:50:15 +01:00
Valentin Tolmer
ff4e986a0d Introduce BackendHandler trait and impl 2021-03-11 10:19:36 +01:00
Valentin Tolmer
1a947358fa Simplify DB handling with sqlx::Any 2021-03-10 12:06:32 +01:00
Valentin Tolmer
285a51db6e Ignore created databases 2021-03-08 10:53:21 +01:00
Valentin Tolmer
dc6e8c8808 Implement SQL connection 2021-03-08 10:51:37 +01:00
Valentin Tolmer
c63c7105aa Fix the pipeline_factory
We can now bring up the two servers
2021-03-07 12:36:12 +01:00
Thomas Wickham
6eaf859ba9 WIP: sorry this does not compiles 2021-03-06 23:39:34 +01:00
Thomas Wickham
ad445ac7b7 REMOVE USELESSNESS 2021-03-06 21:40:24 +01:00
Valentin Tolmer
4cefa1ecc4 Add basic LDAP structs 2021-03-06 21:23:39 +01:00
Thomas Wickham
bbecb47c59 add tcp server 2021-03-02 23:07:01 +01:00
Thomas Wickham
ffce735b79 Fix bug in config from cli flags
The flag value (true/false) was always provided to the configuration, which means that the cli was overriding everything else.
2021-03-02 22:03:58 +01:00
Thomas Wickham
009ffd793b Fix cli arg precedence and finish config wiring 2021-03-02 21:44:13 +01:00
Thomas Wickham
0b6f482e51 Add logging + start wiring config 2021-03-02 20:51:33 +01:00
Thomas Wickham
acc80d21e5 Add complex configuration 2021-03-02 20:30:43 +01:00
Thomas Wickham
845073c29d Add Clap and base config 2021-03-02 20:13:58 +01:00
Valentin Tolmer
6519b5c894 Initialize new Cargo repository 2021-03-02 12:45:30 +01:00
nitnelave
65e3e2f070
Initial commit 2021-03-02 12:39:53 +01:00