[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Heimdal 1.0.1 ftpd problem - more info
To answer myself: the solution is to rename /usr/include/glob.h and
/usr/local/include/glob.h for the time of configuration and compiling,
heimdal finds it own version of this header file.
David
On Thu, 15 Nov 2007, xdavid@lib-eth.natur.cuni.cz wrote:
>
>
> Hi, I just managed to get more on this - ftpd segfaults. Here is the output
> from gdb:
>
> Program received signal SIGSEGV, Segmentation fault.
> [Switching to Thread -1213044928 (LWP 22845)]
> 0x08053ef7 in ftpd_popen (program=0xbfe3f500 "/bin/ls", type=0x805948c "r",
> do_stderr=1, no_glob=0) at popen.c:156
> 156 for (pop = gl.gl_pathv;
>
> (gdb) backtrace
> #0 0x08053ef7 in ftpd_popen (program=0xbfe3f500 "/bin/ls", type=0x805948c
> "r", do_stderr=1, no_glob=0) at popen.c:156
> #1 0x0804f05f in retrieve (cmd=0x805854e "/bin/ls -la %s", name=0xbfe3f500
> "/bin/ls") at ftpd.c:1053
> #2 0x08051a40 in list_file (file=0x8057584 ".") at ftpd.c:2228
> #3 0x0804b75e in yyparse () at ftpcmd.y:307
> #4 0x0804ddc5 in main (argc=0, argv=0x8057f55) at ftpd.c:431
>
> Hope this helps to find the problem.
>
> Thnaks in advance,
>
> David
>
>
> On Thu, 15 Nov 2007, xdavid@lib-eth.natur.cuni.cz wrote:
>
>>
>> Hi,
>>
>> I just upgraded from heimdal 0.7.2 to 1.0.1 on Debian 3.1 and the heimdal's
>> ftpd does not work well for me:
>>
>> ~$ ftp web
>> Connected to ......
>> 220 web FTP server (Version 6.00+Heimdal 1.0.1) ready.
>> Trying GSSAPI...
>> Error initializing security context: unknown mech-code 0 for mech unknown
>>
>> *** Using plaintext user and password ***
>>
>> Name (web:komanek):
>> 331 Password required for komanek.
>> Password:
>> 230-Linux web 2.6.20 #7 SMP PREEMPT Wed Feb 14 16:09:13 CET 2007 i686
>> GNU/Linux
>> 230-
>> 230-The programs included with the Debian GNU/Linux system are free
>> software;
>> 230-the exact distribution terms for each program are described in the
>> 230-individual files in /usr/share/doc/*/copyright.
>> 230-
>> 230-Debian GNU/Linux comes with ABSOLUTELY NO WARRANTY, to the extent
>> 230-permitted by applicable law.
>> 230-Debian GNU/Linux 3.1 %h
>> 230 User komanek logged in.
>> Remote system type is UNIX.
>> Using binary mode to transfer files.
>> ftp> ls
>> 421 Service not available, remote server has closed connection
>> ftp>
>>
>>
>> I have following in the /etc/inetd.conf
>>
>> ftp stream tcp nowait root /usr/sbin/tcpd
>> /usr/local/libexec/ftpd -a plain -u 022 -d -v -l
>>
>> Could it be a bug or has something changed what I need to reflect in my
>> configuration since 0.7.2 ?
>>
>> Thnaks in advance,
>>
>> David Komanek
>>
>