By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
449,155 Members | 1,046 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 449,155 IT Pros & Developers. It's quick & easy.

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

P: n/a
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
je**@vaneskahian.com
--
---------------------------
Jean-Marie Vaneskahian
je**@vaneskahian.com
---------------------------
Jun 9 '06 #1
Share this Question
Share on Google+
2 Replies


P: n/a
Hi,

Check out the classes in the directory services namespace.

http://msdn.microsoft.com/library/de...ryservices.asp

Here is a link to a simple example on listing the computers in an active
directory

http://www.vb-tips.com/default.aspx?...3-9c76953e41cf

Ken
------------------------
"Jean-Marie Vaneskahian" wrote:
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
je**@vaneskahian.com
--
---------------------------
Jean-Marie Vaneskahian
je**@vaneskahian.com
---------------------------

Jun 9 '06 #2

P: n/a
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
je**@vaneskahian.com
Ken wrote:
Hi,

Check out the classes in the directory services namespace.

http://msdn.microsoft.com/library/de...ryservices.asp

Here is a link to a simple example on listing the computers in an active
directory

http://www.vb-tips.com/default.aspx?...3-9c76953e41cf

Ken
------------------------
"Jean-Marie Vaneskahian" wrote:
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
je**@vaneskahian.com
--
---------------------------
Jean-Marie Vaneskahian
je**@vaneskahian.com
---------------------------


Jun 9 '06 #3

This discussion thread is closed

Replies have been disabled for this discussion.