![]() |
VOOZH | about |
This article illustrates using the LDAP ADO.NET Data Provider within a SQL Server SSIS workflow for the direct transfer of LDAP objects to a Microsoft SQL Server database. It's worth noting that the identical process detailed below is applicable to any CData ADO.NET Data Providers, enabling the direct connection of SQL Server with remote data through SSIS.
In the Data Flow screen, add an ADO.NET Source and an OLE DB Destination from the toolbox.
๐ The components used in the data task in this example.In the connection manager, enter the connection details for LDAP objects.
To establish a connection, the following properties under the Authentication section must be provided:
BaseDN: This will limit the scope of LDAP searches to the height of the distinguished name provided.
Note: Specifying a narrow BaseDN may greatly increase performance; for example, cn=users,dc=domain will only return results contained within cn=users and its children.
Open the DataReader editor and set the following information:
SELECT Id, LogonCount FROM User
Open the OLE DB Destination and enter the following information in the Destination Component Editor.
Configure any properties you wish on the Mappings screen.
๐ Input and destination columns in the OLE DB Destination Editor.Download a free trial of the LDAP Data Provider to get started:
Download NowLearn more:
๐ LDAP IconRapidly create and deploy powerful .NET applications that integrate with LDAP directory services!