Version Info:
phabricator 9a52492f1b2c0449410d8935d35fb71ed562e9a3 (Fri, Aug 26)
arcanist 9e82ef979e8148c43b9b8439025d505b1219e213 (Thu, Aug 25)
phutil 5fd1af8b4f2b9631e2ceb06bd88d21f2416123c2 (Thu, Aug 25)
Reproduction steps:
Click "Import From LDAP" in USER ADMINISTRATOR.
Fill in the required fields with valid credentials and LDAP query "objectClass=inetOrgPerson".
Click "Search" to let Phabricator list available users.
Mark column "Import?" checkbox in corresponding rows checked
Click Import button to import users
Expected result:
All selected users should be imported and can be viewed in Approval Queue
Actual result:
Phabricator tells me that Email addresses should be in the form 'user@domain.com'.
In fact, the import fails because my users have email address with 163.com suffix or their username contains underscore, if I change suffix to domains with letters and remove all underscores, import succeeds.
Email address like mike@163.com or huang_123@163.com are valid and should not be rejected during LDAP import.