Feature request: AD auth - userPrincipalName

In the current active_directory.inc.php, there seems to be only support for sAMAccountName, would it be possible to also add userPrincipalName? This could be selected in the config with an option such as:

$config[‘auth_ad_uid’] = “userPrincipalName”;
or
$config[‘auth_ad_uid’] = “SAMAccountName”;

https://github.com/librenms/librenms/issues/4281

1 Like

Still trying to figure this one out. Has anyone figured it out yet?