LDAP

From: vinay (vinay_at_discussions.microsoft.com)
Date: 04/27/05


Date: Wed, 27 Apr 2005 08:56:04 -0700

Hi

I am using ADAM as i am using XP prof.
I am getting error while creating new GROUP.

"System.UnauthorizedAccessException - General access denied error"

Dim de As DirectoryEntry = New
DirectoryEntry("LDAP://localhost:389/CN=Builtin,DC=XXX,DC=com")

 Dim newProcCntr As DirectoryEntry = newGroup.Children.Add("CN=" &
txtProcessName.Text, "group")

Dim newGroup As DirectoryEntry = de.Children.Add("CN=vs3." +
txtNewGroup.Text, "group")

newGroup.CommitChanges()
 newProcCntr.CommitChanges()

Any suggestions?

-- 
http://pathidotnet.blogspot.com
=====
vInAypAtHi
   o__
---_,>/'_------
  (_) \(_)
---------------


Relevant Pages

  • Re: LDAP
    ... I am using ADAM as i am using XP prof. ... "System.UnauthorizedAccessException - General access denied error" ... Dim de As DirectoryEntry = New ... >> It will more like creating Process Control Groups and assigning the Groups ...
    (microsoft.public.dotnet.framework.aspnet.security)
  • Delete from ADAM schema
    ... When I try to delete a classSchema class from the ADAM ... schema I get an "Access Denied error". ... the Administrator. ...
    (microsoft.public.windows.server.active_directory)