Commit graph

78 commits

Author SHA1 Message Date
b17e3fe3c7 Add bottin CI badge
All checks were successful
continuous-integration/drone/push Build is passing
2021-02-08 14:44:44 +01:00
af6dd95107 test add drone CI
All checks were successful
continuous-integration/drone/push Build is passing
2021-02-08 14:12:52 +01:00
e4b5c67be0 Style changes 2020-11-13 12:55:32 +01:00
4367e4a232 Fix horrible, horrible bug 2020-11-13 12:47:54 +01:00
f43934a7b9 Fix image link in README.md 2020-04-04 18:55:58 +02:00
15b2b812bf Add use case paragraph in README 2020-03-11 08:42:25 +01:00
f244607a7a Mention Guichet in README 2020-02-28 18:31:44 +01:00
825aa77089 Hopefully, fix most case-sensitivity issues
- DNs are always used in canonical form: lowercase, no spaces. This is
  how they are internally handled and stored in paths and fields such as
  member and memberof
- Attribute names now can have any combination of lower/uppercase and
  stuff should work
- When modifying an attribute with a name that hase a different
  lower/upper combination than the previously stored value, keep the
  previous attribute name
- Trim spaces from values and do not store empty values
2020-02-15 12:07:31 +01:00
0c4d55895c Update docker image version 2020-02-14 22:03:46 +01:00
afcad41e85 Use lowercase attributes objectclass and structuralobjectclass 2020-02-14 21:26:43 +01:00
fd6a555216 Ensure objects have an objectclass property 2020-02-14 21:23:01 +01:00
81328aa321 Update docker image to version 12 2020-02-13 17:56:44 +01:00
13d8cf028a Add a function to resync member/memberOf values over the database 2020-02-13 14:41:49 +01:00
49be2069f6 Refactor memberOf management logic 2020-02-13 14:41:49 +01:00
6f893138a3 Make getAttribute return an empty array instead of nil when key not found 2020-02-13 14:41:49 +01:00
851573e28f Fix equality test in ldap compare request 2020-02-13 14:41:49 +01:00
c3d30df155 Update Docker image 2020-02-12 17:39:09 +01:00
8ca2d39971 Optimize some kv.List requests to not list all children 2020-02-12 15:14:58 +01:00
e52a1f74a3 Handle search attribute * 2020-02-11 23:20:33 +01:00
9e365d4b53 Update nomad hcl file to use template instead of artifact 2020-02-10 17:45:10 +01:00
938311a48e Make Makefile more generic 2020-02-10 11:54:36 +01:00
8e819b7d5c Modify initial administrator account to include displayname attribute 2020-02-10 11:37:39 +01:00
0402f7806a Implement (inefficiently) search scopes 2020-02-09 18:36:27 +01:00
d02bd17b16 Fix logo path (broken due to repo renaming) 2020-02-02 22:04:46 +01:00
adc5ecdbbc Change some Printf's to Debugf's 2020-02-02 16:51:23 +01:00
f32c272db2 Merge branch 'gomod' of Deuxfleurs/bottin into master 2020-02-02 15:01:35 +01:00
a6faceb559
Import upstream lor00x/goldap reposity 2020-02-02 14:47:16 +01:00
3644fdfe61
Rename go module to bottin 2020-02-02 14:32:37 +01:00
0c801e02d5 Remove spaces between dn components, use warnings when necessary 2020-02-02 13:53:29 +01:00
4c037dcb94 Bug fix: case-insensitive value match (except for passwords) 2020-02-02 13:32:12 +01:00
e9e7a4cb4b Update README with accurate info on how to build Bottin 2020-02-02 12:34:52 +01:00
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
8de94a32a8 CSS 2020-02-01 16:47:37 +01:00
7f47dce4a6 Absolute url 2020-02-01 16:46:29 +01:00
827083fb29 Add bottin logo 2020-02-01 16:45:22 +01:00
e8ce6e33e5 Something that actually works 2020-02-01 15:09:09 +01:00
da2c37bb95 Better logging 2020-02-01 15:05:44 +01:00
c3bfcdf9a1 Fix password comparison 2020-02-01 11:32:50 +01:00
2f9ad411c7 Fix missing newline after TLS warning 2020-02-01 11:00:09 +01:00
46819a245f Mention docker some more 2020-01-31 22:51:23 +01:00
7962e7b262 Rebrand to Bottin (with Superboum's benediction) 2020-01-31 22:15:40 +01:00
e1f5c31402 More logs 2020-01-28 00:52:30 +01:00
3edaad9317 Use better randomness 2020-01-27 17:01:32 +01:00
e7ded9d6b5 Fix slice bounds 2020-01-27 16:39:08 +01:00
dce432426e Allow for both TLS and non-TLS connections 2020-01-27 16:32:39 +01:00
66c6479770 Implement TLS mechanisms correctly, I hope 2020-01-27 16:08:35 +01:00
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
e9fb34bb26 Add missing LICENSE (gplv2) for imported ldapserver module 2020-01-26 22:31:55 +01:00
1be8b6a3d8 Separate build path for static version 2020-01-26 22:30:05 +01:00
89e432b06c Bump docker tag 2020-01-26 22:26:12 +01:00