Google
Search WWW Search msexchangetips.blogspot.com

Monday, August 28, 2006

Exchange: LDIFDE Export Members of Distribution List

Summary:

This article will go over how to export members of a distribution list using LDIFDE.

There is MS KB article: http://support.microsoft.com/?kbid=555365
How to export the members of a distribution group in Exchange 2000/2003 using LDIFDE
which provides a sample of an LDIFDE command to export the properties.

ldifde -f export.ldf -d "cn=\Partners,ou=users,dc=microsoft,dc=com" -l member -s DC01

However, when you run the command, you receive no entries found:

Connecting to "DC01"
Logging in as current user using SSPI
Exporting directory to file export.ldf
Searching for entries...
Writing out entries
No Entries found

Cause:

Remove the slash in "cn=\"

In order to exporting any property for this user, you need to get the full DN. In order to get the full DN. Perform the following steps.

1. Start, Run, Adsiedit.msc (Part of Windows Server Support Tools)
2. Expand your Domain. This should mimic your OU structure.
3. Expand through your OU tree until you locate your group.
4. Once you have located your group CN=Group Name, right click properties.
5. Locate the attribute DistinguisedName and double click.
6. Copy the entire string which should be in the following format:
CN=My Group Name,CN=Users,DC=corp,DC=domain,DC=net
7. Enter in the following LDIFDE command.


C:\Documents and Settings\user>ldifde -f exportgroup.ldf -s MYDC -d
"cn=my group,cn=users,dc=corp,dc=redcross,dc=net" -l "member"


Note: if you would like to get more information other than group membership here is an example command:

C:\Documents and Settings\user>ldifde -f exportgroup.ldf -s MYDC -d
"cn=my group,cn=users,dc=corp,dc=redcross,dc=net" -l "dn, givenname, department, member"




James Chong
MCSE M+, S+, MCTS, Security+
msexchangetips.blogspot.com


How useful was this article? Want to see a tip not listed? Please leave a comment.

18 Comments:

Anonymous Anonymous said...

its works fine, but my scenario is I am having one distribution group and it contains external contacts and I want to export all the contact name and email id in excel or text file.

9:19 PM  
Anonymous Anonymous said...

Hi

I am using LDIFDE to export user and group info in to a file and then do a csv convertion on that.

I have a problem in decoding the base64 encoded value. It is not able to decode the values properly. I tested my decoder wit h other apps it decodes the UTF-8 to Base64 encoded strin correctly. Is the encoding mechanism used in LDIF is UTF-8 base 64 or is it different?

5:51 PM  
Blogger 123 123 said...

Nice post as for me. It would be great to read a bit more concerning that topic. Thanks for sharing this information.
Sexy Lady
Blonde escorts

5:46 AM  
Blogger longge said...

Still today, replica handbags is recognized for its high quality purse. At the factory level, if a purse does not meet the replica louis vuitton standards it is destroyed. replica handbags has been in business for an amazing 3 centuries and replica bags continues to be fore front in the hand bag industry.

6:47 PM  
Blogger Simple Luxury said...

Burberry Outlet Store Online
Handbags Outlet Store Online
Louis Vuitton Handbags Sale

www.burberry-outlets.org
www.prada-outlet.org
www.bag-louis-vuitton.com

11:19 AM  
Anonymous Anonymous said...

Not working at all.
"No entries found"

8:17 AM  
Blogger 风骚达哥 said...

20151012 junda
Abercrombie & Fitch Factory Outlet
michael kors outlet
coach factory outlet
michael kors outlet
Louis Vuitton Handbags Factory Store
louis vuitton
Cheap Jordans For Sale Wholesale
oakley sunglasses,oakley vault,prescription sunglasses,polarized sunglasses,aviator sunglasses,spy sunglasses,oakleys,oakley canada,cheap oakley sunglasses,oakley frogskins,oakley holbrook,cheap sunglasses,wayfarer sunglasses,oakley standard issue,fake oakleys,oakley glasses,oakley.com,oakley prescription glasses,oakley goggles,sunglasses for men,oakley gascan,oakley store,oakleys sunglasses
uggs australia
ugg boots
cheap ugg boots
michael kors handbag
Coach Factory Outlet Online Sale
Louis Vuitton Outlet USA
Air Jordan 4 Toro Bravo
canada goose outlet
toms outlet
New Louis Vuitton Handbags Outlet
Michael Kors Handbags Outlet Deals
michael kors outlet
Wholesale Authentic Designer Handbags
Ugg Boots,Ugg Boots Outlet,Ugg Outlet,Cheap Uggs,Uggs On Sale,Ugg Boots Clearance,Uggs For Women
cheap jordan shoes
michael kors outlet online
louis vuitton handbags
Coach Factory Outlet Private Sale
true religion jeans
Louis Vuitton Bags On Sale
Jordan 13 Shoes For Sale
Ralph Lauren Outlet Clothing

6:14 AM  
Blogger oakleyses said...

louis vuitton outlet, oakley sunglasses, michael kors handbags, cheap jordans, prada handbags, uggs outlet, michael kors outlet, oakley sunglasses, uggs on sale, ray ban sunglasses, burberry outlet, tiffany jewelry, uggs on sale, kate spade, gucci handbags, ray ban sunglasses, prada outlet, longchamp outlet, louboutin uk, burberry factory outlet, tory burch outlet, nike air max, tiffany jewelry, christian louboutin, louboutin shoes, oakley sunglasses, cheap oakley sunglasses, chanel handbags, michael kors outlet store, louis vuitton outlet, nike outlet, ralph lauren polo, louis vuitton, christian louboutin, michael kors outlet online, longchamp outlet, uggs outlet, michael kors outlet online, nike air max, longchamp bags, replica watches, ralph lauren outlet, oakley sunglasses, ray ban sunglasses, louis vuitton outlet online, nike free, michael kors

6:30 PM  
Blogger oakleyses said...

burberry pas cher, lunette oakley pas cher, coach outlet, kate spade outlet, true religion jeans, converse, coach outlet, longchamp soldes, north face uk, michael kors, louboutin pas cher, new balance, lululemon outlet, coach purses, nike air max, hermes pas cher, nike tn pas cher, vans pas cher, coach outlet store online, mulberry uk, lunette ray ban pas cher, nike air max uk, sac guess pas cher, nike air force, nike roshe run pas cher, longchamp pas cher, north face pas cher, nike air max pas cher, ray ban uk, true religion outlet, abercrombie and fitch, polo lacoste pas cher, true religion outlet, michael kors, jordan pas cher, nike free, polo ralph lauren uk, vanessa bruno pas cher, true religion outlet, hogan sito ufficiale, ralph lauren pas cher, michael kors outlet online, nike free pas cher, nike roshe uk, abercrombie and fitch UK, nike blazer pas cher, hollister uk

6:31 PM  
Blogger oakleyses said...

converse shoes outlet, salvatore ferragamo, timberland boots, softball bats, herve leger, ray ban, hollister, louboutin, gucci, nike roshe run, iphone cases, beats by dre, mcm handbags, oakley, p90x workout, insanity workout, wedding dresses, abercrombie and fitch, abercrombie, nike air max, mac cosmetics, babyliss pro, valentino shoes, bottega veneta, mont blanc, converse, jimmy choo outlet, hollister clothing, nike air max, north face outlet, new balance shoes, north face outlet, instyler ionic styler, soccer shoes, lululemon outlet, asics running shoes, ghd hair, giuseppe zanotti, soccer jerseys, nfl jerseys, longchamp uk, reebok outlet, nike air huarache, chi flat iron, hermes handbags, vans outlet, polo ralph lauren, celine handbags, nike trainers uk, vans scarpe

6:33 PM  
Blogger oakleyses said...

toms shoes, supra shoes, montre pas cher, ugg uk, juicy couture outlet, moncler, lancel, michael kors outlet online, ugg pas cher, michael kors handbags, barbour, doke & gabbana, michael kors outlet, coach outlet, louis vuitton uk, canada goose jackets, pandora charms, moncler, ugg,ugg australia,ugg italia, links of london uk, moncler jackets, hollister, juicy couture outlet, canada goose outlet, swarovski uk, pandora jewelry, canada goose pas cher, canada goose outlet, marc jacobs, moncler pas cher, thomas sabo uk, swarovski jewelry, karen millen uk, louis vuitton, moncler, moncler uk, sac louis vuitton, canada goose, moncler outlet, louis vuitton, canada goose, wedding dresses uk, ugg,uggs,uggs canada, canada goose uk, sac louis vuitton, moncler, replica watches, barbour jackets uk, bottes ugg pas cher, canada goose jackets

6:34 PM  
Blogger Junda Xu said...

20151026 junda
michael kors outlet
louis vuitton outlet
nfl jerseys
cheap ugg boots
Coach Factory Outlet Online Sale
air max 95,nike golf,nike janoski,air max 1,nike canada,nike plus,nike shox,nike factory store
Louboutin Red Bottoms Shoes Outlet
oakley sunglasses
louis vuitton outlet
ralph lauren polo
michael kors outlet
michael kors outlet sale
ugg boots
Authentic Louis Vuitton Handbags Cheap Online
mont blanc
michael kors outlet
Gucci Outlet Online Sale
michael kors handbags
Authentic Louis Vuitton Belts Outlet Store
michael kors outlet
Coach Factory Outlet Private Sale
true religion jeans
tory burch outlet
Oakley Vault Outlet Store Online
hollister clothing store
nike trainers
Louis Vuitton Handbags Official Site
michael kors handbag
Louis Vuitton Handbags Factory Store
uggs australia

1:11 AM  
Blogger Minko Chen said...

kobe 9
nhl jerseys
nike air max
air max 90
mcm backpack
ugg outlet online
hermes belt for sale
ugg outlet store
ralph lauren outlet
louis vuitton outlet store
ralph lauren uk
juicy couture tracksuit
coach outlet
lacoste shirts
abercrombie and fitch
snow boots
true religion jeans
longchamp handbags
hermes outlet store
cheap nike shoes
1128MINKO

6:39 PM  
Blogger xumeiqing said...

151210meiqing
prada outlet
abercrombie & fitch
ugg boots on sale
uggs outlet
ugg outlet
canada goose outlet
michaek kors handbags
cheap uggs
canada goose outlet
vans shoes
louis vuitton
coach factory outlet
uggs boots
michael kors outlet online
marc jacobs
nike roshe run
toms
ray ban sunglasses outlet
ugg boots
cheap ugg boots
gucci handbags
north face uk
pandora jewelry
coach outlet online
mont blanc pens
lebron james shoes 2015
coach outlet
uggs on sale
ralph lauren outlet
canada goose jackets
swarovski jewelry
nike trainers
giuseppe zanotti sneakers
uggs outlet
christian louboutin outlet
polo ralph lauren
chanel handbags
uggs on sale
oakley sunglasses
louis vuitton outlet

6:15 PM  
Blogger 柯云 said...

2015-12-10keyun
coach outlet
ugg slippers
michaek kors
jordan concords
ray-ban sunglasses
air jordans
ugg outlet store
north face
louis vuitton purses
nike air max uk
cheap toms
concord 11
coach outlet store
air max 95
michael kors handbags
louis vuitton handbags
uggs outlet
ugg boots clearance
cheap toms shoes
michael kors outlet
canada goose jackets
michael kors outlet
michael kors outlet
coach factory outlet
ugg outlet
louis vuitton outlet online
michael kors outlet online sale
ugg sale
fit flops
coach clearance
louis vuitton bags
ugg australia
michael kors outlet store
hollister kids
ugg boots sale
coach factory outlet
nike trainers sale
coach factory outlet
coach outlet
lebron 12

12:09 AM  
Blogger 艾丰 said...

jianbin1217
fitflops shoes
fitflops sale
fitflops sale clearance
fitflops sale
fitflops shoes
michael kors outlet
michael kors outlet
michael kors outlet
tiffany and co
tiffany jewellery
beats by dr dre
beats by dre
oakley sunglasses
oakley sunglasses
ray-ban sunglasses
ray ban sunglasses
hollister uk
lululemon outlet
ugg outlet
ugg boots
ugg boots
rolex watches
mulberry handbags
mulberry bags
mulberry outlet
mulberry sale
mulberry handbags
mulberry handbags
louis vuitton handbags
louis vuitton handbags
toms shoes
omega watches
ferragamo shoes

6:20 PM  
Blogger Chen Jeje said...

ray ban sunglasses outlet
cheap authentic jordans
http://www.cheapbasketballshoes.us.com
christian louboutin outlet
true religion store
ralph lauren uk
ray ban sunglasses
jordans for cheap
Cheap NFL Jerseys China
michael kors handbags clearance
http://www.michaelkors-outletwebsite.com
http://www.raybanglasses.in.net
http://www.airhuaraches.org.uk
fitflops sale
oakley sunglasses,oakley outlet sunglasses
toms outlet
christian louboutin shoes
air huarache shoes
nike dunks
kobe basketball shoes
toms outlet store

7:30 PM  
Blogger chenlina said...

polo ralph lauren
coach factory outlet
air jordan 13
cheap oakley sunglasses
ray ban sunglasses
gucci outlet
fitflops
true religion shorts
mont blanc pens
cheap oakley sunglasses
polo ralph lauren
timberland outlet
tory burch sale
kobe bryant shoes
polo ralph lauren outlet
louis vuitton outlet
kate spade
christian louboutin outlet
cheap oakley sunglasses
michael kors outlet
timberland outlet
ray ban sunglasses
louis vuitton handbags
true religion jeans
replica watches
designer handbags
toms outlet
true religion
louboutin sale clearance
michael kors handbags
kate spade
abercrombie and fitch
oakley vault
supra sneakers
michael kors outlet
kate spade outlet
louis vuitton handbags
michael kors handbags
polo ralph lauren outlet
michael kors handbags
chenlina20160803

5:44 PM  

Post a Comment

<< Home

xml:lang="en" lang="en"> MS Exchange Tips: Exchange: LDIFDE Export Members of Distribution List