* Re: accept doesn't block while running as NT service
@ 2003-08-22 9:03 linamat
2003-08-22 10:43 ` proftpd Mauri
0 siblings, 1 reply; 22+ messages in thread
From: linamat @ 2003-08-22 9:03 UTC (permalink / raw)
To: cygwin
As Corinna said "debugging could help" and she was right.
One of my functions closed file descriptors 0 and 1 after successfull
listen() call. Socket fd is 0 in my case. And so accept()'s errno was EBADF.
Now my service is working.
--
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/
^ permalink raw reply [flat|nested] 22+ messages in thread
* proftpd
2003-08-22 9:03 accept doesn't block while running as NT service linamat
@ 2003-08-22 10:43 ` Mauri
2003-08-22 17:01 ` proftpd Eduardo Osorio Armenta
` (3 more replies)
0 siblings, 4 replies; 22+ messages in thread
From: Mauri @ 2003-08-22 10:43 UTC (permalink / raw)
To: cygwin
I need use this ftp server, but when I run /usr/sbin/proftpd.exe it
don't run itself
$ /usr/sbin/proftpd.exe
EQUIPO5 - unable to set uid to 18, current uid: 500
can somebody help me, please?
I'm newbie in linux, cygwin and english :-D
sorry for my english
--
Mauri(spain) mailto:Theasker_@terra.es
Linux user: #267236 (sep 1999)
--
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/
^ permalink raw reply [flat|nested] 22+ messages in thread
* Re: proftpd
2003-08-22 10:43 ` proftpd Mauri
@ 2003-08-22 17:01 ` Eduardo Osorio Armenta
2003-08-22 17:48 ` proftpd Hannu E K Nevalainen (garbage mail)
` (2 subsequent siblings)
3 siblings, 0 replies; 22+ messages in thread
From: Eduardo Osorio Armenta @ 2003-08-22 17:01 UTC (permalink / raw)
To: cygwin; +Cc: Theasker_
[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #1: Type: text/plain; charset=us-ascii, Size: 1115 bytes --]
Hola Mauri
checate esta dirección:
http://www.adamswann.com/library/2001/Cygwin-Inetd.html
saludos
--- Mauri <Theasker_@terra.es> wrote:
> I need use this ftp server, but when I run
> /usr/sbin/proftpd.exe it
> don't run itself
>
> $ /usr/sbin/proftpd.exe
> EQUIPO5 - unable to set uid to 18, current uid: 500
>
> can somebody help me, please?
>
> I'm newbie in linux, cygwin and english :-D
> sorry for my english
> --
> Mauri(spain) mailto:Theasker_@terra.es
> Linux user: #267236 (sep 1999)
>
>
> --
> 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/
>
__________________________________
Do you Yahoo!?
Yahoo! SiteBuilder - Free, easy-to-use web site design software
http://sitebuilder.yahoo.com
--
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/
^ permalink raw reply [flat|nested] 22+ messages in thread
* RE: proftpd
2003-08-22 10:43 ` proftpd Mauri
2003-08-22 17:01 ` proftpd Eduardo Osorio Armenta
@ 2003-08-22 17:48 ` Hannu E K Nevalainen (garbage mail)
2003-09-01 6:56 ` Re[2]: proftpd Mauri
2003-08-22 19:40 ` proftpd GDN_Cygwin
2003-08-24 22:23 ` proftpd Jason Tishler
3 siblings, 1 reply; 22+ messages in thread
From: Hannu E K Nevalainen (garbage mail) @ 2003-08-22 17:48 UTC (permalink / raw)
To: cygwin
> From: cygwin-owner@cygwin.com [mailto:cygwin-owner@cygwin.com]On Behalf
> Of Mauri
> I need use this ftp server, but when I run /usr/sbin/proftpd.exe it
> don't run itself
>
> $ /usr/sbin/proftpd.exe
> EQUIPO5 - unable to set uid to 18, current uid: 500
To me this indicates problems with user authentication.
That is the contents of "/etc/group" and|or "/etc/passwd" files
or something else that is related to those.
To be able to tell - more information is needed. (Please do read
www.cygwin.com/problems.html for instructions)
i.e. _attach_ the output of "cygcheck -svr" to an email and send it here.
> can somebody help me, please?
>
> I'm newbie in linux, cygwin and english :-D
> sorry for my english
No need to be sorry for that, IMO!
/Hannu E K Nevalainen, B.Sc. EE Microcomputer systems - 59?16.37'N,
17?12.60'E
--END OF MESSAGE--
--
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/
^ permalink raw reply [flat|nested] 22+ messages in thread
* Re[2]: proftpd
2003-08-22 17:48 ` proftpd Hannu E K Nevalainen (garbage mail)
@ 2003-09-01 6:56 ` Mauri
2003-09-01 15:42 ` Hannu E K Nevalainen (garbage mail)
0 siblings, 1 reply; 22+ messages in thread
From: Mauri @ 2003-09-01 6:56 UTC (permalink / raw)
To: cygwin
[-- Attachment #1: Type: text/plain, Size: 3561 bytes --]
Hola Hannu,
Con fecha viernes, 22 de agosto de 2003, 18:59:18, escribió:
HEKNgm> Return-Path: <cygwin-return-79536-theasker_=terra.es@cygwin.com>
HEKNgm> Received: from tsmtp1.mail.isp ([10.20.4.21]) by mb2.terra.es
HEKNgm> (terra.es) with ESMTP id HK15Y501.43C for <theasker_@terra.es>;
HEKNgm> Fri, 22 Aug 2003 19:01:17 +0200
HEKNgm> Received: from sources.redhat.com ([67.72.78.213]) by
HEKNgm> tsmtp1.mail.isp (terra.es) with SMTP id HK15Y000.8OX for
HEKNgm> <theasker_@terra.es>; Fri, 22 Aug 2003 19:01:12 +0200
HEKNgm> Received: (qmail 23340 invoked by alias); 22 Aug 2003 17:01:02 -0000
HEKNgm> Mailing-List: contact cygwin-help@cygwin.com; run by ezmlm
HEKNgm> Precedence: bulk
HEKNgm> List-Unsubscribe: <mailto:cygwin-unsubscribe-theasker_=terra.es@cygwin.com>
HEKNgm> List-Subscribe: <mailto:cygwin-subscribe@cygwin.com>
HEKNgm> List-Archive: <http://sources.redhat.com/ml/cygwin/>
HEKNgm> List-Post: <mailto:cygwin@cygwin.com>
HEKNgm> List-Help: <mailto:cygwin-help@cygwin.com>, <http://sources.redhat.com/ml/#faqs>
HEKNgm> Sender: cygwin-owner@cygwin.com
HEKNgm> Mail-Followup-To: cygwin@cygwin.com
HEKNgm> Delivered-To: mailing list cygwin@cygwin.com
HEKNgm> Received: (qmail 23322 invoked from network); 22 Aug 2003 17:01:01 -0000
HEKNgm> Received: from unknown (HELO smtp5.hy.skanova.net) (195.67.199.134)
HEKNgm> by sources.redhat.com with SMTP; 22 Aug 2003 17:01:01 -0000
HEKNgm> Received: from P450 (t5o73p9.telia.com [213.64.24.9])
HEKNgm> by smtp5.hy.skanova.net (8.12.9/8.12.9) with SMTP id h7MH10pP009238
HEKNgm> for <cygwin@cygwin.com>; Fri, 22 Aug 2003 19:01:00 +0200 (CEST)
HEKNgm> From: "Hannu E K Nevalainen \(garbage mail\)" <garbage_collector@telia.com>
HEKNgm> To: <cygwin@cygwin.com>
HEKNgm> Subject: RE: proftpd
HEKNgm> Date: Fri, 22 Aug 2003 18:59:18 +0200
HEKNgm> Message-ID: <NGBBLLIAMFLGJEOAJCCEOECJDDAA.garbage_collector@telia.com>
HEKNgm> MIME-Version: 1.0
HEKNgm> Content-Type: text/plain;
HEKNgm> charset="us-ascii"
HEKNgm> Content-Transfer-Encoding: 7bit
HEKNgm> X-Priority: 3 (Normal)
HEKNgm> X-MSMail-Priority: Normal
HEKNgm> Importance: Normal
HEKNgm> In-Reply-To: <4572553921.20030822103515@terra.es>
HEKNgm> X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1165
>> From: cygwin-owner@cygwin.com [mailto:cygwin-owner@cygwin.com]On Behalf
>> Of Mauri
>> I need use this ftp server, but when I run /usr/sbin/proftpd.exe it
>> don't run itself
>>
>> $ /usr/sbin/proftpd.exe
>> EQUIPO5 - unable to set uid to 18, current uid: 500
HEKNgm> To me this indicates problems with user authentication.
HEKNgm> That is the contents of "/etc/group" and|or "/etc/passwd" files
HEKNgm> or something else that is related to those.
HEKNgm> To be able to tell - more information is needed. (Please do read
HEKNgm> www.cygwin.com/problems.html for instructions)
HEKNgm> i.e. _attach_ the output of "cygcheck -svr" to an email and send it here.
>> can somebody help me, please?
>>
>> I'm newbie in linux, cygwin and english :-D
>> sorry for my english
HEKNgm> No need to be sorry for that, IMO!
HEKNgm> /Hannu E K Nevalainen, B.Sc. EE Microcomputer systems - 59?16.37'N,
HEKNgm> 17?12.60'E
HEKNgm> --END OF MESSAGE--
HEKNgm> --
HEKNgm> Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple
HEKNgm> Problem reports: http://cygwin.com/problems.html
HEKNgm> Documentation: http://cygwin.com/docs.html
HEKNgm> FAQ: http://cygwin.com/faq/
--
Mauri mailto:Theasker_@terra.es
Linux user: #267236 (sep 1999)
[-- Attachment #2: cygcheck.txt --]
[-- Type: text/plain, Size: 26582 bytes --]
Cygwin Win95/NT Configuration Diagnostics
Current System Time: Mon Sep 01 08:50:07 2003
Windows 2000 Professional Ver 5.0 Build 2195 Service Pack 4
Path: C:\cygwin\usr\local\bin
C:\cygwin\bin
C:\cygwin\bin
C:\cygwin\usr\X11R6\bin
c:\WINNT\system32
c:\WINNT
c:\WINNT\System32\Wbem
c:\j2sdk1.4.1_02\bin
c:\WINNT\system32
c:\WINNT
c:\WINNT\System32\Wbem
c:\j2sdk1.4.1_02\bin
C:\cygwin\bin\id.exe output (nontsec)
UID: 500(Administrador) GID: 513(Ninguno)
513(Ninguno)
C:\cygwin\bin\id.exe output (ntsec)
UID: 500(Administrador) GID: 513(Ninguno)
513(Ninguno) 544(Administradores)
545(Usuarios)
SysDir: C:\WINNT\system32
WinDir: C:\WINNT
HOME = `C:\cygwin\home\Administrador'
MAKE_MODE = `unix'
PWD = `/home/Administrador'
USER = `Administrador'
ALLUSERSPROFILE = `C:\Documents and Settings\All Users'
APPDATA = `C:\Documents and Settings\Administrador\Datos de programa'
COMMONPROGRAMFILES = `C:\Archivos de programa\Archivos comunes'
COMPUTERNAME = `EQUIPO5'
COMSPEC = `C:\WINNT\system32\cmd.exe'
CVS_RSH = `/bin/ssh'
HOMEDRIVE = `C:'
HOMEPATH = `\'
HOSTNAME = `EQUIPO5'
INFOPATH = `/usr/local/info:/usr/info:/usr/share/info:/usr/autotool/devel/info:/usr/autotool/stable/info:'
LOGONSERVER = `\\EQUIPO5'
MANPATH = `/usr/local/man:/usr/man:/usr/share/man:/usr/autotool/devel/man:'
NUMBER_OF_PROCESSORS = `1'
OLDPWD = `/usr/bin'
OS2LIBPATH = `C:\WINNT\system32\os2\dll;'
OS = `Windows_NT'
PATHEXT = `.COM;.EXE;.BAT;.CMD;.VBS;.VBE;.JS;.JSE;.WSF;.WSH'
PROCESSOR_ARCHITECTURE = `x86'
PROCESSOR_IDENTIFIER = `x86 Family 15 Model 1 Stepping 2, GenuineIntel'
PROCESSOR_LEVEL = `15'
PROCESSOR_REVISION = `0102'
PROGRAMFILES = `C:\Archivos de programa'
PROMPT = `$P$G'
PS1 = `\[\033]0;\w\007
\033[32m\]\u@\h \[\033[33m\w\033[0m\]
$ '
SHLVL = `1'
SYSTEMDRIVE = `C:'
SYSTEMROOT = `C:\WINNT'
TEMP = `c:\DOCUME~1\ADMINI~1\CONFIG~1\Temp'
TERM = `cygwin'
TMP = `c:\DOCUME~1\ADMINI~1\CONFIG~1\Temp'
USERDOMAIN = `EQUIPO5'
USERNAME = `Administrador'
USERPROFILE = `C:\Documents and Settings\Administrador'
WINDIR = `C:\WINNT'
_ = `/usr/bin/cygcheck.exe'
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) = `C:\cygwin'
flags = 0x0000000a
HKEY_LOCAL_MACHINE\SOFTWARE\Cygnus Solutions\Cygwin\mounts v2\/usr/bin
(default) = `C:\cygwin/bin'
flags = 0x0000000a
HKEY_LOCAL_MACHINE\SOFTWARE\Cygnus Solutions\Cygwin\mounts v2\/usr/lib
(default) = `C:\cygwin/lib'
flags = 0x0000000a
HKEY_LOCAL_MACHINE\SOFTWARE\Cygnus Solutions\Cygwin\mounts v2\/usr/X11R6/lib/X11/fonts
(default) = `C:\cygwin\usr\X11R6\lib\X11\fonts'
flags = 0x0000000a
HKEY_LOCAL_MACHINE\SOFTWARE\Cygnus Solutions\Cygwin\Program Options
a: fd N/A N/A
c: hd FAT32 18589Mb 83% CP UN IBM_PRELOAD
d: cd N/A N/A
e: cd N/A N/A
f: hd NTFS 499Mb 75% CP CS UN PA FC Mash
g: hd NTFS 499Mb 17% CP CS UN PA FC Email
z: net FAT 18589Mb 25% CP UN IBM_PRELOAD
C:\cygwin / system binmode
C:\cygwin/bin /usr/bin system binmode
C:\cygwin/lib /usr/lib system binmode
C:\cygwin\usr\X11R6\lib\X11\fonts /usr/X11R6/lib/X11/fonts system binmode
. /cygdrive system binmode,cygdrive
Found: C:\cygwin\bin\awk.exe
Found: C:\cygwin\bin\bash.exe
Found: C:\cygwin\bin\cat.exe
Found: C:\cygwin\bin\cp.exe
Found: C:\cygwin\bin\cpp.exe
Found: C:\cygwin\bin\find.exe
Found: C:\cygwin\bin\gcc.exe
Found: C:\cygwin\bin\gdb.exe
Found: C:\cygwin\bin\grep.exe
Found: C:\cygwin\bin\ld.exe
Found: C:\cygwin\bin\ls.exe
Found: C:\cygwin\bin\make.exe
Found: C:\cygwin\bin\mv.exe
Found: C:\cygwin\bin\rm.exe
Found: C:\cygwin\bin\sed.exe
Found: C:\cygwin\bin\sh.exe
Found: C:\cygwin\bin\tar.exe
306k 2002/04/27 C:\cygwin\bin\cyghttpd.dll - os=4.0 img=1.0 sys=4.0
"cyghttpd.dll" v0.0 ts=2002/4/27 15:23
551k 2003/04/02 C:\cygwin\bin\cygcurl-2.dll - os=4.0 img=1.0 sys=4.0
"cygcurl-2.dll" v0.0 ts=2003/4/2 23:09
28k 2003/08/11 C:\cygwin\bin\cygcygipc-2.dll - os=4.0 img=1.0 sys=4.0
"cygcygipc-2.dll" v0.0 ts=2003/8/11 2:54
135k 2003/04/13 C:\cygwin\bin\cygexpat-0.dll - os=4.0 img=1.0 sys=4.0
"cygexpat-0.dll" v0.0 ts=2003/4/13 23:24
12k 2003/02/17 C:\cygwin\bin\cygioperm-0.dll - os=4.0 img=1.0 sys=4.0
"cygioperm-0.dll" v0.0 ts=2003/2/17 20:58
54k 2002/01/27 C:\cygwin\bin\cygbz21.0.dll - os=4.0 img=1.0 sys=4.0
"cygbz21.0.dll" v0.0 ts=2002/1/27 2:07
58k 2002/05/07 C:\cygwin\bin\cygbz2-1.dll - os=4.0 img=1.0 sys=4.0
"cygbz2-1.dll" v0.0 ts=2002/5/7 8:33
13k 2003/06/18 C:\cygwin\bin\cygcharset-1.dll - os=4.0 img=1.0 sys=4.0
"cygcharset-1.dll" v0.0 ts=2003/6/18 5:07
380k 2002/07/24 C:\cygwin\bin\cygdb-3.1.dll - os=4.0 img=1.0 sys=4.0
"cygdb-3.1.dll" v0.0 ts=2002/7/24 18:24
487k 2002/07/24 C:\cygwin\bin\cygdb_cxx-3.1.dll - os=4.0 img=1.0 sys=4.0
"cygdb_cxx-3.1.dll" v0.0 ts=2002/7/24 18:25
19k 2003/03/22 C:\cygwin\bin\cyggdbm.dll - os=4.0 img=1.0 sys=4.0
"cyggdbm.dll" v0.0 ts=2002/2/20 4:05
28k 2003/07/20 C:\cygwin\bin\cyggdbm-3.dll - os=4.0 img=1.0 sys=4.0
"cyggdbm-3.dll" v0.0 ts=2003/7/20 9:58
15k 2003/07/20 C:\cygwin\bin\cyggdbm_compat-3.dll - os=4.0 img=1.0 sys=4.0
"cyggdbm_compat-3.dll" v0.0 ts=2003/7/20 10:00
30k 2003/08/11 C:\cygwin\bin\cyggdbm-4.dll - os=4.0 img=1.0 sys=4.0
"cyggdbm-4.dll" v0.0 ts=2003/8/11 4:12
15k 2003/08/11 C:\cygwin\bin\cyggdbm_compat-4.dll - os=4.0 img=1.0 sys=4.0
"cyggdbm_compat-4.dll" v0.0 ts=2003/8/11 4:13
489k 2003/08/09 C:\cygwin\bin\cygguile-12.dll - os=4.0 img=1.0 sys=4.0
"cygguile-12.dll" v0.0 ts=2003/8/9 16:17
24k 2003/08/09 C:\cygwin\bin\cygguile-ltdl-1.dll - os=4.0 img=1.0 sys=4.0
"cygguile-ltdl-1.dll" v0.0 ts=2003/8/9 16:16
11k 2003/08/09 C:\cygwin\bin\cygguilereadline-v-12-12.dll - os=4.0 img=1.0 sys=4.0
"cygguilereadline-v-12-12.dll" v0.0 ts=2003/8/9 16:17
62k 2003/08/09 C:\cygwin\bin\cygguile-srfi-srfi-13-14-v-1-1.dll - os=4.0 img=1.0 sys=4.0
"cygguile-srfi-srfi-13-14-v-1-1.dll" v0.0 ts=2003/8/9 16:17
23k 2003/08/09 C:\cygwin\bin\cygguile-srfi-srfi-4-v-1-1.dll - os=4.0 img=1.0 sys=4.0
"cygguile-srfi-srfi-4-v-1-1.dll" v0.0 ts=2003/8/9 16:17
489k 2003/07/28 C:\cygwin\bin\cygguile-12abi13.dll - os=4.0 img=1.0 sys=4.0
"cygguile-12abi13.dll" v0.0 ts=2003/7/28 20:18
24k 2003/07/28 C:\cygwin\bin\cygguile-ltdl-1abi13.dll - os=4.0 img=1.0 sys=4.0
"cygguile-ltdl-1abi13.dll" v0.0 ts=2003/7/28 19:48
11k 2003/07/28 C:\cygwin\bin\cygguilereadline-v-12-12abi13.dll - os=4.0 img=1.0 sys=4.0
"cygguilereadline-v-12-12abi13.dll" v0.0 ts=2003/7/28 20:18
62k 2003/07/28 C:\cygwin\bin\cygguile-srfi-srfi-13-14-v-1-1abi13.dll - os=4.0 img=1.0 sys=4.0
"cygguile-srfi-srfi-13-14-v-1-1abi13.dll" v0.0 ts=2003/7/28 20:18
23k 2003/07/28 C:\cygwin\bin\cygguile-srfi-srfi-4-v-1-1abi13.dll - os=4.0 img=1.0 sys=4.0
"cygguile-srfi-srfi-4-v-1-1abi13.dll" v0.0 ts=2003/7/28 20:18
945k 2003/06/18 C:\cygwin\bin\cygiconv-2.dll - os=4.0 img=1.0 sys=4.0
"cygiconv-2.dll" v0.0 ts=2003/6/18 5:08
21k 2001/06/20 C:\cygwin\bin\cygintl.dll - os=4.0 img=1.0 sys=4.0
"cygintl.dll" v0.0 ts=2001/6/20 19:09
22k 2001/12/13 C:\cygwin\bin\cygintl-1.dll - os=4.0 img=1.0 sys=4.0
"cygintl-1.dll" v0.0 ts=2001/12/13 10:28
28k 2002/09/20 C:\cygwin\bin\cygintl-2.dll - os=4.0 img=1.0 sys=4.0
"cygintl-2.dll" v0.0 ts=2002/9/20 5:13
119k 2002/02/09 C:\cygwin\bin\cygjpeg6b.dll - os=4.0 img=1.0 sys=4.0
"cygjpeg6b.dll" v0.0 ts=2002/2/9 6:19
61k 2003/08/09 C:\cygwin\bin\cygkpathsea-3.dll - os=4.0 img=1.0 sys=4.0
"cygkpathsea-3.dll" v0.0 ts=2003/8/9 16:52
60k 2003/07/27 C:\cygwin\bin\cygkpathsea-3abi13.dll - os=4.0 img=1.0 sys=4.0
"cygkpathsea-3abi13.dll" v0.0 ts=2003/7/27 22:23
32k 2003/04/16 C:\cygwin\bin\cygltdl-3.dll - os=4.0 img=1.0 sys=4.0
"cygltdl-3.dll" v0.0 ts=2003/4/16 3:41
45k 2001/04/25 C:\cygwin\bin\cygform5.dll - os=4.0 img=1.0 sys=4.0
"cygform5.dll" v0.0 ts=2001/4/25 7:28
26k 2001/04/25 C:\cygwin\bin\cygmenu5.dll - os=4.0 img=1.0 sys=4.0
"cygmenu5.dll" v0.0 ts=2001/4/25 7:27
156k 2001/04/25 C:\cygwin\bin\cygncurses++5.dll - os=4.0 img=1.0 sys=4.0
"cygncurses++5.dll" v0.0 ts=2001/4/25 7:29
226k 2001/04/25 C:\cygwin\bin\cygncurses5.dll - os=4.0 img=1.0 sys=4.0
"cygncurses5.dll" v0.0 ts=2001/4/25 7:17
15k 2001/04/25 C:\cygwin\bin\cygpanel5.dll - os=4.0 img=1.0 sys=4.0
"cygpanel5.dll" v0.0 ts=2001/4/25 7:27
35k 2002/01/09 C:\cygwin\bin\cygform6.dll - os=4.0 img=1.0 sys=4.0
"cygform6.dll" v0.0 ts=2002/1/9 7:03
20k 2002/01/09 C:\cygwin\bin\cygmenu6.dll - os=4.0 img=1.0 sys=4.0
"cygmenu6.dll" v0.0 ts=2002/1/9 7:03
175k 2002/01/09 C:\cygwin\bin\cygncurses++6.dll - os=4.0 img=1.0 sys=4.0
"cygncurses++6.dll" v0.0 ts=2002/1/9 7:03
202k 2002/01/09 C:\cygwin\bin\cygncurses6.dll - os=4.0 img=1.0 sys=4.0
"cygncurses6.dll" v0.0 ts=2002/1/9 7:03
12k 2002/01/09 C:\cygwin\bin\cygpanel6.dll - os=4.0 img=1.0 sys=4.0
"cygpanel6.dll" v0.0 ts=2002/1/9 7:03
76k 2003/03/09 C:\cygwin\bin\cygform7.dll - os=4.0 img=1.0 sys=4.0
"cygform7.dll" v0.0 ts=2003/3/9 21:51
48k 2003/03/09 C:\cygwin\bin\cygmenu7.dll - os=4.0 img=1.0 sys=4.0
"cygmenu7.dll" v0.0 ts=2003/3/9 21:51
284k 2003/03/09 C:\cygwin\bin\cygncurses7.dll - os=4.0 img=1.0 sys=4.0
"cygncurses7.dll" v0.0 ts=2003/3/9 21:50
31k 2003/03/09 C:\cygwin\bin\cygpanel7.dll - os=4.0 img=1.0 sys=4.0
"cygpanel7.dll" v0.0 ts=2003/3/9 21:50
63k 2003/04/11 C:\cygwin\bin\cygpcre.dll - os=4.0 img=1.0 sys=4.0
"cygpcre.dll" v0.0 ts=2003/4/11 10:31
61k 2003/04/11 C:\cygwin\bin\cygpcreposix.dll - os=4.0 img=1.0 sys=4.0
"cygpcreposix.dll" v0.0 ts=2003/4/11 10:31
66k 2003/07/01 C:\cygwin\bin\cygpcre-0.dll - os=4.0 img=1.0 sys=4.0
"cygpcre-0.dll" v0.0 ts=2003/7/1 18:25
15k 2003/07/01 C:\cygwin\bin\cygpcreposix-0.dll - os=4.0 img=1.0 sys=4.0
"cygpcreposix-0.dll" v0.0 ts=2003/7/1 18:25
168k 2003/02/23 C:\cygwin\bin\cygpng10.dll - os=4.0 img=1.0 sys=4.0
"cygpng10.dll" v0.0 ts=2003/2/24 0:02
173k 2003/02/23 C:\cygwin\bin\cygpng12.dll - os=4.0 img=1.0 sys=4.0
"cygpng12.dll" v0.0 ts=2003/2/23 23:02
170k 2002/01/21 C:\cygwin\bin\cygpng2.dll - os=4.0 img=1.0 sys=4.0
"cygpng2.dll" v0.0 ts=2002/1/21 2:05
22k 2002/06/09 C:\cygwin\bin\cygpopt-0.dll - os=4.0 img=1.0 sys=4.0
"cygpopt-0.dll" v0.0 ts=2002/6/9 7:45
17k 2001/06/28 C:\cygwin\bin\cyghistory4.dll - os=4.0 img=1.0 sys=4.0
"cyghistory4.dll" v0.0 ts=2001/1/7 5:34
108k 2001/06/28 C:\cygwin\bin\cygreadline4.dll - os=4.0 img=1.0 sys=4.0
"cygreadline4.dll" v0.0 ts=2001/1/7 5:34
20k 2002/10/10 C:\cygwin\bin\cyghistory5.dll - os=4.0 img=1.0 sys=4.0
"cyghistory5.dll" v0.0 ts=2002/10/10 19:28
127k 2002/10/10 C:\cygwin\bin\cygreadline5.dll - os=4.0 img=1.0 sys=4.0
"cygreadline5.dll" v0.0 ts=2002/10/10 19:28
281k 2003/02/24 C:\cygwin\bin\cygtiff3.dll - os=4.0 img=1.0 sys=4.0
"cygtiff3.dll" v0.0 ts=2003/2/24 5:58
903k 2003/06/09 C:\cygwin\bin\cygxml2-2.dll - os=4.0 img=1.0 sys=4.0
"cygxml2-2.dll" v0.0 ts=2003/6/10 1:49
61k 2003/06/10 C:\cygwin\bin\cygexslt-0.dll - os=4.0 img=1.0 sys=4.0
"cygexslt-0.dll" v0.0 ts=2003/6/10 20:07
174k 2003/06/10 C:\cygwin\bin\cygxslt-1.dll - os=4.0 img=1.0 sys=4.0
"cygxslt-1.dll" v0.0 ts=2003/6/10 19:42
13k 2003/06/10 C:\cygwin\bin\cygxsltbreakpoint-1.dll - os=4.0 img=1.0 sys=4.0
"cygxsltbreakpoint-1.dll" v0.0 ts=2003/6/10 20:07
453k 2003/07/27 C:\cygwin\bin\cygnaim_core-0.dll - os=4.0 img=1.0 sys=4.0
"cygnaim_core-0.dll" v0.0 ts=2003/7/27 7:46
848k 2003/04/11 C:\cygwin\bin\cygcrypto-0.9.7.dll - os=4.0 img=1.0 sys=4.0
"cygcrypto-0.9.7.dll" v0.0 ts=2003/4/11 12:33
176k 2003/04/11 C:\cygwin\bin\cygssl-0.9.7.dll - os=4.0 img=1.0 sys=4.0
"cygssl-0.9.7.dll" v0.0 ts=2003/4/11 12:33
645k 2003/04/11 C:\cygwin\bin\cygcrypto.dll - os=4.0 img=1.0 sys=4.0
"cygcrypto.dll" v0.0 ts=2003/4/11 12:37
165k 2003/04/11 C:\cygwin\bin\cygssl.dll - os=4.0 img=1.0 sys=4.0
"cygssl.dll" v0.0 ts=2003/4/11 12:37
1069k 2003/06/02 C:\cygwin\bin\cygperl5_8_0.dll - os=4.0 img=1.0 sys=4.0
"cygperl5_8_0.dll" v0.0 ts=2003/6/2 14:01
601k 2003/05/19 C:\cygwin\bin\cygwin-ruby16.dll - os=4.0 img=1.0 sys=4.0
"cygwin-ruby16.dll" v0.0 ts=2003/5/19 13:27
50k 2002/03/12 C:\cygwin\bin\cygz.dll - os=4.0 img=1.0 sys=4.0
"cygz.dll" v0.0 ts=2002/3/12 5:38
948k 2003/03/18 C:\cygwin\bin\cygwin1.dll - os=4.0 img=1.0 sys=4.0
"cygwin1.dll" v0.0 ts=2003/3/18 15:20
Cygwin DLL version info:
DLL version: 1.3.22
DLL epoch: 19
DLL bad signal mask: 19005
DLL old termios: 5
DLL malloc env: 28
API major: 0
API minor: 78
Shared data: 3
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: Tue Mar 18 09:20:11 EST 2003
CVS tag: dontuse-21
Shared id: cygwin1S3
41k 2002/05/14 C:\cygwin\usr\X11R6\bin\cygPropList-0.dll - os=4.0 img=1.0 sys=4.0
"cygPropList-0.dll" v0.0 ts=2002/5/14 5:13
671k 2003/08/01 C:\cygwin\usr\X11R6\bin\cygdps-1.dll - os=4.0 img=1.0 sys=4.0
"cygdps-1.dll" v0.0 ts=2003/8/1 6:06
53k 2003/08/01 C:\cygwin\usr\X11R6\bin\cygdpstk-1.dll - os=4.0 img=1.0 sys=4.0
"cygdpstk-1.dll" v0.0 ts=2003/8/1 6:06
146k 2003/08/01 C:\cygwin\usr\X11R6\bin\cygexpat-1.dll - os=4.0 img=1.0 sys=4.0
"cygexpat-1.dll" v0.0 ts=2003/8/1 6:06
174k 2003/08/01 C:\cygwin\usr\X11R6\bin\cygfontconfig-1.dll - os=4.0 img=1.0 sys=4.0
"cygfontconfig-1.dll" v0.0 ts=2003/8/1 6:06
340k 2003/08/01 C:\cygwin\usr\X11R6\bin\cygfreetype-9.dll - os=4.0 img=1.0 sys=4.0
"cygfreetype-9.dll" v0.0 ts=2003/8/1 6:06
524k 2003/08/01 C:\cygwin\usr\X11R6\bin\cygGL-1.dll - os=4.0 img=1.0 sys=4.0
"cygGL-1.dll" v0.0 ts=2003/8/1 6:05
592k 2003/08/01 C:\cygwin\usr\X11R6\bin\cygGLU-1.dll - os=4.0 img=1.0 sys=4.0
"cygGLU-1.dll" v0.0 ts=2003/8/1 6:05
109k 2003/08/01 C:\cygwin\usr\X11R6\bin\cygICE-6.dll - os=4.0 img=1.0 sys=4.0
"cygICE-6.dll" v0.0 ts=2003/8/1 6:05
25k 2003/08/01 C:\cygwin\usr\X11R6\bin\cygoldX-6.dll - os=4.0 img=1.0 sys=4.0
"cygoldX-6.dll" v0.0 ts=2003/8/1 6:04
1510k 2003/08/01 C:\cygwin\usr\X11R6\bin\cygOSMesa-4.dll - os=4.0 img=1.0 sys=4.0
"cygOSMesa-4.dll" v0.0 ts=2003/8/1 6:05
40k 2003/08/01 C:\cygwin\usr\X11R6\bin\cygpsres-1.dll - os=4.0 img=1.0 sys=4.0
"cygpsres-1.dll" v0.0 ts=2003/8/1 6:06
54k 2003/08/01 C:\cygwin\usr\X11R6\bin\cygSM-6.dll - os=4.0 img=1.0 sys=4.0
"cygSM-6.dll" v0.0 ts=2003/8/1 6:05
1067k 2003/08/01 C:\cygwin\usr\X11R6\bin\cygX11-6.dll - os=4.0 img=1.0 sys=4.0
"cygX11-6.dll" v0.0 ts=2003/8/1 6:04
57k 2003/08/01 C:\cygwin\usr\X11R6\bin\cygXcursor-1.dll - os=4.0 img=1.0 sys=4.0
"cygXcursor-1.dll" v0.0 ts=2003/8/1 6:06
77k 2003/08/01 C:\cygwin\usr\X11R6\bin\cygXext-6.dll - os=4.0 img=1.0 sys=4.0
"cygXext-6.dll" v0.0 ts=2003/8/1 6:05
83k 2003/08/01 C:\cygwin\usr\X11R6\bin\cygXft-1.dll - os=4.0 img=1.0 sys=4.0
"cygXft-1.dll" v0.0 ts=2003/8/1 6:06
105k 2003/08/01 C:\cygwin\usr\X11R6\bin\cygXft-2.dll - os=4.0 img=1.0 sys=4.0
"cygXft-2.dll" v0.0 ts=2003/8/1 6:06
53k 2003/08/01 C:\cygwin\usr\X11R6\bin\cygXi-6.dll - os=4.0 img=1.0 sys=4.0
"cygXi-6.dll" v0.0 ts=2003/8/1 6:05
29k 2003/08/01 C:\cygwin\usr\X11R6\bin\cygXmuu-1.dll - os=4.0 img=1.0 sys=4.0
"cygXmuu-1.dll" v0.0 ts=2003/8/1 6:05
58k 2003/08/01 C:\cygwin\usr\X11R6\bin\cygXp-6.dll - os=4.0 img=1.0 sys=4.0
"cygXp-6.dll" v0.0 ts=2003/8/1 6:05
81k 2003/08/01 C:\cygwin\usr\X11R6\bin\cygXpm-4.dll - os=4.0 img=1.0 sys=4.0
"cygXpm-4.dll" v0.0 ts=2003/8/1 6:05
29k 2003/08/01 C:\cygwin\usr\X11R6\bin\cygXrandr-2.dll - os=4.0 img=1.0 sys=4.0
"cygXrandr-2.dll" v0.0 ts=2003/8/1 6:06
49k 2003/08/01 C:\cygwin\usr\X11R6\bin\cygXrender-1.dll - os=4.0 img=1.0 sys=4.0
"cygXrender-1.dll" v0.0 ts=2003/8/1 6:06
384k 2003/08/01 C:\cygwin\usr\X11R6\bin\cygXTrap-6.dll - os=4.0 img=1.0 sys=4.0
"cygXTrap-6.dll" v0.0 ts=2003/8/1 6:06
38k 2003/08/01 C:\cygwin\usr\X11R6\bin\cygXtst-6.dll - os=4.0 img=1.0 sys=4.0
"cygXtst-6.dll" v0.0 ts=2003/8/1 6:05
34k 2003/08/01 C:\cygwin\usr\X11R6\bin\cygXv-1.dll - os=4.0 img=1.0 sys=4.0
"cygXv-1.dll" v0.0 ts=2003/8/1 6:05
Cygwin Package Information
Last downloaded files to:
Last downloaded files from:
Package Version
_update-info-dir 00197-1
agetty 2.1-1
apache 1.3.24-5
ash 20020731-1
astyle 1.15.3-3
autoconf 2.54-1
autoconf-devel 2.57-1
autoconf-stable 2.13-4
automake 1.7.1-1
automake-devel 1.7.6-1
automake-stable 1.4p5-5
base-files 2.1-1
base-passwd 1.1-1
bash 2.05b-9
binutils 20030307-1
bison 20030307-1
byacc 1.9-1
bzip2 1.0.2-2
c-client 2002d-2
ccache 1.9-1
ccdoc 0.8.39-1
cgoban 1.9.12-1
chkconfig 1.2.24h-1
clear 1.0-1
cmake 1.6.7-1
compface 1.4-5
crypt 1.0-2
ctags 5.5-4
curl 7.10.4-1
curl-devel 7.10.4-1
cvs 1.11.5-1
cygipc 2.01-2
cygrunsrv 0.96-1
cygutils 1.1.4-2
cygwin 1.3.22-1
cygwin-doc 1.3-4
dejagnu 20021217-2
diff 1.0-1
diffutils 2.8.1-1
doxygen 1.2.18-1
dpkg 1.10.4-2
ed 0.2-1
ELFIO 1.0.0-1
emacs 21.2-12
emacs-el 21.2-12
emacs-X11 21.2-12
exim 4.20-1
expat 1.95.6-1
expect 20030128-1
fetchmail 6.2.2-1
file 4.02-1
fileutils 4.1-1
findutils 4.1.7-4
flex 2.5.4-2
fvwm 2.4.7-2
gawk 3.1.3-1
gcc 3.2-3
gcc-mingw 20020817-5
gcc2 2.95.3-10
gdb 20030303-1
gdbm 1.8.3-3
gettext 0.11.5-1
gettext-devel 0.11.5-1
ghostscript 7.05-2
ghostscript-base 7.05-2
ghostscript-x11 7.05-2
gnugo 3.2-1
gperf 2.7.2-1
grace 5.1.12-1
grep 2.5-1
groff 1.18.1-2
guile 1.6.4-2
guile-devel 1.6.4-2
guile-doc 1.6.4-2
gzip 1.3.3-4
indent 2.2.8-1
inetutils 1.3.2-23
initscripts 0.9-1
ioperm 0.4-1
irc 20010101-2
less 378-1
lesstif 0.93.41-1
libbz2_0 1.0.2-1
libbz2_1 1.0.2-2
libcharset1 1.8-3
libdb3.1 3.1.17-2
libgdbm 1.8.0-5
libgdbm-devel 1.8.3-3
libgdbm3 1.8.3-3
libgdbm4 1.8.3-7
libguile12 1.6.4-12
libguile12abi13 1.6.4-2
libiconv 1.8-3
libiconv2 1.8-3
libintl 0.10.38-3
libintl1 0.10.40-1
libintl2 0.11.5-1
libjpeg6b 6b-8
libkpathsea3 2.0.2-12
libkpathsea3abi13 2.0.2-2
libltdl3 1.5-1
libncurses-devel 5.3-1
libncurses5 5.2-1
libncurses6 5.2-8
libncurses7 5.3-1
libpcre 4.1-1
libpcre0 4.3-2
libpng10 1.0.15-1
libpng12 1.2.5-1
libpng2 1.0.12-1
libpopt0 1.6.4-4
libPropList 0.10.1-3
libreadline4 4.1-2
libreadline5 4.3-2
libtiff3 3.6.0-2
libtool 20020705-1
libtool-devel 1.5-1
libtool-stable 1.4.3-1
libxml2 2.5.7-1
libxslt 1.0.30-2
links 0.96-1
login 1.9-5
lynx 2.8.4-5
m4 1.4-1
make 3.80-1
man 1.5j-2
mc 4.6.0-4
mingw-runtime 3.0-1
mktemp 1.4-1
mod_auth_mysql 1.11-1
mod_auth_ntsec 1.7-1
mod_dav 1.0.3-1.3.6-1
mod_php4 4.2.0-2
mod_ssl 2.8.8-1.3.24-1
more 2.11o-1
mutt 1.4-1
naim 0.11.6-2
nano 1.2.0-1
nasm 0.98.36-1
ncftp 3.1.4-1
ncurses 5.3-1
netcat 1.10-1
newlib-man 20020801
openbox 0.99.1-3
opengl 1.1.0-6
openssh 3.6.1p1-2
openssl 0.9.7b-1
openssl-devel 0.9.7b-1
openssl096 0.9.6j-1
patch 2.5.8-3
patchutils 0.2.22-2
pcre 4.3-2
pcre-devel 4.3-2
pcre-doc 4.3-2
perl 5.8.0-3
pine 4.55-1
pkgconfig 0.15.0-1
postgresql 7.3.4-1
procmail 3.22-7
procps 010801-2
proftpd 1.2.9rc1-2
rcs 5.7-3
readline 4.3-2
rebase 2.2-2
rpm 4.1-1
rpm-build 4.1-1
rpm-doc 4.1-1
rsync 2.5.6-1
ruby 1.6.8-2
rxvt 2.7.10-3
sed 4.0.7-1
sh-utils 2.0.15-3
sharutils 4.2.1-2
splint 3.1.1-1
ssmtp 2.38.7-3
stunnel 4.04-3
swig 1.3.19-1
sysvinit 2.84-3
tar 1.13.25-1
tcltk 20030214-1
tcp_wrappers 7.6-1
termcap 20021106-2
terminfo 5.3_20030726-1
tetex-devel 2.0.2-2
texinfo 4.2-4
textutils 2.0.21-1
tin 1.4.7-1
ttcp 19980512-1
unzip 5.50-2
uw-imap 2002d-1
uw-imap-imapd 2002d-1
uw-imap-util 2002d-1
vim 6.2-1
w32api 2.3-1
wget 1.8.2-2
which 1.5-1
whois 4.6.2-1
WindowMaker 0.80.0-2
x2x 1.27-2
Xaw3d 1.5-1
xerces-c-devel 2.3.0-2
XFree86-base 4.3.0-1
XFree86-bin 4.3.0-1
XFree86-bin-icons 4.3.0-2
XFree86-doc 4.3.0-1
XFree86-etc 4.3.0-3
XFree86-f100 4.2.0-3
XFree86-fcyr 4.2.0-3
XFree86-fenc 4.2.0-3
XFree86-fnts 4.2.0-3
XFree86-fscl 4.2.0-3
XFree86-fsrv 4.3.0-1
XFree86-html 4.3.0-1
XFree86-jdoc 4.3.0-1
XFree86-lib 4.3.0-1
XFree86-lib-compat 4.3.0-1
XFree86-man 4.3.0-1
XFree86-nest 4.3.0-1
XFree86-prog 4.3.0-4
XFree86-prt 4.3.0-1
XFree86-ps 4.3.0-1
XFree86-startup-scripts 4.2.0-5
XFree86-vfb 4.3.0-1
XFree86-xserv 4.3.0-3
XFree86-xwinclip 4.3.0-1
xinetd 2.3.9-1
zip 2.3-2
zlib 1.1.4-1
Use -h to see help about each section
[-- Attachment #3: Type: text/plain, Size: 218 bytes --]
--
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/
^ permalink raw reply [flat|nested] 22+ messages in thread
* RE: Re[2]: proftpd
2003-09-01 6:56 ` Re[2]: proftpd Mauri
@ 2003-09-01 15:42 ` Hannu E K Nevalainen (garbage mail)
0 siblings, 0 replies; 22+ messages in thread
From: Hannu E K Nevalainen (garbage mail) @ 2003-09-01 15:42 UTC (permalink / raw)
To: cygwin
> From: cygwin-owner@cygwin.com [mailto:cygwin-owner@cygwin.com]On Behalf
> Of Mauri
Note: No need to quote mail headers.
> >> $ /usr/sbin/proftpd.exe
> >> EQUIPO5 - unable to set uid to 18, current uid: 500
>
> HEKNgm> To me this indicates problems with user authentication.
>
> HEKNgm> That is the contents of "/etc/group" and|or "/etc/passwd" files
> HEKNgm> or something else that is related to those.
Others has commented this in other ways,
These...
> C:\cygwin\bin\id.exe output (nontsec)
> UID: 500(Administrador) GID: 513(Ninguno)
> 513(Ninguno)
>
> C:\cygwin\bin\id.exe output (ntsec)
> UID: 500(Administrador) GID: 513(Ninguno)
> 513(Ninguno) 544(Administradores)
> 545(Usuarios)
tells that I was wrong about the cause.
> HEKNgm> To be able to tell - more information is needed. (Please do read
> HEKNgm> www.cygwin.com/problems.html for instructions)
> HEKNgm> i.e. _attach_ the output of "cygcheck -svr" to an email
> and send it here.
Note that this is a "general" instruction for problem reports.
/Hannu E K Nevalainen, B.Sc. EE Microcomputer systems - 59°16.37'N,
17°12.60'E
--END OF MESSAGE--
--
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/
^ permalink raw reply [flat|nested] 22+ messages in thread
* Re: proftpd
2003-08-22 10:43 ` proftpd Mauri
2003-08-22 17:01 ` proftpd Eduardo Osorio Armenta
2003-08-22 17:48 ` proftpd Hannu E K Nevalainen (garbage mail)
@ 2003-08-22 19:40 ` GDN_Cygwin
2003-08-24 22:23 ` proftpd Jason Tishler
3 siblings, 0 replies; 22+ messages in thread
From: GDN_Cygwin @ 2003-08-22 19:40 UTC (permalink / raw)
To: Mauri; +Cc: cygwin
Here is how you do it:
1) Modify the /etc/proftpd.conf file to have the following:
ServerType inetd
Then modify your ftp line in your /etc/inetd.conf file:
ftp stream ftp nowait root /usr/sbin/in.proftpd in.proftpd
Then restart your inetd daemon. If you did not startup the process you
will need to do this:
Startup the inetd service
cygrunsrv -I inetd -d "CYGWIN inetd" -p /usr/sbin/inetd -a -d -e CYGWIN=ntsec
cygrunsrv -S inetd
If it still does not run check the /var/log/messages to see what errors
you have trying to connect to the ftp server. Most likely the
/etc/proftpd.conf file needs to be modified.
Enjoy,
Russell
On Fri, 22 Aug 2003, Mauri wrote:
> I need use this ftp server, but when I run /usr/sbin/proftpd.exe it
> don't run itself
>
> $ /usr/sbin/proftpd.exe
> EQUIPO5 - unable to set uid to 18, current uid: 500
>
> can somebody help me, please?
>
> I'm newbie in linux, cygwin and english :-D
> sorry for my english
>
--
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/
^ permalink raw reply [flat|nested] 22+ messages in thread
* Re: proftpd
2003-08-22 10:43 ` proftpd Mauri
` (2 preceding siblings ...)
2003-08-22 19:40 ` proftpd GDN_Cygwin
@ 2003-08-24 22:23 ` Jason Tishler
3 siblings, 0 replies; 22+ messages in thread
From: Jason Tishler @ 2003-08-24 22:23 UTC (permalink / raw)
To: Mauri; +Cc: cygwin
Mauri,
[I would have responded sooner, but I have been on vacation.]
On Fri, Aug 22, 2003 at 10:35:15AM +0200, Mauri wrote:
> I need use this ftp server, but when I run /usr/sbin/proftpd.exe it
> don't run itself
>
> $ /usr/sbin/proftpd.exe
> EQUIPO5 - unable to set uid to 18, current uid: 500
>
> can somebody help me, please?
Try reading the README:
http://www.tishler.net/jason/software/proftpd/proftpd-1.2.9rc1.README
Jason
--
PGP/GPG Key: http://www.tishler.net/jason/pubkey.asc or key servers
Fingerprint: 7A73 1405 7F2B E669 C19D 8784 1AFD E4CC ECF4 8EF6
--
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/
^ permalink raw reply [flat|nested] 22+ messages in thread
* ProFTPD
@ 2006-03-13 15:53 Tim Bedding
2006-03-15 2:42 ` ProFTPD Jason Tishler
0 siblings, 1 reply; 22+ messages in thread
From: Tim Bedding @ 2006-03-13 15:53 UTC (permalink / raw)
To: cygwin
Hello. I am trying to get the FTP server running on
a Windows XP machine.
I installed the proftpd package and looked for a document
describing how to get things going quickly.
I found README.cygwin but it referred to cygrunsrv and
"net stop proftpd" which may correspond to packages which are
not installed. I have no inetd.conf file and proftpd is
not in /usr/local/sbin.
Has anyone written a simple README describing how to get started
after installing the Cygwin base and then the proftpd package,
assuming minimal knowledge of Cygwin?
Regards
Tim
--
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/
^ permalink raw reply [flat|nested] 22+ messages in thread
* proftpd
@ 2004-03-01 22:47 Michael Chen
2004-03-01 23:10 ` proftpd Brian Ford
0 siblings, 1 reply; 22+ messages in thread
From: Michael Chen @ 2004-03-01 22:47 UTC (permalink / raw)
To: cygwin
hi, after install proftpd, the bash shell cannot find "proftpd", why?
--
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/
^ permalink raw reply [flat|nested] 22+ messages in thread
* Re: proftpd
2004-03-01 22:47 proftpd Michael Chen
@ 2004-03-01 23:10 ` Brian Ford
2004-03-01 23:31 ` proftpd Michael Chen
0 siblings, 1 reply; 22+ messages in thread
From: Brian Ford @ 2004-03-01 23:10 UTC (permalink / raw)
To: Michael Chen; +Cc: cygwin
On Mon, 1 Mar 2004, Michael Chen wrote:
> hi, after install proftpd, the bash shell cannot find "proftpd", why?
>
It's in /usr/sbin, which is not, by default, in your PATH.
Please try a cursory look yourself before posting next time. You can also
use the package search facility at http://cygwin.com/packages/ to see
where things are installed.
To head off your next questions, please read the documentation in
/usr/share/doc/Cygwin/proftpd-1.2.9.README and
/usr/share/doc/proftpd-1.2.9/*.
Also, please consult http://cygwin.com/problems.html to learn the required
method of submitting problem reports.
HTH.
--
Brian Ford
Senior Realtime Software Engineer
VITAL - Visual Simulation Systems
FlightSafety International
Phone: 314-551-8460
Fax: 314-551-8444
--
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/
^ permalink raw reply [flat|nested] 22+ messages in thread
* RE: proftpd
2004-03-01 23:10 ` proftpd Brian Ford
@ 2004-03-01 23:31 ` Michael Chen
2004-03-01 23:34 ` proftpd Brian Ford
0 siblings, 1 reply; 22+ messages in thread
From: Michael Chen @ 2004-03-01 23:31 UTC (permalink / raw)
To: cygwin
Thanks for the reply, I learned how to find out where is the installed piece
by the help of http://cygwin.com/packages/ . Thanks.
Surprisingly, "which" didn't tell me that.
-----Original Message-----
From: Brian Ford [mailto:ford@vss.fsi.com]
Sent: Monday, March 01, 2004 3:10 PM
To: Michael Chen
Cc: cygwin@cygwin.com
Subject: Re: proftpd
On Mon, 1 Mar 2004, Michael Chen wrote:
> hi, after install proftpd, the bash shell cannot find "proftpd", why?
>
It's in /usr/sbin, which is not, by default, in your PATH.
Please try a cursory look yourself before posting next time. You can also
use the package search facility at http://cygwin.com/packages/ to see
where things are installed.
To head off your next questions, please read the documentation in
/usr/share/doc/Cygwin/proftpd-1.2.9.README and
/usr/share/doc/proftpd-1.2.9/*.
Also, please consult http://cygwin.com/problems.html to learn the required
method of submitting problem reports.
HTH.
--
Brian Ford
Senior Realtime Software Engineer
VITAL - Visual Simulation Systems
FlightSafety International
Phone: 314-551-8460
Fax: 314-551-8444
--
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/
^ permalink raw reply [flat|nested] 22+ messages in thread
[parent not found: <8B7C4F148B66B74AA41CC954C741536E2021E3@exchg_ct.KRONOS.COM>]
* Re: proftpd
[not found] <8B7C4F148B66B74AA41CC954C741536E2021E3@exchg_ct.KRONOS.COM>
@ 2003-11-12 18:57 ` Jason Tishler
0 siblings, 0 replies; 22+ messages in thread
From: Jason Tishler @ 2003-11-12 18:57 UTC (permalink / raw)
To: Jasmin, Daniel; +Cc: Cygwin
Daniel,
Please post instead of sending private email.
On Wed, Nov 12, 2003 at 10:01:22AM -0500, Jasmin, Daniel wrote:
> Forgive me if I should have gone through another avenue to ask this
> question.
See above...
> I am trying to run proftpd on cygwin on Win2k Server. I am logged in
> as my username djasmin. My gid is mkgroup-l-d.
^^^^^^^^^^^
The above implies that you need to run mkgroup. Please read the Cygwin
User's Guide:
http://cygwin.com/cygwin-ug-net/using-utils.html#MKGROUP
> I am part of groups: Adminstrators, Users, and mkgroup-l-d. When I try
> to run proftpd I get the following message:
>
> <Machine name> - unable to set uid to 18, current uid: <my uid>
>
> I have purposefully not included my machine name and my uid.
>
> Do I need to be user SYSTEM to run proftpd? If so, I don't what the
> password is for this user.
Please read the README:
http://www.tishler.net/jason/software/proftpd/proftpd-1.2.9.README
Thanks,
Jason
--
PGP/GPG Key: http://www.tishler.net/jason/pubkey.asc or key servers
Fingerprint: 7A73 1405 7F2B E669 C19D 8784 1AFD E4CC ECF4 8EF6
--
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/
^ permalink raw reply [flat|nested] 22+ messages in thread
[parent not found: <BA9616F8350FB549952FC2A2CE4EA8CA63E6D7@redondo.winresources.com>]
* inetutils ftpd fcntl(F_SETOWN) failure message suppression patch
@ 2003-01-13 2:54 Jason Tishler
2003-01-13 3:04 ` Corinna Vinschen
0 siblings, 1 reply; 22+ messages in thread
From: Jason Tishler @ 2003-01-13 2:54 UTC (permalink / raw)
To: Cygwin
[-- Attachment #1: Type: text/plain, Size: 560 bytes --]
Corrina,
The attached patch to ftpd prevents messages like the following from
filling up the Event Log whenever someone connects to the server:
[34724] ftpd
Type: ERROR
Computer: TISHLERJASON
Time: 12/31/2002 3:10:21 PM ID: 0
User: SYSTEM\NT AUTHORITY
ftpd : Win32 Process Id = 0xDC8 : Cygwin Process Id = 0xE54 : fcntl F_SETOWN: In valid argument
Thanks,
Jason
--
PGP/GPG Key: http://www.tishler.net/jason/pubkey.asc or key servers
Fingerprint: 7A73 1405 7F2B E669 C19D 8784 1AFD E4CC ECF4 8EF6
[-- Attachment #2: ftpd.c.diff --]
[-- Type: text/plain, Size: 358 bytes --]
--- ftpd.c.orig 2002-10-01 15:39:24.000000000 -0400
+++ ftpd.c 2003-01-03 08:02:11.000000000 -0500
@@ -382,7 +382,7 @@ main(argc, argv, envp)
syslog(LOG_ERR, "setsockopt: %m");
#endif
-#ifdef F_SETOWN
+#if defined(F_SETOWN) && !defined(__CYGWIN__)
if (fcntl(fileno(stdin), F_SETOWN, getpid()) == -1)
syslog(LOG_ERR, "fcntl F_SETOWN: %m");
#endif
[-- Attachment #3: ftpd.c.ChangeLog --]
[-- Type: text/plain, Size: 215 bytes --]
2003-01-03 Jason Tishler <jason@tishler.net>
* ftpd/ftpd.c (main): Add Cygwin guard to the conditional compilation
around fcntl(F_SETOWN) to prevent the Event Log from filling with
expected failure messages.
[-- Attachment #4: Type: text/plain, Size: 214 bytes --]
--
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/
^ permalink raw reply [flat|nested] 22+ messages in thread
* Re: inetutils ftpd fcntl(F_SETOWN) failure message suppression patch
2003-01-13 2:54 inetutils ftpd fcntl(F_SETOWN) failure message suppression patch Jason Tishler
@ 2003-01-13 3:04 ` Corinna Vinschen
2003-01-13 3:30 ` Jason Tishler
0 siblings, 1 reply; 22+ messages in thread
From: Corinna Vinschen @ 2003-01-13 3:04 UTC (permalink / raw)
To: Cygwin
On Fri, Jan 03, 2003 at 08:32:22AM -0500, Jason Tishler wrote:
> Corrina,
s/rrin/rinn/
> 2003-01-03 Jason Tishler <jason@tishler.net>
>
> * ftpd/ftpd.c (main): Add Cygwin guard to the conditional compilation
> around fcntl(F_SETOWN) to prevent the Event Log from filling with
> expected failure messages.
Thanks, I've just uploaded a new version containig this patch.
Corinna
--
Corinna Vinschen Please, send mails regarding Cygwin to
Cygwin Developer mailto:cygwin@cygwin.com
Red Hat, Inc.
--
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/
^ permalink raw reply [flat|nested] 22+ messages in thread
* Re: inetutils ftpd fcntl(F_SETOWN) failure message suppression patch
2003-01-13 3:04 ` Corinna Vinschen
@ 2003-01-13 3:30 ` Jason Tishler
2003-01-13 3:30 ` Christopher Faylor
0 siblings, 1 reply; 22+ messages in thread
From: Jason Tishler @ 2003-01-13 3:30 UTC (permalink / raw)
To: cygwin
Corinna,
On Tue, Jan 07, 2003 at 03:04:28PM +0100, Corinna Vinschen wrote:
> On Fri, Jan 03, 2003 at 08:32:22AM -0500, Jason Tishler wrote:
> > Corrina,
>
> s/rrin/rinn/
Argh! Sorry, again.
> > 2003-01-03 Jason Tishler <jason@tishler.net>
> >
> > * ftpd/ftpd.c (main): Add Cygwin guard to the conditional
> > compilation around fcntl(F_SETOWN) to prevent the Event Log from
> > filling with expected failure messages.
>
> Thanks, I've just uploaded a new version containig this patch.
You are quite welcome.
Would you be willing to to consider the following:
http://www.cygwin.com/ml/cygwin/2002-10/msg00116.html
Or, is it too esoteric for you?
Thanks,
Jason
--
PGP/GPG Key: http://www.tishler.net/jason/pubkey.asc or key servers
Fingerprint: 7A73 1405 7F2B E669 C19D 8784 1AFD E4CC ECF4 8EF6
^ permalink raw reply [flat|nested] 22+ messages in thread
* Re: inetutils ftpd fcntl(F_SETOWN) failure message suppression patch
2003-01-13 3:30 ` Jason Tishler
@ 2003-01-13 3:30 ` Christopher Faylor
2003-01-13 3:30 ` Corinna Vinschen
0 siblings, 1 reply; 22+ messages in thread
From: Christopher Faylor @ 2003-01-13 3:30 UTC (permalink / raw)
To: cygwin
On Thu, Jan 09, 2003 at 11:44:36AM -0500, Jason Tishler wrote:
>Corinna,
>
>On Tue, Jan 07, 2003 at 03:04:28PM +0100, Corinna Vinschen wrote:
>> On Fri, Jan 03, 2003 at 08:32:22AM -0500, Jason Tishler wrote:
>> > Corrina,
>>
>> s/rrin/rinn/
>
>Argh! Sorry, again.
>
>> > 2003-01-03 Jason Tishler <jason@tishler.net>
>> >
>> > * ftpd/ftpd.c (main): Add Cygwin guard to the conditional
>> > compilation around fcntl(F_SETOWN) to prevent the Event Log from
>> > filling with expected failure messages.
>>
>> Thanks, I've just uploaded a new version containig this patch.
>
>You are quite welcome.
>
>Would you be willing to to consider the following:
>
> http://www.cygwin.com/ml/cygwin/2002-10/msg00116.html
>
>Or, is it too esoteric for you?
Judging by the description, that sounds more like a patch for the FSF
inetutils maintainer than for the Cygwin inetutils maintainer.
cgf
^ permalink raw reply [flat|nested] 22+ messages in thread
* Re: inetutils ftpd fcntl(F_SETOWN) failure message suppression patch
2003-01-13 3:30 ` Christopher Faylor
@ 2003-01-13 3:30 ` Corinna Vinschen
2003-01-13 15:33 ` Jason Tishler
0 siblings, 1 reply; 22+ messages in thread
From: Corinna Vinschen @ 2003-01-13 3:30 UTC (permalink / raw)
To: cygwin
On Thu, Jan 09, 2003 at 11:49:43AM -0500, Chris Faylor wrote:
> On Thu, Jan 09, 2003 at 11:44:36AM -0500, Jason Tishler wrote:
> >Would you be willing to to consider the following:
> >
> > http://www.cygwin.com/ml/cygwin/2002-10/msg00116.html
> >
> >Or, is it too esoteric for you?
>
> Judging by the description, that sounds more like a patch for the FSF
> inetutils maintainer than for the Cygwin inetutils maintainer.
I agree. I don't really want to add functionality besides what is
normal for this inetutils. In the long run, we should consider to
get rid of this inetutils anyway and substitute them by a new version
started via cygrunsrv or sysvinit resp.
Oh btw... wouldn't you better like to maintain ProFTPd for Cygwin? ;-)
Corinna
--
Corinna Vinschen Please, send mails regarding Cygwin to
Cygwin Developer mailto:cygwin@cygwin.com
Red Hat, Inc.
^ permalink raw reply [flat|nested] 22+ messages in thread
* Re: inetutils ftpd fcntl(F_SETOWN) failure message suppression patch
2003-01-13 3:30 ` Corinna Vinschen
@ 2003-01-13 15:33 ` Jason Tishler
2003-04-22 2:10 ` proftpd (was: Re: inetutils ftpd fcntl(F_SETOWN) failure message suppression patch) Gerrit P. Haase
0 siblings, 1 reply; 22+ messages in thread
From: Jason Tishler @ 2003-01-13 15:33 UTC (permalink / raw)
To: cygwin
Corinna,
[I began to reply to this post on Friday, but I got distracted by
attempting to port vsFTPd to Cygwin. This turned out to be a good
use of my time. BTW, I never knew about vsFTPd. I wish I did about a
month ago...]
On Thu, Jan 09, 2003 at 06:20:38PM +0100, Corinna Vinschen wrote:
> On Thu, Jan 09, 2003 at 11:49:43AM -0500, Chris Faylor wrote:
> > On Thu, Jan 09, 2003 at 11:44:36AM -0500, Jason Tishler wrote:
> > >Would you be willing to to consider the following:
> > >
> > > http://www.cygwin.com/ml/cygwin/2002-10/msg00116.html
> > >
> > >Or, is it too esoteric for you?
> >
> > Judging by the description, that sounds more like a patch for the
> > FSF inetutils maintainer than for the Cygwin inetutils maintainer.
>
> I agree.
I agree too, but it was worth a shot because...
> Oh btw... wouldn't you better like to maintain ProFTPd for Cygwin?
> ;-)
I would consider the above, if I could get Cygwin ProFTPd to work! I
spent *way* too much time about a month or two ago attempting to get
Cygwin ProFTPd to work. Unfortunately, I was not successful and put the
port on the back burner. I will post my patch and findings if someone
is interested or I get motivated.
However, I was successful porting vsFTPd to Cygwin with some caveats. I
will start a separate thread to discuss these issues. Please read this
post since I could use some help with a mmap()/fork() problem...
Thanks,
Jason
--
PGP/GPG Key: http://www.tishler.net/jason/pubkey.asc or key servers
Fingerprint: 7A73 1405 7F2B E669 C19D 8784 1AFD E4CC ECF4 8EF6
--
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/
^ permalink raw reply [flat|nested] 22+ messages in thread
* proftpd (was: Re: inetutils ftpd fcntl(F_SETOWN) failure message suppression patch)
2003-01-13 15:33 ` Jason Tishler
@ 2003-04-22 2:10 ` Gerrit P. Haase
2003-04-22 4:50 ` Corinna Vinschen
0 siblings, 1 reply; 22+ messages in thread
From: Gerrit P. Haase @ 2003-04-22 2:10 UTC (permalink / raw)
To: cygwin
Hallo Jason,
>> Oh btw... wouldn't you better like to maintain ProFTPd for Cygwin?
>> ;-)
> I would consider the above, if I could get Cygwin ProFTPd to work! I
> spent *way* too much time about a month or two ago attempting to get
> Cygwin ProFTPd to work. Unfortunately, I was not successful and put the
> port on the back burner. I will post my patch and findings if someone
> is interested or I get motivated.
Yes, I'm interested.
It seems that there is a problem with the login.
I could compile the current cvs source, the server runs, but ...
I cannot login.
$ ftp localhost
Connected to loreley.antigone.familiehaase.de.
220 ProFTPD 1.2.9rc1 Server (ProFTPD Default Installation) [loreley.antigone.familiehaase.de]
Name (localhost:Gerrit): gerrit
331 Password required for gerrit.
Password:
530 Login incorrect.
ftp: Login failed.
Remote system type is UNIX.
Using binary mode to transfer files.
ftp> quit
221 Goodbye.
I applied the following patch to the current source, but it seems
that it is still all wrong...
--- modules/mod_auth.c~ 2003-04-21 22:18:26.000000000 +0200
+++ modules/mod_auth.c 2003-04-21 22:22:18.000000000 +0200
@@ -29,14 +29,15 @@
* $Id: mod_auth.c,v 1.145 2003/04/15 06:22:24 castaglia Exp $
*/
-#ifdef __CYGWIN__
-#include <windows.h>
-#include <sys/cygwin.h>
-#endif /* __CYGWIN__ */
-
#include "conf.h"
#include "privs.h"
+#ifdef __CYGWIN__
+# include <windows.h>
+# include <sys/cygwin.h>
+# define is_winnt (GetVersion() < 0x80000000)
+#endif /* __CYGWIN__ */
+
#ifdef HAVE_REGEX_H
#include <regex.h>
#endif
@@ -762,9 +762,22 @@
/* security: other functions perform pw lookups, thus we need to make
* a local copy of the user just looked up
*/
-
pw = passwd_dup(p,pw);
+#ifdef __CYGWIN__
+ /* We have to do special Windows NT voodoo with Cygwin in order to be
+ * able to switch UID/GID. More info at
+ * http://cygwin.com/cygwin-ug-net/ntsec.html#NTSEC-SETUID
+ */
+ if (is_winnt) {
+ HANDLE hToken = cygwin_logon_user(pw, pass);
+
+ if (hToken == INVALID_HANDLE_VALUE)
+ goto auth_failure;
+ cygwin_set_impersonation_token(hToken);
+ }
+#endif /* __CYGWIN__ */
+
if (pw->pw_uid == 0) {
unsigned char *root_allow = NULL;
@@ -1774,21 +1788,6 @@
}
}
-#ifdef __CYGWIN__
- /* We have to do special Windows NT voodoo with Cygwin in order to be
- * able to switch UID/GID. More info at
- * http://cygwin.com/cygwin-ug-net/ntsec.html#NTSEC-SETUID
- */
- if (GetVersion() < 0x80000000) {
- HANDLE token;
-
- if ((token = cygwin_logon_user(user, user->pw_passwd)))
- goto auth_failure;
-
- cygwin_set_impersonation_token(token);
- }
-#endif /* __CYGWIN__ */
-
if (c)
anon_require_passwd = get_param_ptr(c->subset, "AnonRequirePassword",
FALSE);
#END OF PATCH
Gerrit
--
=^..^=
--
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/
^ permalink raw reply [flat|nested] 22+ messages in thread
* Re: proftpd (was: Re: inetutils ftpd fcntl(F_SETOWN) failure message suppression patch)
2003-04-22 2:10 ` proftpd (was: Re: inetutils ftpd fcntl(F_SETOWN) failure message suppression patch) Gerrit P. Haase
@ 2003-04-22 4:50 ` Corinna Vinschen
2003-04-22 9:21 ` proftpd Gerrit P. Haase
0 siblings, 1 reply; 22+ messages in thread
From: Corinna Vinschen @ 2003-04-22 4:50 UTC (permalink / raw)
To: cygwin
On Mon, Apr 21, 2003 at 10:55:41PM +0200, Gerrit P. Haase wrote:
> Yes, I'm interested.
> It seems that there is a problem with the login.
> I could compile the current cvs source, the server runs, but ...
> I cannot login.
> [...]
> +#ifdef __CYGWIN__
> + /* We have to do special Windows NT voodoo with Cygwin in order to be
> + * able to switch UID/GID. More info at
> + * http://cygwin.com/cygwin-ug-net/ntsec.html#NTSEC-SETUID
> + */
> + if (is_winnt) {
> + HANDLE hToken = cygwin_logon_user(pw, pass);
> +
> + if (hToken == INVALID_HANDLE_VALUE)
> + goto auth_failure;
> + cygwin_set_impersonation_token(hToken);
> + }
> +#endif /* __CYGWIN__ */
> +
Actually I'm missing something like an `else' here. The authentication
on NT/2K/XP is done *instead* of making any authentication like calling
crypt() to verify the password or calling some PAM functions. You must
make sure that on NT/2K/XP that stuff doesn't get called. On 9x/Me
OTOH you still must use crypt() to verify the password. If you want to
see a really simple example, have a look into the login(1) source
--
Corinna Vinschen Please, send mails regarding Cygwin to
Cygwin Developer mailto:cygwin@cygwin.com
Red Hat, Inc.
--
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/
^ permalink raw reply [flat|nested] 22+ messages in thread
* Re: proftpd
2003-04-22 4:50 ` Corinna Vinschen
@ 2003-04-22 9:21 ` Gerrit P. Haase
2003-04-22 9:41 ` proftpd Gerrit P. Haase
2003-04-22 14:14 ` proftpd Hannu E K Nevalainen (garbage mail)
0 siblings, 2 replies; 22+ messages in thread
From: Gerrit P. Haase @ 2003-04-22 9:21 UTC (permalink / raw)
To: Corinna Vinschen
Hallo Corinna,
Am Dienstag, 22. April 2003 um 00:23 schriebst du:
> On Mon, Apr 21, 2003 at 10:55:41PM +0200, Gerrit P. Haase wrote:
>> I could compile the current cvs source, the server runs, but ...
>> I cannot login.
>> [...]
>> +#ifdef __CYGWIN__
>> + /* We have to do special Windows NT voodoo with Cygwin in order to be
>> + * able to switch UID/GID. More info at
>> + * http://cygwin.com/cygwin-ug-net/ntsec.html#NTSEC-SETUID
>> + */
>> + if (is_winnt) {
>> + HANDLE hToken = cygwin_logon_user(pw, pass);
>> +
>> + if (hToken == INVALID_HANDLE_VALUE)
>> + goto auth_failure;
>> + cygwin_set_impersonation_token(hToken);
>> + }
>> +#endif /* __CYGWIN__ */
>> +
> Actually I'm missing something like an `else' here. The authentication
> on NT/2K/XP is done *instead* of making any authentication like calling
> crypt() to verify the password or calling some PAM functions. You must
> make sure that on NT/2K/XP that stuff doesn't get called. On 9x/Me
> OTOH you still must use crypt() to verify the password. If you want to
> see a really simple example, have a look into the login(1) source
I don't need it for Win98. Windows 98 is a dead cow...
I configured with additional options and now I can login too.
But still having problems. Lets see what Jason figured out.
Gerrit
--
=^..^=
--
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/
^ permalink raw reply [flat|nested] 22+ messages in thread
* Re: proftpd
2003-04-22 9:21 ` proftpd Gerrit P. Haase
@ 2003-04-22 9:41 ` Gerrit P. Haase
2003-04-22 14:40 ` proftpd Corinna Vinschen
2003-04-22 14:14 ` proftpd Hannu E K Nevalainen (garbage mail)
1 sibling, 1 reply; 22+ messages in thread
From: Gerrit P. Haase @ 2003-04-22 9:41 UTC (permalink / raw)
To: Gerrit @ cygwin
Hallo Gerrit,
>>> I cannot login.
>>> [...]
>>> +#ifdef __CYGWIN__
>>> + /* We have to do special Windows NT voodoo with Cygwin in order to be
>>> + * able to switch UID/GID. More info at
>>> + * http://cygwin.com/cygwin-ug-net/ntsec.html#NTSEC-SETUID
>>> + */
>>> + if (is_winnt) {
>> Actually I'm missing something like an `else' here. The authentication
> I configured with additional options and now I can login too.
> But still having problems. Lets see what Jason figured out.
I fooled myself, I entered my encrypted password into my passwd file at the
right place and so the unix way to login is done with success, but without the
password in my passwd file it still doesn't work.
Gerrit
--
=^..^=
--
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/
^ permalink raw reply [flat|nested] 22+ messages in thread
* Re: proftpd
2003-04-22 9:41 ` proftpd Gerrit P. Haase
@ 2003-04-22 14:40 ` Corinna Vinschen
0 siblings, 0 replies; 22+ messages in thread
From: Corinna Vinschen @ 2003-04-22 14:40 UTC (permalink / raw)
To: Gerrit @ cygwin
On Tue, Apr 22, 2003 at 07:38:29AM +0200, Gerrit P. Haase wrote:
> Hallo Gerrit,
>
> >>> I cannot login.
> >>> [...]
> >>> +#ifdef __CYGWIN__
> >>> + /* We have to do special Windows NT voodoo with Cygwin in order to be
> >>> + * able to switch UID/GID. More info at
> >>> + * http://cygwin.com/cygwin-ug-net/ntsec.html#NTSEC-SETUID
> >>> + */
> >>> + if (is_winnt) {
>
> >> Actually I'm missing something like an `else' here. The authentication
>
> > I configured with additional options and now I can login too.
> > But still having problems. Lets see what Jason figured out.
>
> I fooled myself, I entered my encrypted password into my passwd file at the
> right place and so the unix way to login is done with success, but without the
> password in my passwd file it still doesn't work.
As I said, there's probably a check (call to crypt() somewhere. The
right way to do it is to leave it alone on 9x/Me (which therefore is
no problem to support here, btw.) and to call that NT stuff on NT systems.
That can't be too much of a problem...
Corinna
--
Corinna Vinschen Please, send mails regarding Cygwin to
Cygwin Developer mailto:cygwin@cygwin.com
Red Hat, Inc.
--
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/
^ permalink raw reply [flat|nested] 22+ messages in thread
* RE: proftpd
2003-04-22 9:21 ` proftpd Gerrit P. Haase
2003-04-22 9:41 ` proftpd Gerrit P. Haase
@ 2003-04-22 14:14 ` Hannu E K Nevalainen (garbage mail)
2003-04-23 12:26 ` proftpd Gerrit P. Haase
1 sibling, 1 reply; 22+ messages in thread
From: Hannu E K Nevalainen (garbage mail) @ 2003-04-22 14:14 UTC (permalink / raw)
To: ML CygWIN
> From: cygwin-owner@cygwin.com [mailto:cygwin-owner@cygwin.com]On Behalf
> Of Gerrit P. Haase
> I don't need it for Win98. Windows 98 is a dead cow...
That is true escapism. 8-I
There still is some VERY useful software out there that *DOES NOT work* on
NT/2K.
I've seen such software; the education I'm finishing have included the use
of such software on several occasions. As it seems now I will most likely
meet more of the same in my future work.
One can wish... but real life situations doesn't change *that* fast.
/Hannu E K Nevalainen, Mariefred, Sweden
- in a few weeks: B.Sc. EE - micro and embedded computer systems
--END OF MESSAGE--
--
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/
^ permalink raw reply [flat|nested] 22+ messages in thread
* Re: proftpd
2003-04-22 14:14 ` proftpd Hannu E K Nevalainen (garbage mail)
@ 2003-04-23 12:26 ` Gerrit P. Haase
0 siblings, 0 replies; 22+ messages in thread
From: Gerrit P. Haase @ 2003-04-23 12:26 UTC (permalink / raw)
To: Gerrit @ cygwin
Hallo Hannu,
If you really need an ftpd for Win98, there are the inetutils,
already available for Cygwin, included is also the ftpd.
BTW, it should be no problem to get it running without thew ntsec
features, but that is not what I want, if you really want to use
Win98 to setup FTP service for the internet freaks, then you're
lost...
NT gives you a little more security (well, I hope so).
Go and build Proftpd, just remove the wrong #ifdef __CYGWIN__ code
and write your password (encrypted) into your /etc/passwd file and
you have proftpd running on Cygwin/Win98. Since it builds already
without problems, I'll focus now to get NTSEC up and running too.
Gerrit
--
=^..^=
--
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/
^ permalink raw reply [flat|nested] 22+ messages in thread
end of thread, other threads:[~2006-03-15 2:42 UTC | newest]
Thread overview: 22+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2003-08-22 9:03 accept doesn't block while running as NT service linamat
2003-08-22 10:43 ` proftpd Mauri
2003-08-22 17:01 ` proftpd Eduardo Osorio Armenta
2003-08-22 17:48 ` proftpd Hannu E K Nevalainen (garbage mail)
2003-09-01 6:56 ` Re[2]: proftpd Mauri
2003-09-01 15:42 ` Hannu E K Nevalainen (garbage mail)
2003-08-22 19:40 ` proftpd GDN_Cygwin
2003-08-24 22:23 ` proftpd Jason Tishler
-- strict thread matches above, loose matches on Subject: below --
2006-03-13 15:53 ProFTPD Tim Bedding
2006-03-15 2:42 ` ProFTPD Jason Tishler
2004-03-01 22:47 proftpd Michael Chen
2004-03-01 23:10 ` proftpd Brian Ford
2004-03-01 23:31 ` proftpd Michael Chen
2004-03-01 23:34 ` proftpd Brian Ford
[not found] <8B7C4F148B66B74AA41CC954C741536E2021E3@exchg_ct.KRONOS.COM>
2003-11-12 18:57 ` proftpd Jason Tishler
[not found] <BA9616F8350FB549952FC2A2CE4EA8CA63E6D7@redondo.winresources.com>
2003-10-24 20:47 ` proftpd Jason Tishler
2003-10-24 23:12 ` proftpd Hannu E K Nevalainen
2003-01-13 2:54 inetutils ftpd fcntl(F_SETOWN) failure message suppression patch Jason Tishler
2003-01-13 3:04 ` Corinna Vinschen
2003-01-13 3:30 ` Jason Tishler
2003-01-13 3:30 ` Christopher Faylor
2003-01-13 3:30 ` Corinna Vinschen
2003-01-13 15:33 ` Jason Tishler
2003-04-22 2:10 ` proftpd (was: Re: inetutils ftpd fcntl(F_SETOWN) failure message suppression patch) Gerrit P. Haase
2003-04-22 4:50 ` Corinna Vinschen
2003-04-22 9:21 ` proftpd Gerrit P. Haase
2003-04-22 9:41 ` proftpd Gerrit P. Haase
2003-04-22 14:40 ` proftpd Corinna Vinschen
2003-04-22 14:14 ` proftpd Hannu E K Nevalainen (garbage mail)
2003-04-23 12:26 ` proftpd Gerrit P. Haase
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).