osTicket version: v184.108.40.206
The auto-fill functionality (the automatic filling in of E-mail, Full Name, Phone Number, etc) of the 'Lookup or create a user' dialog that appears when creating a 'New Ticket' does not appear to work for users that have a comma in the CN
For example, this user's info will not auto-fill:
CN=Doe\, John - jdoe,OU=Users,OU=HRM,OU=Departments,DC=mycompany,DC=com
Typing 'john' as a search term, the name and e-mail address will appear, however selecting the name does not transfer data to the fields
Alternatively this user does work (no comma in the CN):
Watching the AJAX request for John Doe, I can see:http://mycompany.com/osticket/scp/ajax.php/users/select/auth:ldap:CN=Doe\, John - jdoe,OU=Users,OU=HRM,OU=Departments,DC=mycompany,DC=com
With a response of: 'User not found'
The string does appear to carry the proper escaping \
I was able to reproduce this in both a production AD environment and a fresh AD set up for testing
I extracted the PHAR and looked at the Net_LDAP2's ldap_explode_dn() function-- and don't see anything glaringly wrong with the preg's
Do you know what else in the phar might be causing the issue?