841f6458cd
Prepare moving auth plugins to own modules
...
Signed-off-by: Knut Ahlers <knut@ahlers.me>
2019-04-21 16:58:06 +02:00
e9bff08810
Export errors for usage in plugins
...
Signed-off-by: Knut Ahlers <knut@ahlers.me>
2019-02-22 00:27:02 +01:00
97b284034f
Add plugin support ( #38 )
...
* Extract Authenticator and MFAProvider interfaces
* Implement plugin loading
* Add config example
Signed-off-by: Knut Ahlers <knut@ahlers.me>
2019-02-22 00:10:43 +01:00
3cd5ab380a
Fix: Host already had the port attached
...
This happened when providing a port number in the URI as the `Host`
field still has the port number while the `Hostname()` method only
returns the hostname without the port.
fixes #33
Signed-off-by: Knut Ahlers <knut@ahlers.me>
2019-01-17 23:50:26 +01:00
5d6fa23377
Fix several linter errors
...
Signed-off-by: Knut Ahlers <knut@ahlers.me>
2018-12-29 01:06:12 +01:00
f6d622d1b8
Implement MFA verification for logins ( #10 )
2018-12-24 10:07:49 +01:00
05fe4f2022
Fix TLS dialing ( #16 )
...
* Add configuration for TLS connections
* Take both TLS configurations into account
2018-09-24 11:57:27 +02:00
9b66d15c6a
Allow searching group members by username ( #9 )
...
This change allows to use the specified `username_attribute` in a search for group members. This can especially be useful in case the `uid` is used as the `username_attribute` and also in `member` or `uniqueMember` attribute of groups instead of the DN.
2018-07-26 22:40:46 +02:00
ed630b3edd
Fix: Ensure alias is set correctly when it is a DN
...
Signed-off-by: Knut Ahlers <knut@ahlers.me>
2018-06-18 11:48:44 +02:00
b7038a312e
Add configurable username to LDAP auth
...
closes #4
Signed-off-by: Knut Ahlers <knut@ahlers.me>
2018-06-17 13:50:09 +02:00
Knut Ahlers
115182e445
Add LDAP support ( #3 )
...
* Define configuration for LDAP module
* Implement LDAP auth
* Vendor new dependencies
* Add documentation for LDAP provider
2018-03-15 23:12:09 +01:00