Welcome to ServerForumz.com!
FAQFAQ      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" <rjwilson01 RemoveThis @yahoo.com> wrote in message
news:%237FdvCFHEHA.3196@tk2msftngp13.phx.gbl...
> 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]" <alan-no-drub-spam.DeleteThis@hotmail.com> wrote in message
news:erVtSveHEHA.3848@tk2msftngp13.phx.gbl...
>
> "Ross" <rjwilson01.DeleteThis@yahoo.com> wrote in message
> news:%237FdvCFHEHA.3196@tk2msftngp13.phx.gbl...
> > 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" <rjwilson01@ yah> wrote in message
news:OhyUiDSIEHA.3128@TK2MSFTNGP10.phx.gbl...
> 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]" <alan-no-drub-spam.RemoveThis@hotmail.com> wrote in message
> news:erVtSveHEHA.3848@tk2msftngp13.phx.gbl...
> >
> > "Ross" <rjwilson01.RemoveThis@yahoo.com> wrote in message
> > news:%237FdvCFHEHA.3196@tk2msftngp13.phx.gbl...
> > > 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:
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 add domain user to local group - How add a domain user to local group? I have a script to add a local user but I need a script to add domain user. Can you help me, please. Thanks.

Add domain user to local group script troubleshoot - I am trying the following script to add a domain user to a local group: Set objGroup = GetObject _ ("WinNT://remotecomputer/Administrators") Set objUser = GetObject _ ("LDAP://CN=username,OU=MyOU,OU=MyOU,DC=root,DC=mydomain,DC=org...

Problem with Group script.. - Hi! I attached this script to OU GPO -> Computer Configuration, Scripts, Logon: strComputer = "." sDomain = "domain" Set objGroup = GetObject("WinNT://" & strComputer & "/Power Users,group") Set objUse...

Uninstall script for Group Policy - I am running this script and everything works except for the obj.FSO.DeleteFolder("\asdf\afs") I am getting a Permission denied. I set up a group policy for an OU and this is in the Computer Startup script for logon, not user startup Set obj...
   Windows Server (Home) -> Windows Server Scripting All times are: Pacific Time (US & Canada) (change)
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 ]