mirror of
https://github.com/gyurix1968/guacamole-client.git
synced 2025-09-06 13:17:41 +00:00
GUACAMOLE-1661: Restore logic to not index records by login if hostname is already defined.
This commit is contained in:
@@ -322,8 +322,11 @@ public class KsmClient {
|
|||||||
if (!confService.getMatchUserRecordsByDomain())
|
if (!confService.getMatchUserRecordsByDomain())
|
||||||
domain = null;
|
domain = null;
|
||||||
|
|
||||||
// Store the login by username and domain
|
// Store based on login ONLY if no hostname (will otherwise
|
||||||
addRecordForLogin(record, username, domain);
|
// result in ambiguous entries for servers tied to identical
|
||||||
|
// accounts)
|
||||||
|
if (hostname == null)
|
||||||
|
addRecordForLogin(record, username, domain);
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user