[cvsnt] Re: Is it possible to run an update using a cgi script Apache/PHP running as LocalSystem using sspi on Win2000.
Glen Starrett
grstarrett at cox.net
Wed Jul 14 17:47:55 BST 2004
Mike Wake wrote:
> Hi Everyone,
>
> Is this Scenario possible? If so how do I initially get LocalSystem to
> do a cvs d :sspi:domain\user at cvshost:/Intranet login?
I'm not sure if that would work under local system since it tries to
store the login info to the user's registry, and I don't know if
LocalSystem has a user registry key for itself?? You could set up a
user with a blank password, but that's not such a good idea in general.
>
> More Details:
> CVSNT service on one Win2k Box (cvshost)
> Apache service on another Win2k Box (httphost) running as LocalSystem.
>
> Some HTML served like this
> <form name="CVS" action='update.php' method='post'>
> <input type='submit' name='update' value='Update Page'>
> </form>
>
> With a corresponding .php script containing something like this.
> <pre>
> <?php
> passthru("cvs -d :sspi:domain\user at cvshost:/Intranet update -Pd 2>&1");
> ?>
> </pre>
>
>
> Cheers
> Mikew
--
Glen Starrett
More information about the cvsnt
mailing list