473,395 Members | 1,678 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,395 software developers and data experts.

LDAP query in .NET 2003

MDS
Hey,
First of all Best Wishes for 2004

I'm a system admin and I want to write a framework for our Helpdesk to do
some daily stuff like creating mailboxes (not user related), (des)enabling
SIP, putting users in groups, you all know the stuff.

I'm quite new to .NET2003 and I found a tool ADSE.MSI on the MS webstit,
only this is for .NET2000 so I'm unable to install...

My question is how can I query my AD (LDAP) from whitin .NET2003. I used to
do this with vbs....

Any lead would be GREAT

Marc
Nov 20 '05 #1
5 1971
Hi,

I think you may take a look at the links below.

System.DirectoryServices Namespace
http://msdn.microsoft.com/library/de...us/cpref/html/
frlrfsystemdirectoryservices.asp
Searching Active Directory Hierarchies
http://msdn.microsoft.com/library/de...us/vbcon/html/
vbtsksearchingactivedirectoryhierarchy.asp

If you have any concern on this issue, please post here.

Regards,
Peter Huang
Microsoft Online Partner Support
Get Secure! www.microsoft.com/security
This posting is provided "as is" with no warranties and confers no rights.

Nov 20 '05 #2
If you are looking for a fully managed .NET LDAP component, take a look at
IP*Works! .NET Edition - http://www.nsoftware.com. The LDAP component will work
fine with AD.

-Eric
www.nsoftware.com


Hey,
First of all Best Wishes for 2004
I'm a system admin and I want to write a framework for our Helpdesk to do some daily stuff like creating mailboxes (not user related), (des)enabling SIP, putting users in groups, you all know the stuff.
I'm quite new to .NET2003 and I found a tool ADSE.MSI on the MS webstit, only this is for .NET2000 so I'm unable to install...

My question is how can I query my AD (LDAP) from whitin .NET2003. I used to do this with vbs....
Any lead would be GREAT

Marc


-

Nov 20 '05 #3
Hi Jim,

Here is a sample you may take a look.
Simple Active Directory Browser
http://www.codeproject.com/csharp/Ac...target=enumera
te%7Clistview
If you have any concern on this issue, please post here.

Regards,
Peter Huang
Microsoft Online Partner Support
Get Secure! www.microsoft.com/security
This posting is provided "as is" with no warranties and confers no rights.

Nov 20 '05 #4
MDS
Thx Peter,

I found it with your help....it's not easy (vbs is easier), but it work it
out

Marc
"Peter Huang" <v-******@online.microsoft.com> wrote in message
news:5i**************@cpmsftngxa07.phx.gbl...
Hi Jim,

Here is a sample you may take a look.
Simple Active Directory Browser
http://www.codeproject.com/csharp/Ac...target=enumera te%7Clistview
If you have any concern on this issue, please post here.

Regards,
Peter Huang
Microsoft Online Partner Support
Get Secure! www.microsoft.com/security
This posting is provided "as is" with no warranties and confers no rights.

Nov 20 '05 #5
MDS
Thx Peter,

I found it with your help....it's not easy (vbs is easier), but it work it
out

Marc
"Peter Huang" <v-******@online.microsoft.com> wrote in message
news:5i**************@cpmsftngxa07.phx.gbl...
Hi Jim,

Here is a sample you may take a look.
Simple Active Directory Browser
http://www.codeproject.com/csharp/Ac...target=enumera te%7Clistview
If you have any concern on this issue, please post here.

Regards,
Peter Huang
Microsoft Online Partner Support
Get Secure! www.microsoft.com/security
This posting is provided "as is" with no warranties and confers no rights.

Nov 20 '05 #6

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

1
by: sergio | last post by:
Hello I try to set my LDAP to accept query comming from a .asp aplication On windows 2000 , all works fine. The user logging in to my asp aplication is aut. by the AD LDAP Trying the same...
3
by: jeremy | last post by:
Hello. I have an asp.net application that resides on a non-DC / BDC Sharepoint Server (although it is logged into the domain). The application will perform lookups based on the current user...
1
by: Andrew | last post by:
Hey all, Working on revamping our Intranet here and making use of the LDPA, Active Directory, Directory Services, etc. that .Net provides. I am still fairly new on this subject, so the problem...
3
by: maria.s | last post by:
Hi, I've got a problem with an LDAP query submitted from my ASP.NET application. Configuration: Windows 2003 Server Standard Ed., the application uses Windows Integrated Authentication and is...
0
by: Gerry Sinkiewicz | last post by:
Looking for a bit of software that will accept an LDAP query via port 389 and convert it to an SQL query and return the results to the originating LDAP client. Basically a dialect converter LDAP...
2
by: Anbu | last post by:
Sorry for cross posting the query. But I need a resolution as early as possible. I have developed an application to authenticate the user based on LDAP Search and authentication. The Windows...
3
by: RJN | last post by:
Hi I've written a code that queries Windows LDAP server and works fine, but the same doesn't work when querying Solaris LDAP server. DirectoryEntry de = new...
2
by: HamishC | last post by:
Hi all, I have been knocking my head against this one for a few days -- haven't been able to find a solution to this anywhere so hopefully someone can help. Situation: A really simple LDAP that...
0
by: Sells, Fred | last post by:
I'm running python 2.5 (or 2.4) in an XP environment. I downloaded and installed the .dll's from OpenLDAP-2.4.8+OpenSSL-0.9.8g-Win32.zip and copied the .dll's in c:/windows/system32 as instructed...
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
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: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
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
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
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
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...

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.