X-Recipient: archive-cygwin AT delorie DOT com X-Spam-Check-By: sourceware.org From: Marc Horowitz To: cygwin AT cygwin DOT com Subject: Return of C1902 Date: Wed, 06 Aug 2008 04:12:35 -0400 Message-ID: User-Agent: Gnus/5.110004 (No Gnus v0.4) Emacs/22.1.50 (darwin) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT cygwin DOT com Mail-Followup-To: cygwin AT cygwin DOT com Delivered-To: mailing list cygwin AT cygwin DOT com I've got the current versions of cygwin and sshd installed on a windows box (the OS itself was only installed a couple days ago). I can ssh in using pubkey auth with no problem. However, I'm getting errors like LINK : fatal error LNK1101: incorrect MSPDB80.DLL version; recheck installation\ of this product when I try to build C++ apps with Visual Studio Express 2008. This isn't C1902, of course, but the symptoms are nearly the same. If I log in with a password, everything works fine. I see this issue has been discussed before: http://www.cygwin.com/ml/cygwin/2006-07/msg00577.html http://cygwin.com/ml/cygwin/2007-01/msg00651.html Corinna Vinschen implied that this problem has been fixed, but that does not seem to be the case for me. Is this still an outstanding bug? I also have a workaround, hopefully this will help someone else out there. Since my actual goal is to set up a continuous integration build engine, only one user needs to be able to log in remotely and run builds. I set up a second sshd, on an alternate port, which runs as a windows server as the build user instead of SYSTEM. The user name is ci, and I did the following, as that user in a cygwin shell: mkdir ~/.ssh ssh-keygen (with no password) cp /etc/sshd_config ~/.ssh/sshd_config edit ~/.ssh/sshd_config to set an alternate port number, and disable privilege separation cygrunsrv -I sshd-ci -p /usr/sbin/sshd -a "-D -f /home/ci/.ssh/sshd_config" Then, on the windows console, I brought up the Services manager (My Computer -> Manager -> Services and Applications -> Services), double-clicked the sshd-ci service, selected the "Log On" tab, clicked the "This account" radio button, and filled in the local user ci (actually ".\ci") and its password. After starting this sshd-ci service, I can now ssh in with a public key and successfully do a build. I can live with this, but if there is a fix I can use, I'd rather do it "right". Marc -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/problems.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/