Can't programatically create a Domain group
From: Buddy Robbins (BuddysSpam_at_hotmail.com)
Date: 04/27/05
- Next message: Marcia Vollero via DotNetMonster.com: "WSE 2.0 -- SOAP Response with "Referenced security token could not be retrieved""
- Previous message: Mark A. Richman: "Re: EventLogPermission via caspol.exe"
- Next in thread: Joe Kaplan \(MVP - ADSI\): "Re: Can't programatically create a Domain group"
- Reply: Joe Kaplan \(MVP - ADSI\): "Re: Can't programatically create a Domain group"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] [ attachment ]
Date: Wed, 27 Apr 2005 07:55:59 -0600
Folks,
I have a windows 2k3 server (Euclid) that belongs to a w2k active directory
(BudTest is the server, budtest.com is the domain).
The service I wrote in VB.Net to run on Euclid has to create new groups on
budtest.com.
I copied the code from the microsoft web site:
http://msdn.microsoft.com/library/default.asp?url=/library/en-us/adam/adam/creating_groups.asp
The only change I made was to the LDAP address. I was able to do
Children.Find() and get a
response, so I'm pretty sure my LDAP address is right.
When I run it, when the code reaches the objGroup.CommitChanges line, it
throws an exception.
With a little digging, I got "The server is unwilling to process the
request."
My service runs under a domain account. I delegated control of the
appropriat OU to the account, and I even tried adding the account to the
domain administrators. Still nothing.
After google-ing the problem, it seems that the error message is a generic
response from the AD.
I don't suppose anyone can tell me what could be going on that the
off-the-shelf solution would throw errors?
Thanks in advance
Buddy Robbins
- Next message: Marcia Vollero via DotNetMonster.com: "WSE 2.0 -- SOAP Response with "Referenced security token could not be retrieved""
- Previous message: Mark A. Richman: "Re: EventLogPermission via caspol.exe"
- Next in thread: Joe Kaplan \(MVP - ADSI\): "Re: Can't programatically create a Domain group"
- Reply: Joe Kaplan \(MVP - ADSI\): "Re: Can't programatically create a Domain group"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] [ attachment ]
Relevant Pages
|
|