Added auth module combining http authentication and AD authorization #3531

Merged
merged 3 commits into from May 26, 2016

Projects

None yet

4 participants

@wiad
Contributor
wiad commented May 18, 2016

Solves librenms/librenms#3530

This is heavily copy/pasted from the 'ldap-authorization' and 'active_directory' auth modules.

This introduces a couple of new config options to do ldap_bind:

$config['auth_ad_binduser']
$config['auth_ad_bindpassword']

If not supplied, the module will attempt to do anonymous bind.
Otherwise the configuration is the same as with the 'active_directory' module. Additionally it uses the same config option as the 'ldap-authorization' module for cache TTL ($config['auth_ldap_cache_ttl']).

Adam Winberg Added authentication module combining http authentication and Active …
…Directory authorization
1d2a497
@f0o
Member
f0o commented May 20, 2016

Can you add some docs on how to setup the module?

Adam Winberg added some commits May 20, 2016
Adam Winberg Added documentation 1a297b8
Adam Winberg Merge branch 'master' of https://github.com:/wiad/librenms into issue…
…-3530
81e263c
@laf laf merged commit 2a1ae6a into librenms:master May 26, 2016

2 checks passed

Auto-Deploy Build finished. No test results found.
Details
continuous-integration/travis-ci/pr The Travis CI build passed
Details
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment