Re: Very big infrastructure - Please help
From: Roger Abell (mvpNOSpam_at_asu.edu)
Date: 02/12/05
- Previous message: Roger Abell: "Re: Very big infrastructure - Please help"
- In reply to: anonymous: "Very big infrastructure - Please help"
- Messages sorted by: [ date ] [ thread ]
Date: Sat, 12 Feb 2005 11:13:52 -0700
I should have added . . .
You need to be aware of where you execute and where
the manipulated object lives.
Ex. if executing on domain where group is and the
principal to be added is elsewhere, you can get the
principal with GC://, and use its DN stripped out
from the AdsPath property, to add to the local group
obtained with LDAP://
Ex. if executing where principal is defined, to add
to groups in other domains, you can use the ability
of ADSI monikers to specify what server to bind to
ldap://<server>/<dn-of-object> to get reference to
the group
Check the MSDN library docs on ADSI
--
Roger Abell
Microsoft MVP (Windows Security)
MCSE (W2k3,W2k,Nt4) MCDBA
"anonymous" <anonymous@discussions.microsoft.com> wrote in message
news:DDF7A2FB-BCAA-40F0-AF6A-14A188ED5695@microsoft.com...
> Hello!
>
> Please help me with this : if i could do this I prove that Microsoft
> infrastructures can be managed very easy no matter how many chiild domains
> exists.
>
> I have a root domain and 200 child domains Windows 2000 SP4.
> 1)I must add a user from the root domain to Cert Publishers group on every
> child domain- to have the property permission "write user certificate" on
> every child domain.How to do this with a script or anything else? .
> I found a script in Script Center but I want to run this script from a
> domain controller in root domain to be applied in all 200 child domains
but
> it doesn't work remote it adds only local user in the domain where is the
> server on which the script is executed. Error is "Server is unwilling to
> process the request"
>
> Const ADS_PROPERTY_APPEND = 3
>
> Set objGroup = GetObject _
> ("LDAP://cn=Atl-Users,cn=Users,dc=NA,dc=fabrikam,dc=com")
> objGroup.PutEx ADS_PROPERTY_APPEND, _
> "member", Array("cn=MyerKen,ou=Management,dc=NA,dc=fabrikam,dc=com")
> objGroup.SetInfo
>
> 2) I must add a permission property "write URL (Web page-Others) to a user
> in the root domain on all child domains.How to do this with a script or
> anything else?
>
> Please help me ,
> It's a very big problem
> Thank you in advance,
>
>
>
- Previous message: Roger Abell: "Re: Very big infrastructure - Please help"
- In reply to: anonymous: "Very big infrastructure - Please help"
- Messages sorted by: [ date ] [ thread ]
Relevant Pages
|