| Author | Messages | |
TerriEsham
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
| | | |
| BrianB
Posts:40
 | | 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 | | | |
| TerriEsham
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
| | | |
| miller4
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
| | | |
| BrianB
Posts:40
 | | 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 | | | |
| TerriEsham
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===
| | | |
|
|