Accessing CVS through Apache Service Using SSPI
I am running Apache server (v2.2.10) with mod_python, Python 2.5 and Django. I have a small web application that will show the current projects that we have in CVS and will allow users to build a build of various projects (build checks the project and copies certain files with disabled source code).
On the Django dev server everything works fine. I see a list of projects in cvs, check out, etc. On a production server (Apache) I get the following error:
[8009030d] The credentials provided in the package were not recognized
I am trying to log into a CVS server using SSPI. Typing the same command into the shell will work correctly.
This is the code I am using:
def __execute(self, command = ''):
command = 'cvs.exe -d :sspi:user:password@cvs-serv.example.com:/Projects ls'
p = subprocess.Popen(command, stdout=subprocess.PIPE, stderr = subprocess.STDOUT, shell=True)
return p.communicate()
I've tried several different variations of things and I can't seem to get it to work. Right now, I believe Apache is the culprit.
Any help would be appreciated
source to share