Commit graph

20 commits

Author SHA1 Message Date
MrArmonius 5f0f6a730a Add goldap source files + modified import 2021-07-13 15:23:50 +02:00
MrArmonius 7c8bd455e6 Delete goldap, switch to another branch 2021-07-13 15:09:16 +02:00
MrArmonius 9e4b4a0162 Mise en place du code source goldap
Changement des imports dans les fichiers go de bottin et ldapserver.
Rajout d'un fichier txt dans test-automatique pour reproduire le bug des
requêtes ldap.
2021-07-07 18:26:02 +02:00
Alex 99d8955ab3 Refactor & add case normalization logic to putAttributes 2021-03-09 19:00:45 +01:00
Alex 1a20a64eff Refactoring 2021-03-09 18:30:59 +01:00
Alex dc3fd4df65 Use consul's stale reads by default 2021-03-09 18:24:30 +01:00
Alex 851573e28f Fix equality test in ldap compare request 2020-02-13 14:41:49 +01:00
Alex 8ca2d39971 Optimize some kv.List requests to not list all children 2020-02-12 15:14:58 +01:00
Alex e52a1f74a3 Handle search attribute * 2020-02-11 23:20:33 +01:00
Alex 0402f7806a Implement (inefficiently) search scopes 2020-02-09 18:36:27 +01:00
Alex f32c272db2 Merge branch 'gomod' of Deuxfleurs/bottin into master 2020-02-02 15:01:35 +01:00
Maximilien Richer a6faceb559
Import upstream lor00x/goldap reposity 2020-02-02 14:47:16 +01:00
Maximilien Richer 3644fdfe61
Rename go module to bottin 2020-02-02 14:32:37 +01:00
Alex 0c801e02d5 Remove spaces between dn components, use warnings when necessary 2020-02-02 13:53:29 +01:00
Alex 4c037dcb94 Bug fix: case-insensitive value match (except for passwords) 2020-02-02 13:32:12 +01:00
Maximilien Richer 0274ab0038
Implements go modules
Following errors compiling with go 1.13
See https://blog.golang.org/migrating-to-go-modules for details.
2020-02-02 12:10:02 +01:00
Alex da2c37bb95 Better logging 2020-02-01 15:05:44 +01:00
Alex e1f5c31402 More logs 2020-01-28 00:52:30 +01:00
Alex 8a605f44b0 Don't do stupid things like use a dn as a pattern
Also add metadata fields in objects created on initialization
2020-01-26 23:12:00 +01:00
Alex b27eb45239 Split off read and write functions in separate files 2020-01-26 22:08:27 +01:00