Welcome to Dream.In.Code
Getting C# Help is Easy!

Join 132,689 C# Programmers for FREE! Get instant access to thousands of C# experts, tutorials, code snippets, and more! There are 1,301 people online right now. Registration is fast and FREE... Join Now!




scaning LDAP and Active Directory

 
Reply to this topicStart new topic

scaning LDAP and Active Directory

nik2007
post 31 May, 2008 - 02:30 PM
Post #1


New D.I.C Head

*
Joined: 31 May, 2008
Posts: 2

I need to create a C# script that will scan LDAP/Unix for lbpcsfax, then scan Active Directory for lbpcsfax (lbpcsfax is a fax number assigned to a person. Is one of the user's attibutes just like phone number, etc).
The script should compare both, LDAP and AD and then generate a txt file only with the discrepancies on both. Let's say a user in LDAP has a fax number and in AD appears as not having one or viceversa.

The output should look like:

XPID...............Display name..............LDAP fax#............AD fax#
jdoe................Doe, Joe................123-456-7890.............No fax# found
wpeters.......Peters, William........No fax# found.......234-519-1234

Then the program should copy the txt file to an email, no specific recipient, just ready to be sent.

Program should recognize the user's credential when running from user's
machine. No need to create any kind of security setting for AD.

can someone PLEASE!!! point me in the right direction....this is kinda urgent!!
User is offlineProfile CardPM

Go to the top of the page

Jayman
post 1 Jun, 2008 - 10:33 AM
Post #2


Student of Life

Group Icon
Joined: 26 Dec, 2005
Posts: 6,839



Thanked 38 times

Dream Kudos: 500

Expert In: C#, VB.NET, Java

My Contributions


You can find everything you need here.
User is offlineProfile CardPM

Go to the top of the page

Fast ReplyReply to this topicStart new topic
Time is now: 11/23/08 07:32AM

Live C# Help!

C# Tutorials

Reference Sheets

C# Snippets

Bye Bye Ads

Free DIC T-Shirt

T-Shirt Example

Related Sites

Monthly Drawing

Thumb Drive

Partners

Top Contributors

Top 10 Kudos This Month