GUACAMOLE-1661: Restore logic to not index records by login if hostname is already defined.
This commit is contained in:
1 parent
e0a9364dde
commit
2b997a9992
1 file changed
+5
-2
+5
-2
@@ -322,8 +322,11 @@ public class KsmClient {
|
||||
if (!confService.getMatchUserRecordsByDomain())
|
||||
domain = null;
|
||||
|
||||
// Store the login by username and domain
|
||||
addRecordForLogin(record, username, domain);
|
||||
// Store based on login ONLY if no hostname (will otherwise
|
||||
// result in ambiguous entries for servers tied to identical
|
||||
// accounts)
|
||||
if (hostname == null)
|
||||
addRecordForLogin(record, username, domain);
|
||||
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user