I'm running an Apache server (v2.2.10) with mod_python, Python 2.5 and Django. I have a small web app that will show the current projects we have in CVS and allow users to make a build of the different projects (the build checks out the project, and copies certain files over with the source stripped out).
On the Django dev server, everything works fine. I can see the list of projects in cvs, check out, etc. On the production server (the Apache one) I get the following error:
[8009030d] The credentials supplied to the package were not recognized
I'm trying to log in to the CVS server using SSPI. Entering the same command into a shell will execute properly.
This is the code I'm using:
def __execute(self, command = ''):
command = 'cvs.exe -d :sspi:user:[email protected]:/Projects ls'
p = subprocess.Popen(command, stdout=subprocess.PIPE, stderr = subprocess.STDOUT, shell=True)
return p.communicate()
I've tried a number of different variations of things, and I can't seem to get it to work. Right now I believe that Apache is the culprit.
Any help would be appreciated