cb3
15 April 2019 11:43
#1
When asking for help and support, please provide as much information as possible. This should include:
Steps to reproduce an issue.
The output of ./validate.php
====================================
Component
Version
LibreNMS
1.50
DB Schema
2019_02_10_220000_add_dates_to_fdb (132)
PHP
7.2.15-0ubuntu0.18.04.2
MySQL
10.1.38-MariaDB-0ubuntu0.18.04.1
RRDTool
1.7.0
SNMP
NET-SNMP 5.7.3
====================================
[OK] Composer Version: 1.8.5
[OK] Dependencies up-to-date.
[OK] Database connection successful
[OK] Database schema correct
I’ve just gotten Active Directory Authentication setup and it’s working with First Name Last Name, but I’d really like to use my email address as the username. Is this possible? I tried playing with the filters, but that doesn’t seem to work. It looks like username defaults to sAMAccountname but there is no way to adjust this. Is this a correct understanding? Thanks.
The current code does not allow that. I’ve experimented with adding support for an AD library for more robust AD authentication.
cb3
15 April 2019 17:58
#3
I would love this as a feature, should I open a issue on Github?
Nope, but you could test this (there is no documentation and I only lightly tested it so far)
librenms:master
← murrant:adldap
opened 04:23AM - 12 Apr 19 UTC
Externally maintained aldap2-laravel authentication is much more robust and powe… rful.
Needs docs: install adldap2-laravel, groups require dn now
DO NOT DELETE THIS TEXT
#### Please note
> Please read this information carefully. You can run `./scripts/pre-commit.php` to check your code before submitting.
- [x] Have you followed our [code guidelines?](http://docs.librenms.org/Developing/Code-Guidelines/)
#### Testers
If you would like to test this pull request then please run: `./scripts/github-apply <pr_id>`, i.e `./scripts/github-apply 5926`
After you are done testing, you can remove the changes with `./scripts/github-remove`. If there are schema changes, you can ask on discord how to revert.
1 Like