Commit Graph

91 Commits

Author SHA1 Message Date
Alex c3bfcdf9a1 Fix password comparison 2020-02-01 11:32:50 +01:00
Alex 2f9ad411c7 Fix missing newline after TLS warning 2020-02-01 11:00:09 +01:00
Alex 46819a245f Mention docker some more 2020-01-31 22:51:23 +01:00
Alex 7962e7b262 Rebrand to Bottin (with Superboum's benediction) 2020-01-31 22:15:40 +01:00
Alex e1f5c31402 More logs 2020-01-28 00:52:30 +01:00
Alex 3edaad9317 Use better randomness 2020-01-27 17:01:32 +01:00
Alex e7ded9d6b5 Fix slice bounds 2020-01-27 16:39:08 +01:00
Alex dce432426e Allow for both TLS and non-TLS connections 2020-01-27 16:32:39 +01:00
Alex 66c6479770 Implement TLS mechanisms correctly, I hope 2020-01-27 16:08:35 +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 e9fb34bb26 Add missing LICENSE (gplv2) for imported ldapserver module 2020-01-26 22:31:55 +01:00
Alex 1be8b6a3d8 Separate build path for static version 2020-01-26 22:30:05 +01:00
Alex 89e432b06c Bump docker tag 2020-01-26 22:26:12 +01:00
Alex f8c726dcda Fix missing procedure for delete membership & "better" failure handling
After an object has been updated, membership information must be
propagated to other object. Such operations may fail when calling consul
but if they do we don't return fail immediatly returning an error code
any more.  Instead we just print all the errors to our logs and try to
process the remaining updates.
2020-01-26 22:22:38 +01:00
Alex b27eb45239 Split off read and write functions in separate files 2020-01-26 22:08:27 +01:00
Alex 15745b1b39 Add dockerfile, makefile and example nomad configuration file 2020-01-26 21:57:27 +01:00
Alex 97f5effe55 More serious schema enforcement 2020-01-26 21:22:51 +01:00
Alex 8e4537d2ef Fixes 2020-01-26 21:03:18 +01:00
Alex 0bd2aeef06 Add GPLv3 license 2020-01-26 20:22:36 +01:00
Alex 7b77bfc66c Complete readme 2020-01-26 20:18:22 +01:00
Alex d56a2530dd Complete README 2020-01-26 20:11:17 +01:00
Alex 94eafa2a9b Less logs but better logs 2020-01-26 19:47:38 +01:00
Alex c1f0247586 Externalize config 2020-01-26 19:27:17 +01:00
Alex 611d182907 Add anyread to admins in example acl because don't be ridiculous 2020-01-26 18:59:28 +01:00
Alex b768b78406 Fix an issue with excluded attributes 2020-01-26 18:57:29 +01:00
Alex 82402749e6 First ACL implementation 2020-01-26 18:42:04 +01:00
Alex 2ad9bce75c Apply gofmt & minor refactoring 2020-01-26 17:45:04 +01:00
Alex a7ccdad378 Fix handling of empty set of values as absence of the key 2020-01-20 09:11:30 +01:00
Alex 3b793c90a0 Add TODO list 2020-01-19 22:30:51 +01:00
Alex c7534dd06b Forbid "/" in DN 2020-01-19 22:27:54 +01:00
Alex 7e4079b3d8 Implement Modify 2020-01-19 22:21:05 +01:00
Alex f9cb0552be Handle LDAP Compare and Delete requests 2020-01-19 21:48:14 +01:00
Alex 3decb94271 Basic code cleanup 2020-01-19 21:26:44 +01:00
Alex 19854a1ef4 Use correct return code for unimplemented filters 2020-01-19 19:51:01 +01:00
Alex 5ae18daff7 Better DN suffix validation 2020-01-19 19:19:34 +01:00
Alex b238a6eb0e Implement add with group membership 2020-01-19 19:10:38 +01:00
Alex 2bfb6b4ced Use only []string for values, implement add 2020-01-19 18:24:21 +01:00
Alex 131297a33f Case insensitive match on attribute names 2020-01-19 18:04:42 +01:00
Alex 4c5b3d929d Implement Search with basic filter support 2020-01-19 17:57:37 +01:00
Alex 67fa504e20 Add ldapserver source in here & add support for client state 2020-01-19 13:00:53 +01:00
Alex bade33cf15 Begin Go reimplementation of Bottin 2020-01-19 12:49:49 +01:00