mirror of
https://github.com/gyurix1968/guacamole-client.git
synced 2025-09-06 13:17:41 +00:00
GUAC-1115: Warn if we need to directly derive the user DN, but can't because multiple username attributes were provided.
This commit is contained in:
@@ -97,8 +97,10 @@ public class AuthenticationProviderService {
|
||||
List<String> usernameAttributes = confService.getUsernameAttributes();
|
||||
|
||||
// We need exactly one base DN to derive the user DN
|
||||
if (usernameAttributes.size() != 1)
|
||||
if (usernameAttributes.size() != 1) {
|
||||
logger.warn("Cannot directly derive user DN when multiple username attributes are specified");
|
||||
return null;
|
||||
}
|
||||
|
||||
// Derive user DN from base DN
|
||||
return
|
||||
|
Reference in New Issue
Block a user