@@ -246,13 +249,27 @@ export const LdapSettingsConnection = ({
/>
}
fieldId="kc-console-bind-dn"
+ isRequired
>
+ {form.errors.config &&
+ form.errors.config.bindDn &&
+ form.errors.config.bindDn[0] && (
+
+ {form.errors.config.bindDn[0].message}
+
+ )}
{
const { t } = useTranslation("user-federation");
const helpText = useTranslation("user-federation-help").t;
+ const { realm } = useRealm();
const [isVendorDropdownOpen, setIsVendorDropdownOpen] = useState(false);
@@ -54,8 +57,25 @@ export const LdapSettingsGeneral = ({
+
+
-
-
-
{form.errors.name && (
{form.errors.name.message}
@@ -123,6 +123,7 @@ export const LdapSettingsGeneral = ({
}}
selections={value}
variant={SelectVariant.single}
+ // data-testid="ldap-vendor"
>
Active Directory
diff --git a/src/user-federation/ldap/LdapSettingsKerberosIntegration.tsx b/src/user-federation/ldap/LdapSettingsKerberosIntegration.tsx
index 0595a96f51..42c16347f7 100644
--- a/src/user-federation/ldap/LdapSettingsKerberosIntegration.tsx
+++ b/src/user-federation/ldap/LdapSettingsKerberosIntegration.tsx
@@ -45,7 +45,7 @@ export const LdapSettingsKerberosIntegration = ({
>
(
(
+ {form.errors.config &&
+ form.errors.config.customUserSearchFilter &&
+ form.errors.config.customUserSearchFilter[0] && (
+
+ {form.errors.config.customUserSearchFilter[0].message}
+
+ )}
(
(
@@ -156,7 +156,7 @@ export const SettingsCache = ({
control={form.control}
render={({ onChange, value }) => (
) : (