Commit Graph

198 Commits

Author SHA1 Message Date
Chris F Ravenscroft 53eddd67c9 Local merge 2021-10-20 10:28:36 -07:00
Chris F Ravenscroft c2360259af Internal Stats -- performance view (#221) 2021-10-04 23:31:13 -07:00
Chris F Ravenscroft 7e49d25591 Merge branch 'dev' of github.com:glauth/glauth into dev 2021-09-12 04:46:15 +00:00
Chris F Ravenscroft 7267d7b129 Getting rid of Travis CI now that it doesn't support FOSS anymore. 2021-09-12 04:45:44 +00:00
Chris F Ravenscroft 0e8937c61e Plugins now run on distroless (#217) 2021-09-11 21:34:55 -07:00
Chris F Ravenscroft fd85683ff0 Merge branch 'dev' of github.com:glauth/glauth into dev 2021-09-06 23:37:40 -07:00
Chris F Ravenscroft 2b45aefd74 - Now creating two docker images, including one with plugins
- Moving from Travis CI to GitHub Actions
2021-09-06 23:34:59 -07:00
Chris F Ravenscroft 05c537dabd Docker with plugins, first step (#215)
* Docker with plugins, first step

* Build better docker images, including plugins

* Merge back from dev to feature branch step #2

* Added capabilities to CI
2021-09-06 23:28:30 -07:00
Chris F Ravenscroft 8c8bc06c3b Migration dev... 2021-09-06 21:29:52 -07:00
Chris F Ravenscroft fed91e4aef Migration dev... 2021-09-06 21:24:29 -07:00
Chris F Ravenscroft 7be05404e1 Migration dev... 2021-09-06 21:07:03 -07:00
Chris F Ravenscroft af9062f1a1 Migration dev... 2021-09-06 21:05:16 -07:00
Chris F Ravenscroft aed137909a Migration Step#9 2021-09-06 21:00:45 -07:00
Chris F Ravenscroft 846f0509d6 Migration Step#9 2021-09-06 20:54:26 -07:00
Chris F Ravenscroft 06afbdcee5 Migration Step#8 2021-09-06 20:52:26 -07:00
Chris F Ravenscroft 2e0f7f7335 Migration Step#7 2021-09-06 20:50:15 -07:00
Chris F Ravenscroft b07cd1f256 Migration Step#6 2021-09-06 19:03:22 -07:00
Chris F Ravenscroft 2ccb8ce02e Migration Step#5 2021-09-06 18:57:27 -07:00
Chris F Ravenscroft 5dfbbb2f4b Migration Step#4 2021-09-06 18:31:30 -07:00
Chris F Ravenscroft 3a30656c18 Migration Step#3 2021-09-06 18:29:48 -07:00
Chris F Ravenscroft 3f53bb983a Migration Step#2 2021-09-06 18:24:21 -07:00
Chris F Ravenscroft 3b7a548389 Attempting migration from Travis to Github Actions 2021-09-06 18:22:58 -07:00
Chris F Ravenscroft 0ec6f15957 Capabilities -- part 2 (#214) + do not dump config at startup 2021-09-05 20:54:47 -07:00
Chris F Ravenscroft 8223029345 Rate limit after failed binds (#207) 2021-08-12 12:59:14 -07:00
Chris F Ravenscroft 7c7934aea3 Support for userPrincipalName binding and browsing. (#206)
* Support for userPrincipalName binding and browsing.

* Fixed travis CI test for userprincipalname

* fixing travis tests for more users
2021-08-11 18:12:45 -07:00
Chris F Ravenscroft 9c9294485b Allow bind operations with no group provided (#205) 2021-08-11 15:45:30 -07:00
Chris F Ravenscroft 4cf38893ac Introducing goconvey testing and refactoring of config and ... (#204)
* Introducing goconvey testing and refactoring of config and plugin backends.

* gofmt, oops

* Refactored re-insertion of requested attributes
2021-08-10 20:48:14 -07:00
Chris F Ravenscroft 674a6bdbf4 Returning when unable to start config watcher (#203) 2021-08-08 17:31:06 -07:00
fanlix 7b082dccb8 fix: keep watch config file when changed,renamed,removed (#189)
I will need to run `glauth.go` through `gofmt` myself but that is fine.
2021-08-02 17:23:41 -07:00
Chris F Ravenscroft 10b0191818 Variable "unixid" is now respectively "UIDNumber" and "GIDNumber" for… (#201) 2021-08-02 17:20:42 -07:00
Jörn Friedrich Dreyer 53ddd3c4f4 the config struct is only needed by the config backend (#199) 2021-07-29 14:50:47 -07:00
Jörn Friedrich Dreyer 2065fc39f4 fix lock for ownCloud / graph backend (#198)
Signed-off-by: Jörn Friedrich Dreyer <jfd@butonic.de>
2021-07-29 20:58:42 +02:00
Chris F Ravenscroft e2724eadc2 Fixed badges in README file and added a couple improvements (#196) 2021-07-25 22:09:45 -07:00
Chris F Ravenscroft 9c197cc35e Stronger, salted paswords using bcrypt. (#195) 2021-07-25 17:00:20 -07:00
Chris F Ravenscroft 25a1648706 Feature/upgrade ldap library version (#194) 2021-07-25 13:01:31 -07:00
Chris F Ravenscroft cbb84b8641 Mac M1 Support and LDAP Req Attributes (#192)
* Mac M1 Support

* Augmented root DSS and schema discovery based on content of schema directory

* LDAP workaround where req. attribute gets injected in response now works with combined filters

* SubSchema query can return a minimal set, freeipa or openldap's schemas
2021-07-25 00:36:18 -07:00
Chris F Ravenscroft 2eb2215ae4 Database plugins (#133)
This commit actually covers a few items. In future commits, I will keep features distinct. This is only happening this time around due to how long it took to merge this branch.

Covered:

- Database plugins (at this time: SQLite, MySQL, Postgres)
- Backends acting as middleware: added the [[Backends]] configuration directive while retaining backward compatibility with [Backend]
- Schema introspection (root DSE query with base scope)
- When proxying, insert queried attribute back in upstream response, if absent, so that the LDAP library does not filter out all entries
- When chaining backends, any backend can be used to inject OTP value in password, before reaching a non-OTP-aware backend (currently guarded by a True statement in case we find an issue (I did thoroughly test but you never know))
- Handling of special "1.1" attributes filter meaning "I do not want attributes" (RFC 4511, 4.5.1.8)
- Support for "want types only" queries, even when proxying
2021-07-17 11:45:36 -07:00
Jörn Friedrich Dreyer 225f1b441b Merge branch 'master' into dev 2021-02-27 21:19:34 +01:00
Ben Yanke 5681dc4d02 Remove byanke's donation fields 2021-02-27 07:51:46 -06:00
Ben Yanke bf5ddba2be Remove byanke's donation fields 2021-02-27 07:50:23 -06:00
Jörn Friedrich Dreyer fcf784ecf0 update readme, config and deps (#170)
Signed-off-by: Jörn Friedrich Dreyer <jfd@butonic.de>
2021-02-25 21:42:50 +01:00
Peter Heise 07763f52e6 Assets build fix. (#171)
* Docker build fix.

* Makefile fix.
2021-02-24 19:29:07 +01:00
Márk Sági-Kazár 262465d63b feat: add flags for ldap listen addresses (#169)
Signed-off-by: Mark Sagi-Kazar <mark.sagikazar@gmail.com>
2021-02-16 19:31:08 +01:00
Lutz Horn f28f1a115b Use port 3893 with ldapsearch in example (#150) 2021-02-11 21:37:47 +01:00
Clement JACOB f4ceb0c3d4 Update README.md (#167)
Fixing bad port in quickstart
2021-01-14 18:52:16 +01:00
Thibault Soubiran 9fb9c87625 Fix API server json formating (#163) (#164) 2021-01-11 13:15:06 +01:00
Nicolai Willems faed82ad44 Allow using configmaps when deploying in kubernetes (#161)
* Ensure config watcher also works in kubernetes

When using configmaps in kubernetes, the file is a symlink, and then
file-watcher is not opdated with a write event. Instead it receives a
CHMOD and a REMOVE event.

This change adds two things
1) Removal of the current wacther and adding of a new watcher for the
same path
2) The do-reload conditional is updated to also include the remove
event.

* Align write and removed conditionals
2020-12-08 22:27:37 +01:00
Benedikt Kulmann fd3ac7e4bb Reuse http client as much as possible and allow insecure transport (#160) 2020-11-10 13:46:27 +01:00
Jörn Friedrich Dreyer 4f029234b2 don't mix graph and provisioning api (#157)
Signed-off-by: Jörn Friedrich Dreyer <jfd@butonic.de>
2020-10-30 14:08:13 +01:00
Jairo Llopis d6ba7d0cbc Bulid and push multiarch docker images (#142)
Fix #141.

With this change, a github action is added that builds a multiarch docker image on every commit, supporting x86_64, aarch64 and arm/v7.

When the action is triggered on a release or tag, it also uploads the versioned image to github container image registry.

Co-authored-by: Jörn Friedrich Dreyer <jfd@butonic.de>
2020-10-05 23:24:13 +02:00