I’‘m attempting to do the same thing (I think), and it’'s not easy.
I want my JID to be the same as my email (firstname.lastname@example.org). However, if I tell Openfire to map it to the ‘‘mail’’ attribute in AD then my JID becomes email@example.com@server.example.com. That’'s not a valid JID as it cannot legally contain 2 @ signs.
So, the fix would be to:
Set the server name to be the same as my email suffix (to example.com), which would make my JID firstname.lastname@example.org@example.com
Use an AD attribute which contains only the prefix of my email address (i.e. darren), therefore my JID would be attribute & server name, which would be email@example.com
The next trick is figuring out that there actually isn’‘t an attribute containing just the first part of my email address. So, before I gave up, I was going to use Microsoft’'s Metadirectory product (which we actually use anyway) to do the processing and attribute updates that are necessary.
I then realised that this may not work with the upcoming SSO capability, so decided to wait to see if I could get Spark 2.5.3 working with SSO (and eventually with my JID being my email address).
edited to say: I also forgot to mention that I believe Openfire will delimit the first @ symbol so you will be able to login but will need /% or whatever it replaces @ with.
Message was edited by: DeeJay