LDAP, usernameField and multiple attributes

Hi there,

I’'m setting up a Jabber server for a major Free Software project, and really enjoying Wildfire. Not wildly familiar with Java servers, but getting along okay so far.

I am currently using a fairly standard LDAP configuration:

But I wonder if it’‘s possible to use the mail attribute as the usernameField, allowing our users to choose the mail alias they prefer as their JID. I can imagine this being problematic if not explicitly handled in the LDAP backend: Could the user log in with every JID? Could they log in with every JID at the same time? Will other users see them online if their subscribed JID and the logged in JID don’‘t match (will Wildfire always resolve the correct JID, given it’'s the same LDAP user record)? … and so on.