[Mono-list] ADO.NET in Mono & Active Directory

A Rafael D Teixeira rafael.teixeirabr@terra.com.br
Mon, 11 Apr 2005 18:34:49 -0300


Hi Dennis, see comments inline:

On Mon, 2005-04-11 at 11:15 +0200, Denis Schnepf wrote:
> Hello,
> 
> I'm currently working on a project aimed at managing Active Directory 
> users from a linux server.

:(

> Active Directory servers can be accessed using ADO (apparently, with the 
> OLE DB Provider), so my question is : has anyone tried to use ADO.NET 
> with Active Directory and does it work?

This can probably be done in Windows, but with MS.NET in Windows,
because:

1) We don't have OLE DB in Linux (Mono nevertheless implements the OLEDB
provider but using gda that is a quite different infrastructure).
2) Active Directory uses a proprietary and under-documented protocol, so
AFAIK nobody in Mono is currently trying to is taking a dependency on
Samba to try to figure out how to work with it, and write an specific
provider for gda or better an specific managed provider for ADO.NET.

But hope is not lost:

Active Directory is known to inter-operate with other systems via LDAP,
so if this inter-operation encompass the administration chores (what I
guess most of it doesn't), you can use the LDAP libraries from Mono to
try your hand. 

I wish you good luck,
-- 
Rafael "Monoman" Teixeira 
Mono Hacker since 16 Jul 2001 - http://www.mono-project.com/
Mono Brasil Founding Member - http://monobrasil.softwarelivre.org/
English Blog: http://monoblog.blogspot.com/
Brazilian Portuguese Blog: http://www.simios.org/blog/monoman