Reading - Parsing Records From An LDAP LDIF File In .Net?

  • Thread starter Thread starter Jean-Marie Vaneskahian
  • Start date Start date
J

Jean-Marie Vaneskahian

Reading - Parsing Records From An LDAP LDIF File In .Net?

I am in need of a .Net class that will allow for the parsing of a LDAP
LDIF file. An LDIF file is the standard format for representing LDAP
objects. I need to be able to read the records from an LDIF file into
..Net.

There exists a Perl module that will do exactly this called
Net::LDAP::LDIF but I am wanting to port my code over to .Net and
cannot find anything with similar LDIF functionality. I would like to
avoid having to write my own .Net class to read the LDIF file and
create record objects. I am sure I am not that only person that needs
to do this that is using .Net.

Does there exist a .Net class that will read LDIF files? Is there a
third party .Net class that can be purchased that can read an LDIF
file?

Any help would be appreciated,
Jean-Marie Vaneskahian
(e-mail address removed)
 
Ken,

I guess I am not getting what you are telling me. I am VERY familiar
with the System.DirectoryServices Namespace. That namespace has no
methods for interacting with an LDIF file that I know of. What am I
missing? My problem is reading LDIF file into LDAP Enrty records, not
Reading entries from an actual LDAP server (if that were the case, then
you are correct, the System.DirectoryServices would be ideal).

Please let me know if I missed something.

Thanks for any help,
Jean-Marie Vaneskahian
(e-mail address removed)
 
Back
Top