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 Chriss Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

LDIFDE exporting by attributes

Status
Not open for further replies.

mrslimey

IS-IT--Management
Oct 23, 2003
21
GB
Can someone please let me know if I can export a list of users on the basis of a attribute. For example I would like to export all users with the attribute of physicalDeliveryOffice.

My syntax that I am using so far and needs to be modified obviously is as follows:

C:\ldifde\ldifde.exe -f filtered.ldf -s londc02.mhf2.mhf.mhc -d "OU=Users & Groups [EU],OU=Europe,OU=Users Groups & Workstations,DC=mhf2,DC=mhf,DC=mhc" -r "(&(objectClass=user))" -l "physicalDeliveryOfficeName"

This returns a listing of every single in the specified OU but what i need is a listing of all users with the physicalDeliveryOffice=20 Drone Ave

Please can you supply correct syntax if you can.

Many thanks
Mr Slimey
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top