From 93e51c92963e6b3b1076ab430529ef2fb772b8f0 Mon Sep 17 00:00:00 2001 From: Christopher Schultz Date: Wed, 9 Sep 2026 11:13:50 -0400 Subject: [PATCH] Use the correct username when creating a new user This fixes #8 Signed-off-by: Christopher Schultz --- .../engine/plugins/auth/ldap/LDAPAuthenticatorPlugin.java | 1 + 1 file changed, 1 insertion(+) diff --git a/src/main/java/org/openintegrationengine/engine/plugins/auth/ldap/LDAPAuthenticatorPlugin.java b/src/main/java/org/openintegrationengine/engine/plugins/auth/ldap/LDAPAuthenticatorPlugin.java index 721341b..6e952fc 100644 --- a/src/main/java/org/openintegrationengine/engine/plugins/auth/ldap/LDAPAuthenticatorPlugin.java +++ b/src/main/java/org/openintegrationengine/engine/plugins/auth/ldap/LDAPAuthenticatorPlugin.java @@ -454,6 +454,7 @@ public LoginStatus authorizeUser(String username, String plainPassword) throws C logger.debug("Must create new local user for '" + username + "'"); } + ldapUser.setUsername(username); // Use unmapped username uc.updateUser(ldapUser); }