Skip to main content

LevelBlue Named Official Cybersecurity Advisor of the PGA of America. Learn more

LevelBlue Named Official Cybersecurity Advisor of the PGA of America. Learn more

Services
Cyber Advisory
Managed Cloud Security
Data Security
Managed Detection & Response
Email Security
Managed Network Infrastructure Security
Exposure Management
Security Operations Platforms
Incident Readiness & Response
SpiderLabs Threat Intelligence
Solutions
BY TOPIC
Offensive Security
Solutions to maximize your security ROI
Operational Technology
End-to-end OT security
Microsoft
Unlock the full power of Microsoft Security
Securing the IoT Landscape
Test, monitor and secure network objects
Why LevelBlue
About Us
Awards and Accolades
LevelBlue SpiderLabs
PGA of America Partnership
Secure What's Next
LevelBlue Security Operations Platforms
Security Colony
Partners
Microsoft
Unlock the full power of Microsoft Security
Technology Alliance Partners
Key alliances who align and support our ecosystem of security offerings
Loading...
Loading...

HOWTO: Retrieving all email addresses from LDAP

Expand / Collapse


This article applies to:

  • MailMarshal (SEG) 
  • MailMarshal ECM/MailMarshal Exchange 7.X
  • MailMarshal SPE Connector Agent

Question:

  • How can I get a full list of every email address in a LDAP directory?
  • Scraping the LDAP directory
  • Need to list all email addresses in the company for DHA
  • Want to use the "scrape" method to search for all addresses

Procedure:

The following tips can be useful if you want to get a list of all email addresses in a LDAP directory when you are using a Connector or the Connector Agent.

  • You can set up the LDAP connection to "scrape" all addresses in any group you retrieve from the directory.
    1. In the LDAP Connection properties window > LDAP server tab, click Advanced.
      • For MailMarshal (SEG) 10.0 and above, simply edit the connector to see the User Attributes tab.
      • For Connector Agent, select a Connector > Server Info tab, and then click Advanced.
    2. On the User Attributes tab of the Advanced LDAP properties window, in the User Class Names field enter top
  • You can create a user group that includes all items in a container.
    1. In the New User Group wizard, choose to import groups from a LDAP connection.
    2. Click Browse and select any group.
    3. On the Import LDAP User Groups page, replace the group name. Type the name of a container, preceded by *.
      • For instance, to retrieve all email addresses from the example.com domain, enter *,DC=Example,DC=Com

When you set up the connector and group as above, every email address in every attribute of each item in the group is retrieved.


To contact LevelBlue about this article or to request support:


Rate this Article:
     
Tags:

Add Your Comments


Comment submission is disabled for anonymous users.
Please send feedback to Trustwave Technical Support or the Webmaster
.