473,398 Members | 2,812 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,398 software developers and data experts.

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

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
2 3551
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
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 thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

0
by: Thibault Roche | last post by:
Hello I have a problem with the use of ldap with php. I have an interface which is used to create users in a ldap directory. Adding users work fine, but I can't set correctly the userpassword...
0
by: Loren | last post by:
I Have an August 1st deadline to convert an XML file to an LDIF/LDAP File. Some one told me that i should use java. Can anyone help Please?! I have never programed in java before.
0
by: Loren | last post by:
I Have an August 1st deadline to convert an XML file to an LDIF/LDAP File. Some one told me that i should use perl. Can anyone help Please?! I have never programed in perl before.
4
by: Studio P.M. | last post by:
Assuming that I need to know programmatically (VS C#) an User's, or Domain's, Password Policy parameters: 1) MinPasswordLength 2) PasswordHistoryLength 3) PasswordAttribute - COMPLEX so far...
0
by: jeangv | last post by:
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...
4
by: jade | last post by:
Hi everyone I've created a database of contacts from which I'd like to export/import in LDIF format - which would obviously permit me to import to Thunderbird :D . I've managed to export to...
1
by: syhzaidi | last post by:
How can we do Parsing of Hexdecimel in C# reading string from stream file for eg.. i have a file like.......... 0f 2f 12 2d 3a.......in hexa decimal save in a file.txt and i m reading it from...
10
by: Cruelemort | last post by:
All, I am hoping someone would be able to help me with a problem. I have an LDAP server running on a linux box, this LDAP server contains a telephone list in various groupings, the ldif file of...
2
by: Lars | last post by:
Hi I got some programming experience and I recently started looking into Python. I've read much of the tutorial from 2.6 documentation. But it was more interesting to get started on something I...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.