[Cvs-nserver-users] getting pserver/nserver working...
Brought to you by:
tyranny
From: Jens R. <mai...@ed...> - 2002-09-06 13:32:04
|
Hi there, perhaps anyone out there can help me. I'm getting stuck for hours now, and can't even imagine a way to get it working now. I've tried anything, I believe possible. I compiled the actual 1.11.1.4 version. installed to /usr. I've set up the repositories /CVS/PHP /CVS/JAVA and did a cvs init on them. Now I've compiled the checkpassword-pam package to use the pam to authenticate against a win2k domain. As you can see it's up an running: --cut-- root@cvsserver:~ # echo -e "econe\\jrosenthal\0steeler#\00"|checkpassword-pam -s cvspserver --stdin --stdout --debug Reading username and password Username 'econe\jrosenthal' Password read successfully Initializing PAM library using service name 'cvspserver' Pam library initialization succeeded conversation(): msg[0], style PAM_PROMPT_ECHO_OFF, msg = "Password: " Authentication passed Account management succeeded Setting PAM credentials succeeded Terminating PAM library Exiting with status 0 --/cut--- So it should be posible to get the server up, but I can't figure out how to set up the script to handle the network connection. I took the script from the INSTALL-file/FAQ: --cut-- #!/bin/sh exec /usr/bin/cvs-pserver /CVS/PHP /CVS/JAVA -- \ /usr/bin/checkpassword-pam /usr/bin/cvs pserver --/cut-- using this the result is the following: --cut-- root@cvsserver:~ # ngrep -e [a-zA-Z0-9] tcp port 2401 interface: eth0 (10.21.48.0/255.255.254.0) filter: ip and ( tcp port 2401 ) match: [a-zA-Z0-9] ###### T 10.0.11.149:3349 -> 10.21.48.217:2401 [AP] BEGIN VERIFICATION REQUEST. ### T 10.0.11.149:3349 -> 10.21.48.217:2401 [AP] /CVS/PHP:.econe\jrosenthal.AZ,dd'd O.END VERIFICATION REQUEST. ### T 10.21.48.217:2401 -> 10.0.11.149:3349 [AP] I HATE YOU. # T 10.21.48.217:2401 -> 10.0.11.149:3349 [AP] I HATE YOU. ##### --/cut-- experimenting delivered me a slightly better result: --cut-- #!/bin/sh /usr/local/bin/checkpassword-pam -- \ /usr/bin/cvs-pserver /CVS/PHP /CVS/JAVA -- \ /usr/bin/cvs pserver --/cut-- leads to this... --cut-- root@cvsserver:~ # ngrep -e [a-zA-Z0-9] tcp port 2401 interface: eth0 (10.21.48.0/255.255.254.0) filter: ip and ( tcp port 2401 ) match: [a-zA-Z0-9] ###### T 10.0.11.149:3350 -> 10.21.48.217:2401 [AP] BEGIN VERIFICATION REQUEST. ### T 10.0.11.149:3350 -> 10.21.48.217:2401 [AP] /CVS/PHP:.econe\jrosenthal.AZ,dd'd O.END VERIFICATION REQUEST. ### T 10.21.48.217:2401 -> 10.0.11.149:3350 [AP] I LOVE YOU. # T 10.21.48.217:2401 -> 10.0.11.149:3350 [AP] I LOVE YOU. ### T 10.21.48.217:2401 -> 10.0.11.149:3350 [AP] error unrecognized request `BEGIN VERIFICATION REQUEST'.error unrecognized request `/CVS/PHP:'.error unrecognized request `econe\jrosenthal'.error unrecognized request `AZ,dd'd O'.error un recognized request `END VERIFICATION REQUEST'. # T 10.21.48.217:2401 -> 10.0.11.149:3350 [AP] error unrecognized request `BEGIN VERIFICATION REQUEST'.error unrecognized request `/CVS/PHP:'.error unrecognized request `econe\jrosenthal'.error unrecognized request `AZ,dd'd O'.error un recognized request `END VERIFICATION REQUEST'. # --/cut-- I just can't find any way to even get it working without pam... I would appreciate any help I can get. thanx in advance, Jens |