Welcome to ServerForumz.com!
FAQFAQ    SearchSearch      ProfileProfile    Private MessagesPrivate Messages   Log inLog in

Script to add Group from a trusted domain

 
   Windows Server (Home) -> Windows Server Scripting RSS
Next:  Script Won't Run Scheduled as Another User  
Author Message
Ross

External


Since: Apr 07, 2004
Posts: 1



(Msg. 1) Posted: Wed Apr 07, 2004 11:30 am
Post subject: Script to add Group from a trusted domain
Archived from groups: microsoft>public>windows>server>scripting (more info?)

I am attempting to add groups from a trusted domain as members of groups on
my domain
I can do this for groups in the domain but not from another domain
I notice if I do it manually then list the members I get a result as
CN=S-1-5-21-2055828564-438778298-1367285435-70415,CN=ForeignSecurityPrincipa
ls,D
C=NA,DC=SYM,DC=com

I.e its a reference into the local domain

Does anyone know how to set this up so I can add the Foreign name in to my
domain and then add it in?

TIA

 >> Stay informed about: Script to add Group from a trusted domain 
Back to top
Login to vote
Al Dunbar [MS-MVP]

External


Since: Mar 14, 2004
Posts: 514



(Msg. 2) Posted: Thu Apr 08, 2004 10:33 pm
Post subject: Re: Script to add Group from a trusted domain [Login to view extended thread Info.]
Archived from groups: per prev. post (more info?)

"Ross" wrote in message

> I am attempting to add groups from a trusted domain as members of groups
on
> my domain
> I can do this for groups in the domain but not from another domain

What types of groups, domain local, global, or universal? Only certain
combinations are possible.

/Al

> I notice if I do it manually then list the members I get a result as
>
CN=S-1-5-21-2055828564-438778298-1367285435-70415,CN=ForeignSecurityPrincipa
> ls,D
> C=NA,DC=SYM,DC=com
>
> I.e its a reference into the local domain
>
> Does anyone know how to set this up so I can add the Foreign name in to my
> domain and then add it in?
>
> TIA
>
>
>

 >> Stay informed about: Script to add Group from a trusted domain 
Back to top
Login to vote
Ross

External


Since: Apr 13, 2004
Posts: 1



(Msg. 3) Posted: Tue Apr 13, 2004 2:30 pm
Post subject: Re: Script to add Group from a trusted domain [Login to view extended thread Info.]
Archived from groups: per prev. post (more info?)

Domain Global (in trusted domain) to Domain Local in trusting domain
I know its possible as I can do it manually
But when I do it manually it
adds an entry (with a CN= type entry ) into ForeignSecurityPrincipals
adds the ForeignSecurityPrincipals object into the Domain Local Group
and I'm trying to work out how to do that in a script


"Al Dunbar [MS-MVP]" wrote in message

>
> "Ross" wrote in message
>
> > I am attempting to add groups from a trusted domain as members of groups
> on
> > my domain
> > I can do this for groups in the domain but not from another domain
>
> What types of groups, domain local, global, or universal? Only certain
> combinations are possible.
>
> /Al
>
> > I notice if I do it manually then list the members I get a result as
> >
>
CN=S-1-5-21-2055828564-438778298-1367285435-70415,CN=ForeignSecurityPrincipa
> > ls,D
> > C=NA,DC=SYM,DC=com
> >
> > I.e its a reference into the local domain
> >
> > Does anyone know how to set this up so I can add the Foreign name in to
my
> > domain and then add it in?
> >
> > TIA
> >
> >
> >
>
>
 >> Stay informed about: Script to add Group from a trusted domain 
Back to top
Login to vote
Al Dunbar [MS-MVP]

External


Since: Mar 14, 2004
Posts: 514



(Msg. 4) Posted: Tue Apr 13, 2004 8:26 pm
Post subject: Re: Script to add Group from a trusted domain [Login to view extended thread Info.]
Archived from groups: per prev. post (more info?)

"Ross" wrote in message

> Domain Global (in trusted domain) to Domain Local in trusting domain
> I know its possible as I can do it manually
> But when I do it manually it
> adds an entry (with a CN= type entry ) into ForeignSecurityPrincipals
> adds the ForeignSecurityPrincipals object into the Domain Local Group
> and I'm trying to work out how to do that in a script

We have a single master domain model, so this does not come in to play at
all. Sorry...

/Al


> "Al Dunbar [MS-MVP]" wrote in message
>
> >
> > "Ross" wrote in message
> >
> > > I am attempting to add groups from a trusted domain as members of
groups
> > on
> > > my domain
> > > I can do this for groups in the domain but not from another domain
> >
> > What types of groups, domain local, global, or universal? Only certain
> > combinations are possible.
> >
> > /Al
> >
> > > I notice if I do it manually then list the members I get a result as
> > >
> >
>
CN=S-1-5-21-2055828564-438778298-1367285435-70415,CN=ForeignSecurityPrincipa
> > > ls,D
> > > C=NA,DC=SYM,DC=com
> > >
> > > I.e its a reference into the local domain
> > >
> > > Does anyone know how to set this up so I can add the Foreign name in
to
> my
> > > domain and then add it in?
> > >
> > > TIA
> > >
> > >
> > >
> >
> >
>
>
 >> Stay informed about: Script to add Group from a trusted domain 
Back to top
Login to vote
nadimaj

External


Since: Jun 07, 2007
Posts: 1



(Msg. 5) Posted: Thu Jun 07, 2007 3:55 pm
Post subject: Re: Script to add Group from a trusted domain [Login to view extended thread Info.]
Archived from groups: per prev. post (more info?)

Hey Ross, did you ever find a solution to this? I am working on exactly
the same thing.



--
nadimaj
------------------------------------------------------------------------
Posted via http://www.codecomments.com
------------------------------------------------------------------------
 >> Stay informed about: Script to add Group from a trusted domain 
Back to top
Login to vote
Display posts from previous:   
Related Topics:
Add Group to a Group in another trusted domain - Hi, I'm trying to script the addition of a global group from another domain. Is anyone able to point me in the right direction? The following works within a domain, but across them I get 'Unspecified Error'. TIA, Joe...

Add trusted users to domain local group - Hi, does anyone knows how to add users from a two-way trusted domain to a domain local group using VBScript? I've tried many possibilities, but all without success. Reading attributes from the trusted user is no problem, but adding the user to the..

Adding members of trusted domains to a security group - Hi, Is there any way to add members (foreign security principals) which are part of a trusted domain to a security group using script. Using GUI, I could able to do this by selecting the truted domain after clicking "locations" in "se...

Script to add a domain group to a local group - Hi, I am having difficulties writing a working script that will add a group on the domain to a local group from a text file list of servers. Any help would be appreciated! Mike

Script to get NT domain group info - Hi, I have this sample VB script to list user info in NT domain and output to csv file, now I want to list what groups the users belongs, how should I add in here? A user may belongs to miltiple group, I want them to be in the same cell in the .csv..
   Windows Server (Home) -> Windows Server Scripting All times are: Pacific Time (US & Canada)
Page 1 of 1

 
You can post new topics in this forum
You can reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum



[ Contact us | Terms of Service/Privacy Policy ]