Mantis Bug Tracker

View Issue Details Jump to Notes ] Issue History ] Print ]
IDProjectCategoryView StatusDate SubmittedLast Update
0000090Active Directory IntegrationBulk Importpublic2015-12-16 18:132015-12-16 18:13
Assigned To 
PlatformWordPressOSWordPressOS Version4.4
Product Version1.1.8 
Target VersionFixed in Version 
Summary0000090: User emails are not importing wtih muliple domains

This plugin works great, but we found that in case you have several email domains, emails are not imported if are other than default.
For example, you have a domain mantis.local, primary email address for your users is

You also have domains, and

User whose primary email is will be imported with email

User whose primary email is will be imported, but instead of his email, mantis.local will be a suffix for his email.

The same applies to, and

while users will be able to authenticate with their AD credentials, email will not be added to their WordPress user.

1. If I add default email under user settings - Account suffix, users will be able to authenticate via AD, but only users who have email. Users who don't have a email will have to enter (instead of username). Users who have email will be able to login without

2. If I add @mantis.local under account suffix, all users will be able to log in, but only users who have default email will get email added to their wordpress profile. Users with email won't get email assigned.

User numberone who has email will be created as his email will be

User numbertwo who has email, will be created as two users:
one user will be while the second user will be created as soon as he logs in,
in that case AD plugin will create a new user with a username
numbertwo, it will also add an email to the user but it will not add name and surname.

So you will have two users.
If you use a program that is used to send emails based on username and name, it will only map username, but it will miss a name, surname and email.

I hope there will be a way to get a correct user name from AD
Steps To ReproduceCreate a user whose email in AD is other than default email. Import AD users, check user whose email is different.

Then Log in with this user and check users in WordPress.
You will see two users.
One which is authenticating with AD, without name and a surname and second with correct name and surname, correct email, but wrong username:
instead username it will be populated as

Correct way would be to create only one user, with username and correct email.
TagsNo tags attached.
Attached Files

- Relationships

-  Notes
There are no notes attached to this issue.

- Issue History
Date Modified Username Field Change
2015-12-16 18:13 wpmaad New Issue

Copyright © 2000 - 2010 MantisBT Group
Powered by Mantis Bugtracker