Hi Richard,
Thanks for your help. Windows OneCare on that computer was blocking the
action for Windows Script host which was causing it to fail.
After allowing access to the script host all was well.
Thanks again! You rock!
Cory
"Richard Mueller [MVP]" wrote:
> Cory J. Laidlaw wrote:
>
> 4B29-9BF9-8499BA328DF1@[EMAIL PROTECTED]
> > In a previous question, I was asking how to find a user in active
> > directory.
> >
> > Richard Mueller responded with a link to the following article:
> >
> > http://www.rlmueller.net/Search%20for%20Common%20Name.htm
> >
> > I downloaded and ran the code sample off of the web site. It works,
but
> > only
> > seems to work when I am logged into the domain with administrator
level
> > permissions. When I log in as a regular user, and run the Script, I
get an
> > error message "The Server is not operational", code 8007203A.
> >
> > My problem is that I don't want to give admin permissions to all the
users
> > running my application. I would be grateful for any ideas anyone can
send
> > my
> > way.
>
> In my testing the program works as long as you are authenticated to the
> domain. I think the necessary permissions are normally granted to
> "Authenticated Users". Either these permissions have been denied in your
> domain, or the users are not authenticated to the domain (perhaps they
are
> authenticate to the local computer). Which line number raises the error?
If
> it is the statement Set objRootDSE = GetObject("LDAP://RootDSE"), then
> perhaps the user is not authenticated to the domain. If the error is
raised
> on adoCommand.Execute then the user lacks permissions to read attributes
of
> user objects.
>
> --
> Richard Mueller
> MVP Directory Services
> Hilltop Lab - http://www.rlmueller.net
> --
>
>
>


|