I recently worked on a project where I had to get data from our Identity and Access Management Server using LDAP and I did not know where to start. Therefore, I have created this use case for future refernce and use case reminder.
Active Directories that I had to query through used LDAP servers. We needed to get the list of users along with their id and email. For that we created a python script. The major aspects are listed below.