Difference between revisions of "Python Sync AD with MySQL DB"

From Michael's Information Zone
Jump to navigation Jump to search
(Created page with "==Purpose== To dip my toes into Python.<br><br> My intern is syncing a local MySQL database with an external payroll API. Great, but now I need this information synced with A...")
 
Line 8: Line 8:
 
Running this on Amazon Linux 2
 
Running this on Amazon Linux 2
 
<pre>
 
<pre>
sudo pip3 install ldap3
+
sudo pip3 install ldap3 ldap-filter
  
 
</pre>
 
</pre>

Revision as of 08:21, 30 January 2020

Purpose

To dip my toes into Python.

My intern is syncing a local MySQL database with an external payroll API. Great, but now I need this information synced with AD.

LDAP

[1] Running this on Amazon Linux 2

sudo pip3 install ldap3 ldap-filter

MySQL

sudo pip3 install mysql-connector-python