Hi to everybody!
I am using CVS-NT (as a "normal" process) successfuly for serveral
months, but now I want to use CVS as a NT-service.

I am currently trying CVS-NT 1.11.1.2. I set up a server on WinNT with
SP6a, I have not problems to use the repository.

I want to use commitinfo to check wether a CVS-user is allowed to commit
somthing into a directory and check our coding-style-guide (csg). I
know, security can be achieved easier by using :ntserver: instead of
:pserver:, but at least the csg-stuff must be done with commitinfo.

I put the following line into "commitinfo"
�test /programme/cvsserver/checkit.cmd
If there is a commit in "test", so execute
"/programme/cvsserver/checkit.cmd".

checkid.cmd is called, the central part is
...
@<checkprogram> <parm> <parm> <parm>
@if ERRORLEVEL 1 goto end
...
:end
@exit %ERRORLEVEL%

checkprogram is a small programm written in C, which decides, if the
commit is allowed. In this case it returns "0" (OK), if there are errors
it returns "8" (NOT.OK).

If the checkprogram returns OK, the commit works fine and CVS does what
it has to do. If it returns NOT-OK, the CVS-Server hangs, until I
manually cancel the operation (I am using WinCVS 1.3b6 as a client).

Can somebody please tell me, what am I doing wrong?
--
Regards,
Ralf Hilgenberg
ISIS Paprus Deutschland GmbH | Voice: +49-211-4554 Ext. 732
Hansaallee 177               | Fax:   +49-211-4554 Ext. 750
40549 D�sseldorf, Germany    | EMail: [EMAIL PROTECTED]
_______________________________________________
Cvsnt mailing list
[EMAIL PROTECTED]
http://www.cvsnt.org/cgi-bin/mailman/listinfo/cvsnt

Reply via email to