Subject: Re: Bug in Cygwin SSHD on windows XP
From: Frank-Michael Moser <[email-masked]>
To: [email-masked]
Date: Thu, 28 Nov 2002 14:31:28 +0100

Max Bowsher wrote:
> Try:
> CYGWIN=ntsec getfacl /cygdrive/c/WINDOWS/system32/wsock32.dll
> CYGWIN=ntsec getfacl /cygdrive/c/WINDOWS/system32/ws2_32.dll
> 
> Who knows, it might help find the problem.

I'm not sure what you mean but I tried

$ cygrunsrv --install sshd --disp "SSH daemon" --path /usr/sbin/sshd.exe 
--args "-d" --env CYGWIN="ntsec getfacl 
/cygdrive/c/WINDOWS/system32/wsock32.dll"

and attached the resulting debug output. What should I expect or examine?

Frank-Michael
Last login: Thu Nov 28 14:06:49 2002 from localhost

Fanfare!!!
You are successfully logged in to this server!!!
debug1: permanently_set_uid: 1005/513

Environment:
  ALLUSERSPROFILE=C:\Dokumente und Einstellungen\All Users
  COMMONPROGRAMFILES=C:\Programme\Gemeinsame Dateien
  COMPUTERNAME=PIP
  COMSPEC=C:\WINDOWS\system32\cmd.exe
  CYGWIN=ntsec getfacl /cygdrive/c/WINDOWS/system32/wsock32.dll
  HOME=/home/moser
  HOMEPATH=
  NUMBER_OF_PROCESSORS=1
  OS=Windows_NT
  PATH=/cygdrive/c/Programme/system:/cygdrive/c/WINDOWS/system32:/cygdrive/c/WINDOWS:/cygdrive/c/WINDOWS/System32/Wbem:/cygdrive/c/Programme/Network Associates/PGPcmdln:/bin
  PATHEXT=.COM;.EXE;.BAT;.CMD;.VBS;.VBE;.JS;.JSE;.WSF;.WSH
  PROCESSOR_ARCHITECTURE=x86
  PROCESSOR_IDENTIFIER=x86 Family 15 Model 2 Stepping 4, GenuineIntel
  PROCESSOR_LEVEL=15
  PROCESSOR_REVISION=0204
  PROGRAMFILES=C:\Programme
  SYSTEMDRIVE=C:
  SYSTEMROOT=C:\WINDOWS
  TEMP=/cygdrive/c/WINDOWS/TEMP
  TERM=rxvt-cygwin-native
  TMP=/cygdrive/c/WINDOWS/TEMP
  USERDOMAIN=NT-AUTORITÄT
  USERNAME=SYSTEM
  USERPROFILE=C:\Dokumente und Einstellungen\LocalService
  WINDIR=C:\WINDOWS
  TZ=   -1   -2,M3.5.0/2,M10.5.0/3
  USER=moser
  LOGNAME=moser
  MAIL=/var/spool/mail/moser
  SHELL=/bin/bash
  SSH_CLIENT=127.0.0.1 1401 22
  SSH_CONNECTION=127.0.0.1 1401 127.0.0.1 22
  SSH_TTY=/dev/tty1
C:\cygwin\bin\bash.exe: *** could not load wsock32, Win32 error 126

--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Bug reporting:         http://cygwin.com/bugs.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/