Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Help with Exporting Global Contacts to access database

Status
Not open for further replies.

jay24k

MIS
May 12, 2004
32
US
I've searched everywhere and I'm unable to find it. Server is 2000 and Exchange 2000 as well. I have a OU Group that is primarily for special email accounts and mobile contacts. I've tried to pull those in a vbscript but that doesn't appear to work. What I would like is for the users in our organization that doesn't have a user account, but that does have a cell phone, to place it a group as a contact. Right now it shows up fine if you search your email client as all contacts.

What I need to do next is have it so every week, I can run a script or something that pulls these updated values into an accesss database. Mainly, name, number, department, title (info from the contact) I have this working fine from regular AD users but not contacts. These contacts aren't in user mailboxes but globaly.

Any ideas on the best way to do this?
 
Another note: I can get the information fine via ldifde command but not in vb for some reason. It keeps showing empty.

Any ideas please?

The command I do to get this is as following.

ldifde -f text.ldf -s DCServer -d "DC=domainname,DC=com" -r "(objectclass=contact)"

It outputs exactly what I want but more info then I need. Anyway to output this through a vbscript? I've tried setting my objectclass description to contact but only works for user.

Thanks.
 
I think I got it figured out. Thanks anyway. But there were a few who said it can't be done through scripting or in active directory but it appears it can be.

 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top