Answer Question
I need to create a c# script that scan LDAP and Active Directory for fax numbers (lbpcsfax)
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.
TEXT
Uploading file and scanning for virus...
Please Wait