@kbmerkur
No, LDAP should create the Agent/User in osTicket and should provide the email, name, phone, etc. Make sure you did not change your LDAP variables, for example, don't change email
to something else otherwise the system will not add the email to the account in osTicket.
Furthermore, is "session_regenerate_id()" also related to this problem, or is it something else entirely?
Honestly, I have no idea what the context of this is so I'm not sure what you're talking about.
Cheers.