Location: List Archives

List Archives

This forum is an archive of all posts to our mailing list over the past few years.  The forum is set read only therefore to contribute you will need to join our list community.  See more info about this here.

List Archives

Subject: [ActiveDir] Exporting Group Membership
Prev Next
You are not authorized to post a reply.

AuthorMessages
TerriEshamUser is Offline

Posts:3

04/17/2008 8:11 AM  
What's the best utility to use to export all Active Directory Groups and
their membership? I know how to do it by doing each group separately,
but I'd like a way to do all groups at one time. Any help will be
greatly appreciated.

Thanks, Terri

List info : http://www.activedir.org/List.aspx
List FAQ : http://www.activedir.org/ListFAQ.aspx
List archive: http://www.activedir.org/ma/default.aspx
BrianBUser is Offline

Posts:42

04/17/2008 9:02 AM  
You can use LDIFDE to pull all groups from a specific OU or from the entire domain. Then filter the members.

Ldifde -f filename.txt -d "cn=xxxx,dc=domain,dc=domain" -r "(&(Objectcategory=group)(objectclass=group))" -r "Name,Member"

CSVDE can also do this and it is easier to place in an excel file for sorting.

Hope this helps.

Brian Britt
Vanderbilt University
Directory Services Specialist

-----Original Message-----
From: ActiveDir-owner@mail.activedir.org [mailto:ActiveDir-owner@mail.activedir.org] On Behalf Of Terri.Esham
Sent: Thursday, April 17, 2008 7:10 AM
To: Active
Subject: [ActiveDir] Exporting Group Membership

What's the best utility to use to export all Active Directory Groups and
their membership? I know how to do it by doing each group separately,
but I'd like a way to do all groups at one time. Any help will be
greatly appreciated.

Thanks, Terri

List info : http://www.activedir.org/List.aspx
List FAQ : http://www.activedir.org/ListFAQ.aspx
List archive: http://www.activedir.org/ma/default.aspx
.+-� 0�����j�q.+-� 0����ˊ�E��Kj�!i�b��b����ןj�m
TerriEshamUser is Offline

Posts:3

04/18/2008 11:45 AM  
Thanks. I'll give it a try.

Terri

Britt, Brian wrote the following on 4/17/2008 8:58 AM:
> You can use LDIFDE to pull all groups from a specific OU or from the entire domain. Then filter the members.
>
> Ldifde -f filename.txt -d "cn=xxxx,dc=domain,dc=domain" -r "(&(Objectcategory=group)(objectclass=group))" -r "Name,Member"
>
> CSVDE can also do this and it is easier to place in an excel file for sorting.
>
> Hope this helps.
>
> Brian Britt
> Vanderbilt University
> Directory Services Specialist
>
> -----Original Message-----
> From: ActiveDir-owner@mail.activedir.org [mailto:ActiveDir-owner@mail.activedir.org] On Behalf Of Terri.Esham
> Sent: Thursday, April 17, 2008 7:10 AM
> To: Active
> Subject: [ActiveDir] Exporting Group Membership
>
> What's the best utility to use to export all Active Directory Groups and
> their membership? I know how to do it by doing each group separately,
> but I'd like a way to do all groups at one time. Any help will be
> greatly appreciated.
>
> Thanks, Terri
>
> List info : http://www.activedir.org/List.aspx
> List FAQ : http://www.activedir.org/ListFAQ.aspx
> List archive: http://www.activedir.org/ma/default.aspx
> .+-�w��i��0�-��+���֬���@Bm������+�v*�ˊ�E���֫r�zm������+�v*��k�^}����)x===
List info : http://www.activedir.org/List.aspx
List FAQ : http://www.activedir.org/ListFAQ.aspx
List archive: http://www.activedir.org/ma/default.aspx
miller4User is Offline

Posts:12

04/18/2008 11:50 AM  
It'll work a little better if your change the second -r option to -l

;-)

-mjm

Michael J. Miller

Computing Services
College of Veterinary Medicine
University of Illinois at Urbana-Champaign
_________________________________________________________________



Terri.Esham wrote:
> Thanks. I'll give it a try.
>
> Terri
>
> Britt, Brian wrote the following on 4/17/2008 8:58 AM:
>
>> You can use LDIFDE to pull all groups from a specific OU or from the entire domain. Then filter the members.
>>
>> Ldifde -f filename.txt -d "cn=xxxx,dc=domain,dc=domain" -r "(&(Objectcategory=group)(objectclass=group))" -r "Name,Member"
>>
>> CSVDE can also do this and it is easier to place in an excel file for sorting.
>>
>> Hope this helps.
>>
>> Brian Britt
>> Vanderbilt University
>> Directory Services Specialist
>>
>> -----Original Message-----
>> From: ActiveDir-owner@mail.activedir.org [mailto:ActiveDir-owner@mail.activedir.org] On Behalf Of Terri.Esham
>> Sent: Thursday, April 17, 2008 7:10 AM
>> To: Active
>> Subject: [ActiveDir] Exporting Group Membership
>>
>> What's the best utility to use to export all Active Directory Groups and
>> their membership? I know how to do it by doing each group separately,
>> but I'd like a way to do all groups at one time. Any help will be
>> greatly appreciated.
>>
>> Thanks, Terri
>>
>> List info : http://www.activedir.org/List.aspx
>> List FAQ : http://www.activedir.org/ListFAQ.aspx
>> List archive: http://www.activedir.org/ma/default.aspx
>> .+-�w��i��0�-��+���֬���@Bm������+�v*�ˊ�E���֫r�zm������+�v*��k�^}����)x===
>>
> List info : http://www.activedir.org/List.aspx
> List FAQ : http://www.activedir.org/ListFAQ.aspx
> List archive: http://www.activedir.org/ma/default.aspx
>
>
List info : http://www.activedir.org/List.aspx
List FAQ : http://www.activedir.org/ListFAQ.aspx
List archive: http://www.activedir.org/ma/default.aspx
BrianBUser is Offline

Posts:42

04/18/2008 1:16 PM  
Oops, Typo.

Change the second -r to -l and that works. I verified it before publishing to the list but mistyped the last -r.

Sorry.

Brian Britt
Vanderbilt University
Directory Services Specialist
615-322-4676


-----Original Message-----
From: ActiveDir-owner@mail.activedir.org [mailto:ActiveDir-owner@mail.activedir.org] On Behalf Of Michael Miller
Sent: Friday, April 18, 2008 10:49 AM
To: ActiveDir@mail.activedir.org
Subject: Re: [ActiveDir] Exporting Group Membership

It'll work a little better if your change the second -r option to -l

;-)

-mjm

Michael J. Miller

Computing Services
College of Veterinary Medicine
University of Illinois at Urbana-Champaign
_________________________________________________________________



Terri.Esham wrote:
> Thanks. I'll give it a try.
>
> Terri
>
> Britt, Brian wrote the following on 4/17/2008 8:58 AM:
>
>> You can use LDIFDE to pull all groups from a specific OU or from the entire domain. Then filter the members.
>>
>> Ldifde -f filename.txt -d "cn=xxxx,dc=domain,dc=domain" -r "(&(Objectcategory=group)(objectclass=group))" -r "Name,Member"
>>
>> CSVDE can also do this and it is easier to place in an excel file for sorting.
>>
>> Hope this helps.
>>
>> Brian Britt
>> Vanderbilt University
>> Directory Services Specialist
>>
>> -----Original Message-----
>> From: ActiveDir-owner@mail.activedir.org [mailto:ActiveDir-owner@mail.activedir.org] On Behalf Of Terri.Esham
>> Sent: Thursday, April 17, 2008 7:10 AM
>> To: Active
>> Subject: [ActiveDir] Exporting Group Membership
>>
>> What's the best utility to use to export all Active Directory Groups and
>> their membership? I know how to do it by doing each group separately,
>> but I'd like a way to do all groups at one time. Any help will be
>> greatly appreciated.
>>
>> Thanks, Terri
>>
>> List info : http://www.activedir.org/List.aspx
>> List FAQ : http://www.activedir.org/ListFAQ.aspx
>> List archive: http://www.activedir.org/ma/default.aspx
>> .+-�w��i��0�-��+���֬���@Bm������+�v*�ˊ�E���֫r�zm������+�v*��k�^}����)x===
>>
> List info : http://www.activedir.org/List.aspx
> List FAQ : http://www.activedir.org/ListFAQ.aspx
> List archive: http://www.activedir.org/ma/default.aspx
>
>
List info : http://www.activedir.org/List.aspx
List FAQ : http://www.activedir.org/ListFAQ.aspx
List archive: http://www.activedir.org/ma/default.aspx
.+-� 0�����j�q.+-� 0����ˊ�E��Kj�!i�b��b����ןj�m
TerriEshamUser is Offline

Posts:3

04/18/2008 3:03 PM  
Thanks. I had tried it the other way and couldn't get it to work. I
figured it was just me.

Britt, Brian wrote the following on 4/18/2008 1:11 PM:
> Oops, Typo.
>
> Change the second -r to -l and that works. I verified it before publishing to the list but mistyped the last -r.
>
> Sorry.
>
> Brian Britt
> Vanderbilt University
> Directory Services Specialist
> 615-322-4676
>
>
> -----Original Message-----
> From: ActiveDir-owner@mail.activedir.org [mailto:ActiveDir-owner@mail.activedir.org] On Behalf Of Michael Miller
> Sent: Friday, April 18, 2008 10:49 AM
> To: ActiveDir@mail.activedir.org
> Subject: Re: [ActiveDir] Exporting Group Membership
>
> It'll work a little better if your change the second -r option to -l
>
> ;-)
>
> -mjm
>
> Michael J. Miller
>
> Computing Services
> College of Veterinary Medicine
> University of Illinois at Urbana-Champaign
> _________________________________________________________________
>
>
>
> Terri.Esham wrote:
>
>> Thanks. I'll give it a try.
>>
>> Terri
>>
>> Britt, Brian wrote the following on 4/17/2008 8:58 AM:
>>
>>
>>> You can use LDIFDE to pull all groups from a specific OU or from the entire domain. Then filter the members.
>>>
>>> Ldifde -f filename.txt -d "cn=xxxx,dc=domain,dc=domain" -r "(&(Objectcategory=group)(objectclass=group))" -r "Name,Member"
>>>
>>> CSVDE can also do this and it is easier to place in an excel file for sorting.
>>>
>>> Hope this helps.
>>>
>>> Brian Britt
>>> Vanderbilt University
>>> Directory Services Specialist
>>>
>>> -----Original Message-----
>>> From: ActiveDir-owner@mail.activedir.org [mailto:ActiveDir-owner@mail.activedir.org] On Behalf Of Terri.Esham
>>> Sent: Thursday, April 17, 2008 7:10 AM
>>> To: Active
>>> Subject: [ActiveDir] Exporting Group Membership
>>>
>>> What's the best utility to use to export all Active Directory Groups and
>>> their membership? I know how to do it by doing each group separately,
>>> but I'd like a way to do all groups at one time. Any help will be
>>> greatly appreciated.
>>>
>>> Thanks, Terri
>>>
>>> List info : http://www.activedir.org/List.aspx
>>> List FAQ : http://www.activedir.org/ListFAQ.aspx
>>> List archive: http://www.activedir.org/ma/default.aspx
>>> .+-�w��i��0�-��+���֬���@Bm������+�v*�ˊ�E���֫r�zm������+�v*��k�^}����)x===
>>>
>>>
>> List info : http://www.activedir.org/List.aspx
>> List FAQ : http://www.activedir.org/ListFAQ.aspx
>> List archive: http://www.activedir.org/ma/default.aspx
>>
>>
>>
> List info : http://www.activedir.org/List.aspx
> List FAQ : http://www.activedir.org/ListFAQ.aspx
> List archive: http://www.activedir.org/ma/default.aspx
> .+-�w��i��0�-��+���֬���@Bm������+�v*�ˊ�E���֫r�zm������+�v*��k�^}����)x===

You are not authorized to post a reply.
Forums >ActiveDir Mail List Archive >List Archives > [ActiveDir] Exporting Group Membership



ActiveForums 3.7
AdventNet Banner
Friends

Friends

Namescape
Members

Members

MembershipMembership:
Latest New UserLatest:cthart
New TodayNew Today:1
New YesterdayNew Yesterday:4
User CountOverall:4285

People OnlinePeople Online:
VisitorsVisitors:75
MembersMembers:0
TotalTotal:75

Online NowOnline Now:

Ads

Copyright 2008 ActiveDir.org
Terms Of Use