| Author | Messages | |
Saswati
Posts:4
 | | 07/09/2009 11:15 PM |
| Hi,
How would I query to get all the OU information for a user whether user belongs directly or indirectly via group memberships.
Best, Saswati
| | | |
| gabriel/tfi
Posts:367
 | | 07/09/2009 11:58 PM |
| I read several times but I was not able to understand (prolly due to my poor language skills)
. L
- What's "all the OU information"? OU LDAP path? OU attributes? (e.g. description).
- "user belongs directly or indirectly" to what? an OU or a Group?
Could you make an example?
Gabriele.
From: activedir-owner@mail.activedir.org [mailto:activedir-owner@mail.activedir.org] On Behalf Of Mahajan, Saswati Sent: venerdì 10 luglio 2009 0.12 To: activedir@mail.activedir.org Subject: [ActiveDir] how to get OU for a user
Hi,
How would I query to get all the OU information for a user whether user belongs directly or indirectly via group memberships.
Best,
Saswati
| | | |
| robertsingers
Posts:458
 | | 07/10/2009 12:08 AM |
| Don't worry, I didn't understand the bit about group membership either :-)
________________________________ From: activedir-owner@mail.activedir.org [mailto:activedir-owner@mail.activedir.org] On Behalf Of Gabriele Scolaro Sent: Friday, 10 July 2009 10:57 a.m. To: activedir@mail.activedir.org Subject: RE: [ActiveDir] how to get OU for a user
I read several times but I was not able to understand (prolly due to my poor language skills).... 
- What's "all the OU information"? OU LDAP path? OU attributes? (e.g. description). - "user belongs directly or indirectly" to what? an OU or a Group?
Could you make an example?
Gabriele.
From: activedir-owner@mail.activedir.org [mailto:activedir-owner@mail.activedir.org] On Behalf Of Mahajan, Saswati Sent: venerdì 10 luglio 2009 0.12 To: activedir@mail.activedir.org Subject: [ActiveDir] how to get OU for a user
Hi,
How would I query to get all the OU information for a user whether user belongs directly or indirectly via group memberships.
Best, Saswati ________________________________ This e-mail message has been scanned for Viruses and cleared by NetIQ MailMarshal ________________________________
############################################################ PLEASE NOTE:
The information contained in this email message and any attached files may be confidential and subject to privilege. Any opinions expressed in this message are not necessarily those of the Department of Building and Housing. All technical opinions are offered on a no-liability basis. This message and any files transmitted with it are confidential and solely for the use of the intended recipient. If you are not the intended recipient, you are notified that any use, disclosure or copying of this email is unauthorised. If you have received this email in error, please notify us immediately by reply email and delete the original and any attachment(s). Thank you. ############################################################
| | | |
| gabriel/tfi
Posts:367
 | | 07/10/2009 12:16 AM |
| Phew! You know, when reading tech things in a foreign language, when you dont understand something youre faced by a nasty dilemma: Didnt I understand because of the language or because of the complexity of the tech matter?? LOL! J Gabriele.
From: activedir-owner@mail.activedir.org [mailto:activedir-owner@mail.activedir.org] On Behalf Of Robert Singers Sent: venerdì 10 luglio 2009 1.06 To: activedir@mail.activedir.org Subject: RE: [ActiveDir] how to get OU for a user
Don't worry, I didn't understand the bit about group membership either :-)
_____
From: activedir-owner@mail.activedir.org [mailto:activedir-owner@mail.activedir.org] On Behalf Of Gabriele Scolaro Sent: Friday, 10 July 2009 10:57 a.m. To: activedir@mail.activedir.org Subject: RE: [ActiveDir] how to get OU for a user
I read several times but I was not able to understand (prolly due to my poor language skills)
. L
- What's "all the OU information"? OU LDAP path? OU attributes? (e.g. description).
- "user belongs directly or indirectly" to what? an OU or a Group?
Could you make an example?
Gabriele.
From: activedir-owner@mail.activedir.org [mailto:activedir-owner@mail.activedir.org] On Behalf Of Mahajan, Saswati Sent: venerdì 10 luglio 2009 0.12 To: activedir@mail.activedir.org Subject: [ActiveDir] how to get OU for a user
Hi,
How would I query to get all the OU information for a user whether user belongs directly or indirectly via group memberships.
Best,
Saswati
_____
This e-mail message has been scanned for Viruses and cleared by NetIQ MailMarshal
_____
_____
Please Note:
The information contained in this email message and any attached files may be confidential and subject to privilege. Any opinions expressed in this message are not necessarily those of the Department of Building and Housing. All technical opinions are offered on a no-liability basis. This message and any files transmitted with it are confidential and solely for the use of the intended recipient. If you are not the intended recipient, you are notified that any use, disclosure or copying of this email is unauthorised. If you have received this email in error, please notify us immediately by reply email and delete the original and any attachment(s). Thank you.
_____
| | | |
| robertsingers
Posts:458
 | | 07/10/2009 12:39 AM |
| Upon reflection of the question - informed by how my Tamil college uses the word "whether" - I think the question is
How can I query a user object to discover what OU it is contained in, based on the user being a direct or indirect member of a particular group.
And the answer would be I'd use the Quest AD cmdlets; either Get-QADGroupMember (-Indirect) or Get-QADUser (-IndirectMemberOf).
The rest of the PoSH would depend on what I was wanting to do with the output.
________________________________ From: activedir-owner@mail.activedir.org [mailto:activedir-owner@mail.activedir.org] On Behalf Of Gabriele Scolaro Sent: Friday, 10 July 2009 11:15 a.m. To: activedir@mail.activedir.org Subject: RE: [ActiveDir] how to get OU for a user
Phew! You know, when reading tech things in a foreign language, when you don't understand something you're faced by a nasty dilemma: "Didn't I understand because of the language or because of the complexity of the tech matter??" LOL! - Gabriele.
From: activedir-owner@mail.activedir.org [mailto:activedir-owner@mail.activedir.org] On Behalf Of Robert Singers Sent: venerdì 10 luglio 2009 1.06 To: activedir@mail.activedir.org Subject: RE: [ActiveDir] how to get OU for a user
Don't worry, I didn't understand the bit about group membership either :-)
________________________________ From: activedir-owner@mail.activedir.org [mailto:activedir-owner@mail.activedir.org] On Behalf Of Gabriele Scolaro Sent: Friday, 10 July 2009 10:57 a.m. To: activedir@mail.activedir.org Subject: RE: [ActiveDir] how to get OU for a user I read several times but I was not able to understand (prolly due to my poor language skills).... 
- What's "all the OU information"? OU LDAP path? OU attributes? (e.g. description). - "user belongs directly or indirectly" to what? an OU or a Group?
Could you make an example?
Gabriele.
From: activedir-owner@mail.activedir.org [mailto:activedir-owner@mail.activedir.org] On Behalf Of Mahajan, Saswati Sent: venerdì 10 luglio 2009 0.12 To: activedir@mail.activedir.org Subject: [ActiveDir] how to get OU for a user
Hi,
How would I query to get all the OU information for a user whether user belongs directly or indirectly via group memberships.
Best, Saswati ________________________________ This e-mail message has been scanned for Viruses and cleared by NetIQ MailMarshal ________________________________ ________________________________ Please Note:
The information contained in this email message and any attached files may be confidential and subject to privilege. Any opinions expressed in this message are not necessarily those of the Department of Building and Housing. All technical opinions are offered on a 'no-liability' basis. This message and any files transmitted with it are confidential and solely for the use of the intended recipient. If you are not the intended recipient, you are notified that any use, disclosure or copying of this email is unauthorised. If you have received this email in error, please notify us immediately by reply email and delete the original and any attachment(s). Thank you.
________________________________
############################################################ PLEASE NOTE:
The information contained in this email message and any attached files may be confidential and subject to privilege. Any opinions expressed in this message are not necessarily those of the Department of Building and Housing. All technical opinions are offered on a no-liability basis. This message and any files transmitted with it are confidential and solely for the use of the intended recipient. If you are not the intended recipient, you are notified that any use, disclosure or copying of this email is unauthorised. If you have received this email in error, please notify us immediately by reply email and delete the original and any attachment(s). Thank you. ############################################################
| | | |
| DaemonRoot
Posts:40
 | | 07/10/2009 2:10 AM |
| Not sure I understand your question. but the DN has the OU structure the object resides. :S
~D~
From: activedir-owner@mail.activedir.org [mailto:activedir-owner@mail.activedir.org] On Behalf Of Mahajan, Saswati Sent: Thursday, July 09, 2009 4:12 PM To: activedir@mail.activedir.org Subject: [ActiveDir] how to get OU for a user
Hi,
How would I query to get all the OU information for a user whether user belongs directly or indirectly via group memberships.
Best,
Saswati
| | | |
| rkaramchand
Posts:46
 | | 07/10/2009 11:14 AM |
| I believe Saswati is looking for complete distinguished name for users and groups both direct and indirect
From: activedir-owner@mail.activedir.org [mailto:activedir-owner@mail.activedir.org] On Behalf Of Robert Singers Sent: Thursday, July 09, 2009 7:38 PM To: activedir@mail.activedir.org Subject: RE: [ActiveDir] how to get OU for a user
Upon reflection of the question - informed by how my Tamil college uses the word "whether" - I think the question is
How can I query a user object to discover what OU it is contained in, based on the user being a direct or indirect member of a particular group.
And the answer would be I'd use the Quest AD cmdlets; either Get-QADGroupMember (-Indirect) or Get-QADUser (-IndirectMemberOf).
The rest of the PoSH would depend on what I was wanting to do with the output.
________________________________ From: activedir-owner@mail.activedir.org [mailto:activedir-owner@mail.activedir.org] On Behalf Of Gabriele Scolaro Sent: Friday, 10 July 2009 11:15 a.m. To: activedir@mail.activedir.org Subject: RE: [ActiveDir] how to get OU for a user Phew! You know, when reading tech things in a foreign language, when you don't understand something you're faced by a nasty dilemma: "Didn't I understand because of the language or because of the complexity of the tech matter??" LOL! - Gabriele.
From: activedir-owner@mail.activedir.org [mailto:activedir-owner@mail.activedir.org] On Behalf Of Robert Singers Sent: venerdì 10 luglio 2009 1.06 To: activedir@mail.activedir.org Subject: RE: [ActiveDir] how to get OU for a user
Don't worry, I didn't understand the bit about group membership either :-)
________________________________ From: activedir-owner@mail.activedir.org [mailto:activedir-owner@mail.activedir.org] On Behalf Of Gabriele Scolaro Sent: Friday, 10 July 2009 10:57 a.m. To: activedir@mail.activedir.org Subject: RE: [ActiveDir] how to get OU for a user I read several times but I was not able to understand (prolly due to my poor language skills).... 
- What's "all the OU information"? OU LDAP path? OU attributes? (e.g. description). - "user belongs directly or indirectly" to what? an OU or a Group?
Could you make an example?
Gabriele.
From: activedir-owner@mail.activedir.org [mailto:activedir-owner@mail.activedir.org] On Behalf Of Mahajan, Saswati Sent: venerdì 10 luglio 2009 0.12 To: activedir@mail.activedir.org Subject: [ActiveDir] how to get OU for a user
Hi,
How would I query to get all the OU information for a user whether user belongs directly or indirectly via group memberships.
Best, Saswati ________________________________ This e-mail message has been scanned for Viruses and cleared by NetIQ MailMarshal ________________________________ ________________________________ Please Note:
The information contained in this email message and any attached files may be confidential and subject to privilege. Any opinions expressed in this message are not necessarily those of the Department of Building and Housing. All technical opinions are offered on a 'no-liability' basis. This message and any files transmitted with it are confidential and solely for the use of the intended recipient. If you are not the intended recipient, you are notified that any use, disclosure or copying of this email is unauthorised. If you have received this email in error, please notify us immediately by reply email and delete the original and any attachment(s). Thank you.
________________________________ ________________________________ Please Note:
The information contained in this email message and any attached files may be confidential and subject to privilege. Any opinions expressed in this message are not necessarily those of the Department of Building and Housing. All technical opinions are offered on a 'no-liability' basis. This message and any files transmitted with it are confidential and solely for the use of the intended recipient. If you are not the intended recipient, you are notified that any use, disclosure or copying of this email is unauthorised. If you have received this email in error, please notify us immediately by reply email and delete the original and any attachment(s). Thank you.
________________________________
| | | |
| robertsingers
Posts:458
 | | 07/12/2009 11:56 AM |
| So you think the question is "How do I query for the OU and all group membership (direct and indirect) of all users?".
________________________________ From: activedir-owner@mail.activedir.org [activedir-owner@mail.activedir.org] On Behalf Of Chauhan, Rajeev [Rajeev.Chauhan@hud.gov] Sent: Friday, 10 July 2009 10:13 p.m. To: 'activedir@mail.activedir.org' Subject: RE: [ActiveDir] how to get OU for a user
I believe Saswati is looking for complete distinguished name for users and groups both direct and indirect
From: activedir-owner@mail.activedir.org [mailto:activedir-owner@mail.activedir.org] On Behalf Of Robert Singers Sent: Thursday, July 09, 2009 7:38 PM To: activedir@mail.activedir.org Subject: RE: [ActiveDir] how to get OU for a user
Upon reflection of the question - informed by how my Tamil college uses the word "whether" - I think the question is
How can I query a user object to discover what OU it is contained in, based on the user being a direct or indirect member of a particular group.
And the answer would be I'd use the Quest AD cmdlets; either Get-QADGroupMember (-Indirect) or Get-QADUser (-IndirectMemberOf).
The rest of the PoSH would depend on what I was wanting to do with the output.
________________________________ From: activedir-owner@mail.activedir.org [mailto:activedir-owner@mail.activedir.org] On Behalf Of Gabriele Scolaro Sent: Friday, 10 July 2009 11:15 a.m. To: activedir@mail.activedir.org Subject: RE: [ActiveDir] how to get OU for a user Phew! You know, when reading tech things in a foreign language, when you don’t understand something you’re faced by a nasty dilemma: “Didn’t I understand because of the language or because of the complexity of the tech matter??” LOL! – Gabriele.
From: activedir-owner@mail.activedir.org [mailto:activedir-owner@mail.activedir.org] On Behalf Of Robert Singers Sent: venerdì 10 luglio 2009 1.06 To: activedir@mail.activedir.org Subject: RE: [ActiveDir] how to get OU for a user
Don't worry, I didn't understand the bit about group membership either :-)
________________________________ From: activedir-owner@mail.activedir.org [mailto:activedir-owner@mail.activedir.org] On Behalf Of Gabriele Scolaro Sent: Friday, 10 July 2009 10:57 a.m. To: activedir@mail.activedir.org Subject: RE: [ActiveDir] how to get OU for a user I read several times but I was not able to understand (prolly due to my poor language skills)…. 
- What's "all the OU information"? OU LDAP path? OU attributes? (e.g. description). - "user belongs directly or indirectly" to what? an OU or a Group?
Could you make an example?
Gabriele.
From: activedir-owner@mail.activedir.org [mailto:activedir-owner@mail.activedir.org] On Behalf Of Mahajan, Saswati Sent: venerdì 10 luglio 2009 0.12 To: activedir@mail.activedir.org Subject: [ActiveDir] how to get OU for a user
Hi,
How would I query to get all the OU information for a user whether user belongs directly or indirectly via group memberships.
Best, Saswati ________________________________ This e-mail message has been scanned for Viruses and cleared by NetIQ MailMarshal ________________________________ ________________________________ Please Note:
The information contained in this email message and any attached files may be confidential and subject to privilege. Any opinions expressed in this message are not necessarily those of the Department of Building and Housing. All technical opinions are offered on a ‘no-liability’ basis. This message and any files transmitted with it are confidential and solely for the use of the intended recipient. If you are not the intended recipient, you are notified that any use, disclosure or copying of this email is unauthorised. If you have received this email in error, please notify us immediately by reply email and delete the original and any attachment(s). Thank you.
________________________________ ________________________________ Please Note:
The information contained in this email message and any attached files may be confidential and subject to privilege. Any opinions expressed in this message are not necessarily those of the Department of Building and Housing. All technical opinions are offered on a ‘no-liability’ basis. This message and any files transmitted with it are confidential and solely for the use of the intended recipient. If you are not the intended recipient, you are notified that any use, disclosure or copying of this email is unauthorised. If you have received this email in error, please notify us immediately by reply email and delete the original and any attachment(s). Thank you.
________________________________
| | | |
|
|