Hello everybody,
My company was recently bought by another one and we are migrating all our applications, including Bonita.
For now, we are using the Active Directory authentication for our users with their Windows IDs, also known as sAMAccountName (old userPrincipalName was first letter of firstname + lastname, for e.g. gtarot and equivalent to the sAMAccountName) and we absolutely want it to remain like this.
We are using Bonita 7.3.3, under a jBoss server, which is well configured and working fine.
The main problem is that on our new organization, the userPrincipalName is different from the sAMAccountName (it’s Firstname.LastName)…
So, I want the users to login with their sAMAccountName. In this purpose, I modified the standalone.xml file :
Unfortunately, these settings are not working, I have no exception but the logs indicate :
12:31:18,744 INFO [stdout] (http–10.11.255.26-443-1) [LdapLoginModule
] user provider: ldap://ldapserver:389/ou=Sites,dc=local,dc=domain
12:31:18,763 INFO [stdout] (http–10.11.255.26-443-1) [LdapLoginModule
] searching for entry belonging to user: gtarot
12:31:18,768 INFO [stdout] (http–10.11.255.26-443-1) [LdapLoginModule
] authentication failed
12:31:18,775 INFO [stdout] (http–10.11.255.26-443-1) [LdapLoginModule
] aborted authentication
I’ve also tried other settings, I still have the same error…
Here are my questions :
- Is it possible to use the sAMAccountName instead of userPrincipalName to authenticate to the Bonita portal (I’m pretty sure that it can be done…)?
- If this is possible, how can I do it?
Thank you very much for your answers!
Gaël