GUACAMOLE-807: Merge correct handling of parameter tokens within LDAP.

This commit is contained in:
Virtually Nick
2019-06-07 11:46:09 -04:00
committed by GitHub

View File

@@ -178,7 +178,7 @@ public class ConnectionService {
// Store connection using cn for both identifier and name // Store connection using cn for both identifier and name
String name = cn.getStringValue(); String name = cn.getStringValue();
Connection connection = new SimpleConnection(name, name, config); Connection connection = new SimpleConnection(name, name, config, true);
connection.setParentIdentifier(LDAPAuthenticationProvider.ROOT_CONNECTION_GROUP); connection.setParentIdentifier(LDAPAuthenticationProvider.ROOT_CONNECTION_GROUP);
// Inject LDAP-specific tokens only if LDAP handled user // Inject LDAP-specific tokens only if LDAP handled user