Active Directory authentication with a email address

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.

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)

1 Like