Import New Users using LDAP

This article applies to recent versions of SmarterMail. View articles for SmarterMail 15.x and earlier.

Domain administrators can add new SmarterMail users from the active directory using the LDAP protocol. This feature can be used to save time and is very useful when importing multiple users from an already existing LDAP database such as active directory.

NOTE: This feature needs to be enabled for the domain before it can be configured on domains. Furthermore, LDAP integration will only function if SmarterMail is on the same domain as the LDAP server you are trying to connect to. For instructions on how to enable LDAP, please refer to the KB article Enable LDAP for Domains.

Follow these steps to import new users using LDAP:

  1. Log into SmarterMail as the domain administrator.
  2. Click on the Domain Settings icon.
  3. When the domain settings load, click on Accounts from the tree menu. All existing accounts will load in the content pane.
  4. Click the Actions (...) button.
  5. From the dropdown menu, click Import from LDAP. A modal will appear.
  6. Input the location of your active directory users via the LDAP binding string. An example LDAP string might look like this: LDAP://testdomain.local/CN=Users,OU=Company,DC=testdomain,DC=local
  7. If you want to use the LDAP email address as the username for the imported accounts, turn that toggle ON.
  8. Click List Users.
  9. Select the users you wish to import into the domain. NOTE: If any users, aliases or mailing lists already exist in SmarterMail they will not show up in the LDAP list.
  10. Click Import to begin the import process.
 
Learn more about using SmarterMail for your email accounts and company-wide instant messenger.

Feedback

if both user accounts are found in LDAP and Smartermail, can we sync their passwords? Which one will take into effect? the Smartermail side, or the active directory side?
BIS Techies (Rebecca and Family) (12/8/2015 at 2:08 AM)
Hi Rebecca! In this scenario, SmarterMail creates the user as an Active Directory authenticated user. No password is pulled. It will instead try to authenticate against the domain using kerberos authentication.
Andrea Rogers (12/9/2015 at 9:22 AM)
This doesn't seem to work.
John Stone (11/2/2018 at 3:52 PM)
Hi John. Can you provide more information on what you're experiencing? Does your LDAP binding string not validate? Do you click Import and no users are added? If necessary, I can help you contact the Support Department for their review.
Andrea Rogers (11/8/2018 at 8:25 AM)
Are there any way to have a scheduled sync so there is no need to add users manually via LDAP?
Gyver Chang (10/11/2019 at 10:48 AM)
The sync is generally one way - and there's no way within SmarterTrack to schedule syncing AD users to SmarterMail. However, you could probably script something that runs on user creation in Active Directory that calls a script using the SmarterMail API to create the user...Since there isn't any password exchange, you're basically just creating a user in SmarterMail that uses AD authentication, it should be fairly easy.
Derek Curtis (10/14/2019 at 2:55 PM)