I’m facing the challenge to read/write LDIF files for processing directories information using BODI.
Because LDIF is a “multiple line record” format with multi-values, I’ve been thinking to use XML / DTD’s for processing those data but … if for converting from XML to LDAP a more-less simple XSL-T stylesheet can do the job, for reading I need a solution …
Does anyone have any idea of any “successfull” project for convertion of LDAP entries to XML Schema ?
In addition to the commerical ODBC-for-LDAP drivers available, I did remember that if you’re all Windows/SQL Server, you can create a linked server from SQL Server to Active Directory. Then DI should be able to use that?..
EXEC master.dbo.sp_addlinkedserver @server = N'ADSI',
@srvproduct=N'Active Directory Services', @provider=N'ADsDSOObject',
@datasrc=N'adsdatasource'
go
select * from openquery
(
ADSI,'SELECT givenname,sn,mail,ADsPath,cn
FROM ''LDAP://myLDAPserver.mycompany.com''
WHERE objectCategory = ''Person'' AND objectClass = ''user''
')
go
Could create a view on top of the openquery query above. I doubt you could write to it, though; only read.
I just wanted to check if there had been any other developments on this front? Any plans to implement any native Active Directory (or generic LDAP for that matter) access functionality, or should I go ahead and evaluate the third-party stuff and/or try the SQL solution?