Re: Trying to use NetJoinDomain API...
- From: "Michael D'Angelo" <nospam@xxxxxxxxxxxxxxx>
- Date: Mon, 27 Jun 2005 09:23:25 -0400
Nope I used the delegation wizard to set ACLs, and I also went in and added
additional permissions.
These are the permissions granted to the group, set at the domain level.
Create/Delete Printer Objects, Apply To: Computer Objects
Create/Delete Shared Folders, Apply To, Computer Objects
Create/Delete Computer Objects, Apply To: This object and all child objects
List Contents & Read Permissions, Apply To: This object and all child
objects
And the following right granted on Computer Objects:
List Contents
Read All Properties
Write All Properties
Read Permissions
All Validated Writes
Putting computers in without specifying an OU works fine, but if I pass an
OU to NetJoinDomain, it only works if the group is added to "Pre-Windows
2000 Compatible Access." I'm not sure what I'm missing.
Thanks,
NMDANGE
"Oli Restorick [MVP]" <oli@xxxxxxxx> wrote in message
news:%236hH5AYeFHA.616@xxxxxxxxxxxxxxxxxxxxxxx
> When you say you delegated "the ability to add computers to the domain",
> you're not referring to the NT right "Add Computers to the Domain", are
> you? If so, you're barking up the wrong tree.
>
> You need to use the delegation wizard to delegate to a group the ability
> to add (and possibly remove, depending on your needs) computer objects
> from the particular OU in question.
>
> Hope that helps
>
> Oli
>
>
>
> "Michael D'Angelo" <nospam@xxxxxxxxxxxxxxx> wrote in message
> news:OCPWzFPeFHA.220@xxxxxxxxxxxxxxxxxxxxxxx
>> Greetings,
>>
>> I've written a VB program which calls NetJoinDomain, with the purpose of
>> putting computers in a particular OU. If I use a domain admin, it works
>> fine. I created a group to which I delegated the ability to add
>> computers to the domain. Now if I try a user from that group, it only
>> works if I add the group to the "Pre-Windows 2000 Compatible Access"
>> group - or if I do not specify an OU when I call the API. I tried to
>> give the group the same permissions as PreWin2000 Compatible Access, but
>> no matter what I do, I get "Access is Denied." There are no failures in
>> the security audit on the DC to indicate what is being denied. Does
>> anyone know what permission specifically is needed?
>>
>> Thanks in advance
>> NMDANGE
>>
>
>
.
- References:
- Trying to use NetJoinDomain API...
- From: Michael D'Angelo
- Re: Trying to use NetJoinDomain API...
- From: Oli Restorick [MVP]
- Trying to use NetJoinDomain API...
- Prev by Date: Computer Account Password
- Next by Date: LSASS 100% Randomly
- Previous by thread: Re: Trying to use NetJoinDomain API...
- Next by thread: joining AD domain causes delay when switching between local printers
- Index(es):
Relevant Pages
|