in reply to Problems with Win32::OLE and ADSI

From memory (and from a system I don't have access to), there's a permissions issue related to the user that IIS is set up to run as, and what permissions that user has to access certain resources. This prevented me from doing certain COM stuff until I'd changed the user (via the Services control panel?) that IIS ran under, and gave that user certain additional permissions. Specifics beyond that are hazy. Hope that helps.

Replies are listed 'Best First'.
Re: Re: Problems with Win32::OLE and ADSI
by blm (Hermit) on Sep 09, 2002 at 03:55 UTC

    It seems as though he is trying to get arount that by specifying alternative credentials with the OpenDSObject() call.

    Unfortunately I cannot test this where I am at the moment but...

    You could try NTLM integrated authentication if the client machine and server are in the same domain and log onto the client computer as a Domain Admin. That could make it work.

    Another thing to try is switch to Basic Authenication. It the user logs in with a username and password that is an domain admin does the code work?