diff --git a/backend/src/ee/services/ldap-config/ldap-config-service.ts b/backend/src/ee/services/ldap-config/ldap-config-service.ts index 79adf3a9b..9ce0c6bfd 100644 --- a/backend/src/ee/services/ldap-config/ldap-config-service.ts +++ b/backend/src/ee/services/ldap-config/ldap-config-service.ts @@ -141,7 +141,7 @@ export const ldapConfigServiceFactory = ({ if (!isConnected) { throw new BadRequestError({ - message: "Failed to create LDAP configuration due to invalid credentials." + message: "Failed to establish connection to LDAP directory. Please verify that your credentials are correct." }); } @@ -269,7 +269,8 @@ export const ldapConfigServiceFactory = ({ const isConnected = await testLDAPConfig(decryptedLdapCfg); if (!isConnected) { throw new BadRequestError({ - message: "Failed to update LDAP configuration due to invalid credentials." + message: + "Failed to establish connection to LDAP directory. Please verify that your credentials are correct." }); } }