After a bit more research on the problem, I found a discussion thread on
the web discussing a similar problem from 2006. The difference is that
the thread discusses scp connections dropping immediately after
non-administrator authentication.
http://winscp.net/forum/viewtopic.php?t=3782
A response to a thread from March of this year indicates that copying
all of the DLL files from cygwin\usr\bin to cygwin\usr\sbin as a
workaround. I've copied the DLL files on my server per the workaround
and now non-administrator users are able to use sftp.
I've attached a copy of cygcheck.out from the server where this is
happening.
Cygwin Configuration Diagnostics
Current System Time: Sun Jul 19 20:21:18 2009
Windows 2003 Web Server Ver 5.2 Build 3790 Service Pack 2
Path: D:\Program Files\Windows Resource Kits\Tools\
d:\antiword\
C:\WINDOWS\system32
C:\WINDOWS
C:\WINDOWS\System32\Wbem
C:\Program Files\Microsoft SQL Server\80\Tools\Binn\
D:\cygwin\bin
Output from D:\cygwin\bin\id.exe (nontsec)
UID: 500(Administrator) GID: 513(None)
513(None) 544(Administrators) 545(Users)
Output from D:\cygwin\bin\id.exe (ntsec)
UID: 500(Administrator) GID: 513(None)
513(None) 544(Administrators) 545(Users)
SysDir: C:\WINDOWS\system32
WinDir: C:\WINDOWS
CYGWIN = 'binmode ntsec'
Path = 'D:\Program Files\Windows Resource
Kits\Tools\;d:\antiword\;C:\WINDOWS\system32;C:\WINDOWS;C:\WINDOWS\System32\Wbem;C:\Program
Files\Microsoft SQL Server\80\Tools\Binn\;D:\cygwin\bin'
ALLUSERSPROFILE = 'C:\Documents and Settings\All Users'
APPDATA = 'C:\Documents and Settings\Administrator\Application Data'
CommonProgramFiles = 'C:\Program Files\Common Files'
COMPUTERNAME = 'TIG-WEB-01'
ComSpec = 'C:\WINDOWS\system32\cmd.exe'
FP_NO_HOST_CHECK = 'NO'
HOMEDRIVE = 'C:'
HOMEPATH = '\Documents and Settings\Administrator'
LOGONSERVER = '\\TIG-WEB-01'
NUMBER_OF_PROCESSORS = '4'
OS = 'Windows_NT'
PATHEXT = '.COM;.EXE;.BAT;.CMD;.VBS;.VBE;.JS;.JSE;.WSF;.WSH'
PROCESSOR_ARCHITECTURE = 'x86'
PROCESSOR_IDENTIFIER = 'x86 Family 15 Model 4 Stepping 1, GenuineIntel'
PROCESSOR_LEVEL = '15'
PROCESSOR_REVISION = '0401'
ProgramFiles = 'C:\Program Files'
PROMPT = '$P$G'
SESSIONNAME = 'Console'
SystemDrive = 'C:'
SystemRoot = 'C:\WINDOWS'
TEMP = 'C:\DOCUME~1\ADMINI~1\LOCALS~1\Temp'
TMP = 'C:\DOCUME~1\ADMINI~1\LOCALS~1\Temp'
USERDOMAIN = 'TIG-WEB-01'
USERNAME = 'Administrator'
USERPROFILE = 'C:\Documents and Settings\Administrator'
windir = 'C:\WINDOWS'
HKEY_CURRENT_USER\Software\Cygnus Solutions
HKEY_CURRENT_USER\Software\Cygnus Solutions\Cygwin
HKEY_CURRENT_USER\Software\Cygnus Solutions\Cygwin\mounts v2
HKEY_CURRENT_USER\Software\Cygnus Solutions\Cygwin\Program Options
HKEY_LOCAL_MACHINE\SOFTWARE\Cygnus Solutions
HKEY_LOCAL_MACHINE\SOFTWARE\Cygnus Solutions\Cygwin
HKEY_LOCAL_MACHINE\SOFTWARE\Cygnus Solutions\Cygwin\mounts v2
(default) = '/cygdrive'
cygdrive flags = 0x00000022
HKEY_LOCAL_MACHINE\SOFTWARE\Cygnus Solutions\Cygwin\mounts v2\/
(default) = 'D:\cygwin'
flags = 0x0000000a
HKEY_LOCAL_MACHINE\SOFTWARE\Cygnus Solutions\Cygwin\mounts v2\/usr/bin
(default) = 'D:\cygwin/bin'
flags = 0x0000000a
HKEY_LOCAL_MACHINE\SOFTWARE\Cygnus Solutions\Cygwin\mounts v2\/usr/lib
(default) = 'D:\cygwin/lib'
flags = 0x0000000a
HKEY_LOCAL_MACHINE\SOFTWARE\Cygnus Solutions\Cygwin\Program Options
a: fd N/A N/A
c: hd NTFS 12291Mb 82% CP CS UN PA FC
d: hd NTFS 127547Mb 5% CP CS UN PA FC
e: cd N/A N/A
m: net NTFS 127547Mb 3% CP CS UN PA FC
D:\cygwin / system binmode
D:\cygwin/bin /usr/bin system binmode
D:\cygwin/lib /usr/lib system binmode
. /cygdrive system binmode,cygdrive
Found: D:\cygwin\bin\awk.exe
Found: D:\cygwin\bin\bash.exe
Found: D:\cygwin\bin\cat.exe
Found: D:\cygwin\bin\cp.exe
Not Found: cpp (good!)
Not Found: crontab
Found: D:\cygwin\bin\find.exe
Not Found: gcc
Not Found: gdb
Found: D:\cygwin\bin\grep.exe
Found: D:\cygwin\bin\kill.exe
Not Found: ld
Found: D:\cygwin\bin\ls.exe
Not Found: make
Found: D:\cygwin\bin\mv.exe
Not Found: patch
Not Found: perl
Found: D:\cygwin\bin\rm.exe
Found: D:\cygwin\bin\sed.exe
Found: D:\cygwin\bin\ssh.exe
Found: D:\cygwin\bin\sh.exe
Found: D:\cygwin\bin\tar.exe
Found: D:\cygwin\bin\test.exe
Not Found: vi
Not Found: vim
61k 2009/03/02 D:\cygwin\bin\cygbz2-1.dll - os=4.0 img=1.0 sys=4.0
"cygbz2-1.dll" v0.0 ts=2009/3/1 20:52
7k 2003/10/19 D:\cygwin\bin\cygcrypt-0.dll - os=4.0 img=1.0 sys=4.0
"cygcrypt-0.dll" v0.0 ts=2003/10/19 2:57
1075k 2009/03/25 D:\cygwin\bin\cygcrypto-0.9.8.dll - os=4.0 img=1.0 sys=4.0
"cygcrypto-0.9.8.dll" v0.0 ts=2009/3/25 12:21
40k 2009/03/01 D:\cygwin\bin\cygform-8.dll - os=4.0 img=1.0 sys=4.0
"cygform-8.dll" v0.0 ts=2009/2/28 20:40
41k 2009/03/27 D:\cygwin\bin\cygform-9.dll - os=4.0 img=1.0 sys=4.0
"cygform-9.dll" v0.0 ts=2009/3/26 19:37
48k 2003/08/09 D:\cygwin\bin\cygform7.dll - os=4.0 img=1.0 sys=4.0
"cygform7.dll" v0.0 ts=2003/8/9 4:25
42k 2009/03/12 D:\cygwin\bin\cyggcc_s-1.dll - os=4.0 img=1.0 sys=4.0
"cyggcc_s-1.dll" v0.0 ts=2009/3/6 5:54
24k 2009/06/23 D:\cygwin\bin\cyghistory6.dll - os=4.0 img=1.0 sys=4.0
"cyghistory6.dll" v0.0 ts=2009/6/23 7:20
270k 2009/04/23 D:\cygwin\bin\cygicons-0.dll - os=4.0 img=1.0 sys=4.0
"cygicons-0.dll" v0.0 ts=2009/4/22 21:25
982k 2009/05/30 D:\cygwin\bin\cygiconv-2.dll - os=4.0 img=1.0 sys=4.0
"cygiconv-2.dll" v0.0 ts=2009/5/30 13:38
37k 2003/08/10 D:\cygwin\bin\cygintl-2.dll - os=4.0 img=1.0 sys=4.0
"cygintl-2.dll" v0.0 ts=2003/8/10 16:50
31k 2005/11/20 D:\cygwin\bin\cygintl-3.dll - os=4.0 img=1.0 sys=4.0
"cygintl-3.dll" v0.0 ts=2005/11/19 20:04
31k 2009/06/07 D:\cygwin\bin\cygintl-8.dll - os=4.0 img=1.0 sys=4.0
"cygintl-8.dll" v0.0 ts=2009/6/7 16:42
21k 2009/03/01 D:\cygwin\bin\cygmenu-8.dll - os=4.0 img=1.0 sys=4.0
"cygmenu-8.dll" v0.0 ts=2009/2/28 20:38
21k 2009/03/27 D:\cygwin\bin\cygmenu-9.dll - os=4.0 img=1.0 sys=4.0
"cygmenu-9.dll" v0.0 ts=2009/3/26 19:36
29k 2003/08/09 D:\cygwin\bin\cygmenu7.dll - os=4.0 img=1.0 sys=4.0
"cygmenu7.dll" v0.0 ts=2003/8/9 4:25
24k 2008/10/30 D:\cygwin\bin\cygminires.dll - os=4.0 img=1.2 sys=4.0
"cygminires.dll" v0.0 ts=2008/10/30 18:53
66k 2009/03/01 D:\cygwin\bin\cygncurses++-8.dll - os=4.0 img=1.0 sys=4.0
"cygncurses++-8.dll" v0.0 ts=2009/2/28 20:50
335k 2009/03/27 D:\cygwin\bin\cygncurses++-9.dll - os=4.0 img=1.0 sys=4.0
"cygncurses++-9.dll" v0.0 ts=2009/3/26 19:45
237k 2009/03/01 D:\cygwin\bin\cygncurses-8.dll - os=4.0 img=1.0 sys=4.0
"cygncurses-8.dll" v0.0 ts=2009/2/28 20:36
165k 2009/03/27 D:\cygwin\bin\cygncurses-9.dll - os=4.0 img=1.0 sys=4.0
"cygncurses-9.dll" v0.0 ts=2009/3/26 19:34
224k 2003/08/09 D:\cygwin\bin\cygncurses7.dll - os=4.0 img=1.0 sys=4.0
"cygncurses7.dll" v0.0 ts=2003/8/9 4:24
11k 2009/03/01 D:\cygwin\bin\cygpanel-8.dll - os=4.0 img=1.0 sys=4.0
"cygpanel-8.dll" v0.0 ts=2009/2/28 20:38
11k 2009/03/27 D:\cygwin\bin\cygpanel-9.dll - os=4.0 img=1.0 sys=4.0
"cygpanel-9.dll" v0.0 ts=2009/3/26 19:36
19k 2003/08/09 D:\cygwin\bin\cygpanel7.dll - os=4.0 img=1.0 sys=4.0
"cygpanel7.dll" v0.0 ts=2003/8/9 4:24
181k 2008/09/07 D:\cygwin\bin\cygpcre-0.dll - os=4.0 img=1.0 sys=4.0
"cygpcre-0.dll" v0.0 ts=2008/9/6 22:36
302k 2008/09/07 D:\cygwin\bin\cygpcrecpp-0.dll - os=4.0 img=1.0 sys=4.0
"cygpcrecpp-0.dll" v0.0 ts=2008/9/6 22:36
7k 2008/09/07 D:\cygwin\bin\cygpcreposix-0.dll - os=4.0 img=1.0 sys=4.0
"cygpcreposix-0.dll" v0.0 ts=2008/9/6 22:36
22k 2002/06/09 D:\cygwin\bin\cygpopt-0.dll - os=4.0 img=1.0 sys=4.0
"cygpopt-0.dll" v0.0 ts=2002/6/9 0:45
155k 2009/06/23 D:\cygwin\bin\cygreadline6.dll - os=4.0 img=1.0 sys=4.0
"cygreadline6.dll" v0.0 ts=2009/6/23 7:20
232k 2009/03/25 D:\cygwin\bin\cygssl-0.9.8.dll - os=4.0 img=1.0 sys=4.0
"cygssl-0.9.8.dll" v0.0 ts=2009/3/25 12:22
66k 2009/03/27 D:\cygwin\bin\cygtic-9.dll - os=4.0 img=1.0 sys=4.0
"cygtic-9.dll" v0.0 ts=2009/3/26 19:31
22k 2009/03/29 D:\cygwin\bin\cygwrap-0.dll - os=4.0 img=1.0 sys=4.0
"cygwrap-0.dll" v0.0 ts=2009/3/29 1:09
65k 2009/03/02 D:\cygwin\bin\cygz.dll - os=4.0 img=1.0 sys=4.0
"cygz.dll" v0.0 ts=2009/3/1 19:19
1829k 2008/06/12 D:\cygwin\bin\cygwin1.dll - os=4.0 img=1.0 sys=4.0
"cygwin1.dll" v0.0 ts=2008/6/12 12:35
Cygwin DLL version info:
DLL version: 1.5.25
DLL epoch: 19
DLL bad signal mask: 19005
DLL old termios: 5
DLL malloc env: 28
API major: 0
API minor: 156
Shared data: 4
DLL identifier: cygwin1
Mount registry: 2
Cygnus registry name: Cygnus Solutions
Cygwin registry name: Cygwin
Program options name: Program Options
Cygwin mount registry name: mounts v2
Cygdrive flags: cygdrive flags
Cygdrive prefix: cygdrive prefix
Cygdrive default prefix:
Build date: Thu Jun 12 19:34:46 CEST 2008
CVS tag: cr-0x5f1
Shared id: cygwin1S4
Potential app conflicts:
ZoneAlarm Personal Firewall
Detected: HKLM Registry Key.
Service : sshd
Display name : CYGWIN sshd
Current State : Running
Controls Accepted : Stop
Command : /usr/sbin/sshd -D
stdin path : /dev/null
stdout path : /var/log/sshd.log
stderr path : /var/log/sshd.log
Environment : CYGWIN="ntsec"
Process Type : Own Process
Startup : Automatic
Dependencies : tcpip
Account : .\cyg_server
Cygwin Package Information
Last downloaded files to: D:\tmp
Last downloaded files from: http://mirror.mcs.anl.gov/cygwin/
Package Version
_update-info-dir 00827-1
alternatives 1.3.30c-3
ash 20040127-4
base-files 3.7-1
base-passwd 2.2-1
bash 3.2.49-22
bzip2 1.0.5-3
coreutils 6.10-2
crypt 1.1-1
csih 0.2.0-1
cygrunsrv 1.34-1
cygutils 1.3.4-1
cygwin 1.5.25-15
cygwin-doc 1.4-4
diffutils 2.8.7-1
editrights 1.01-2
emacs 21.2-13
findutils 4.4.0-3
gawk 3.1.6-1
gettext 0.17-4
grep 2.5.3-1
groff 1.19.2-2
gzip 1.3.12-2
less 382-1
libbz2_1 1.0.5-3
libgcc1 4.3.2-2
libiconv2 1.13-1
libintl2 0.12.1-3
libintl3 0.14.5-1
libintl8 0.17-4
libncurses7 5.3-4
libncurses8 5.5-4
libncurses9 5.7-5
libpcre0 7.8-1
libpopt0 1.6.4-4
libreadline6 5.2.14-12
libwrap0 7.6-6
login 1.10-1
man 1.6e-1
minires 1.02-1
openssh 5.1p1-10
openssl 0.9.8k-1
rebase 3.0-2
run 1.1.10-1
rxvt 20050409-11
sed 4.1.5-2
tar 1.21-1
termcap 20050421-1
terminfo 5.7_20090228-1
terminfo0 5.5_20061104-2
texinfo 4.13-3
tzcode 2008h-1
which 2.20-1
xemacs-emacs-common 21.4.22-1
zlib 1.2.3-3
zlib-devel 1.2.3-3
zlib0 1.2.3-3
Use -h to see help about each section
--
Problem reports: http://cygwin.com/problems.html
FAQ: http://cygwin.com/faq/
Documentation: http://cygwin.com/docs.html
Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple