* Add config options for customizing group and nate attribute prefixes and name of ssh-key output
* Rename nameattr and groupattr to respectively nameformat and groupformat
* Messed up setting up default values on merge for ldap and ldaps section
* Fix good-results after 'via LDAP' suffix was removed from gecos and description
* Added uid for good-results aswell
* Revert "Added uid for good-results aswell"
This reverts commit 21b86d2570.
* Adjust tests
* order of cn and uid should be same for both posixaccount and posixgroup to pass tests
App passwords can now be used to allow easier OTP use alongside applications which need to bind with a static password. Use the key `passappsha256` and specify an array of password hashes. See the readme and sample configuration file for more information.
Fixes#54
Includes a number of fixes and improvements:
- Add 2 factor auth (thanks @ryskov)
- Dockerfile imporvements
- Removing repo cruft
- Improving travis builds and integration tests
- Fixing broken amazon s3 packages (thanks @ryskov)
- Vastly improved version string - now autogenerates based on git status in the repo at the time of build
- Starting on travis builds for releases (currently built on my workstation)
- Starting framework for unit tests
- Add codecov to CI
Merging in feature from @ryskov (PR #24) adding 2FA support during LDAP binds. This is accomplished by concatenating the code to the end of the password.
Also added integration tests for the TOTP method to run in CI. Could not, however, add automated tests for the yubikey, due the physical nature.
Fixes a few minor issues:
#42 - now uses the makefile in the docker build, which means version info is correctly embedded at runtime - also now outputs version data at the top of the log when the container starts
Fixing a simple issue found by go vet. Need to do more work on fixing issues found in go vet.
This includes an integration test which runs glauth and compares ldapsearch snapshot output stored in the repo compared to the snapshot output of the glauth.
Additionally, removing old versions of go, and adding windows and linuxar builds (but not tests) to the makefile, and consequently, the travis build.
While the mac, linux-arm, and windows binaries are not able to be run in travis, they are able to be at least compiled.
Merging in:
* fixes to amazon s3 packages
* dockerfiles (build was previously not yet working)
* adding version number to bin so `glauth --version` reports correctly
* Some Travis CI tweaks