?
Solved

Net localgroup/net group cross domains

Posted on 2011-03-10
3
Medium Priority
?
1,421 Views
Last Modified: 2012-05-11
Hello,

I have the following situation:

- there are 2 domains: domain1.contoso.com and domain2.contoso.com.(parent-child trust between domain1-contoso and domain2-contoso).
- there is a user from domain2 which want to see all members from a group from domain1.

I`ve tried net group or net localgroup command, but is not working because the domain controller who process the command is the primary DC from domain2 and it doesn`t know who is a specific group from domain1.
/domain switch is not working and i`m not able to specify the DC or the domain where the command should be processed.

Any help?
Thank you!
0
Comment
Question by:andreibutu
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 2
3 Comments
 
LVL 85

Accepted Solution

by:
oBdA earned 2000 total points
ID: 35092969
Use the "ds"-tools instead.
dsquery group "dc=domain1,dc=contoso,dc=com" -name "The Group Name" | dsget group -members
Or to see expanded nested group membership:
dsquery group "dc=domain1,dc=contoso,dc=com" -name "The Group Name" | dsget group -members -expand
Or, if he knows the LDAP path, of course a single dsget will do the trick, too:
dsget group "cn=The Group Name,ou=SomeOU,ou=SomeGroups,dc=domain1,dc=contoso,dc=com" -members
0
 
LVL 3

Author Comment

by:andreibutu
ID: 35093973
yes, your solution is correct, now i`m adding some requirments... i must run such a command from a client computer which does not have admin pack installed in order to run ds tools :| .

what in that case?
0
 
LVL 85

Expert Comment

by:oBdA
ID: 35094022
Either install adminpak.msi (you can install a subset of the admin tools if you don't want all of them), or make the ds...exe tools available in a file share, they don't require a special installation as far as I know.
0

Featured Post

Office 365 Training for IT Pros

Learn how to provision tenants, synchronize on-premise Active Directory, implement Single Sign-On, customize Office deployment, and protect your organization with eDiscovery and DLP policies.  Only from Platform Scholar.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

After seeing many questions for JRNL_WRAP_ERROR for replication failure, I thought it would be useful to write this article.
This article provides a convenient collection of links to Microsoft provided Security Patches for operating systems that have reached their End of Life support cycle. Included operating systems covered by this article are Windows XP,  Windows Server…
This tutorial will walk an individual through the process of transferring the five major, necessary Active Directory Roles, commonly referred to as the FSMO roles from a Windows Server 2008 domain controller to a Windows Server 2012 domain controlle…
This Micro Tutorial hows how you can integrate  Mac OSX to a Windows Active Directory Domain. Apple has made it easy to allow users to bind their macs to a windows domain with relative ease. The following video show how to bind OSX Mavericks to …

719 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question