Re: User objects cannot be created in the specified container
- From: "Joe Kaplan" <joseph.e.kaplan@xxxxxxxxxxxxxxxxxxxxxxxx>
- Date: Fri, 20 Jul 2007 14:47:30 -0500
What type of object is the CN=xxx object? If it is not an OU or a
container, this won't work. It sounds like you are trying to use a group
object. Groups are not container types.
Joe K.
--
Joe Kaplan-MS MVP Directory Services Programming
Co-author of "The .NET Developer's Guide to Directory Services Programming"
http://www.directoryprogramming.net
--
"chand" <chandmk@xxxxxxxxx> wrote in message
news:1184956704.256139.265320@xxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
Hi,
I am using ActiveDirectoryProvider to authenticate users (AD). If I
point my provider to the root of AD every thing works fine.
If I point the provider to a CN which has a group of users under a
nested container under root I am getting the following error.
Root --> OU1--> OU12--> CN
My connection is pointing to the CN.
"User objects cannot be created in the specified container"
I tried reflect over the AD provider and found that the provider is
failing at the following method,
DirectoryAttribute objectClass =
response.Entries[0].Attributes["objectClass"];
if (!this.ContainerIsSuperiorOfUser(objectClass))
{
throw new
ProviderException(SR.GetString("ADMembership_Container_not_superior"));
}
Is there a problem with configuration of AD?
Thanks,
chand
.
- Follow-Ups:
- References:
- Prev by Date: User objects cannot be created in the specified container
- Next by Date: Re: User objects cannot be created in the specified container
- Previous by thread: User objects cannot be created in the specified container
- Next by thread: Re: User objects cannot be created in the specified container
- Index(es):
Relevant Pages
|