Re: Guest users on RedHat ES3.0--anyone have success with Redhat?

Stephane Bentebba <[email protected]> Fri, 02 Dec 2005 11:45:02 +0100
Newsgroups gmane.network.ftp.wuftpd.user
Message-ID <[email protected]>
This is a multi-part message in MIME format.
--------------040706050202000401070107
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
Content-Transfer-Encoding: quoted-printable

please,

to make sure that xinetd does not have anything to do with your problem
try to run wu-ftp in deamon mode :
/usr/sbin/wu-ftpd -a -s
(see manpage for options meaning if you care)
this will launch ftpd in the shell : don't close the shell, but keep it=20
to cactch any potential error message
also :
before launching wu-ftpd
type "script -af my_big_problem"
then you can launch wu-ftpd with command (1)
this will record all what you type and what is displayed to the file=20
my_big_problem
to exit the save : type ctrl-D (this exit the "script shell" and let you=20
go back to the previous shell, then you can copy the file my_big_problem

last :
if you still have the guest problem when launching wu-ftpd, try=20
launching wu-ftpd with strace command like this :
strace /usr/sbin/wu-ftpd -a -s
this will dump a lot of debug info
but it is possible we can figure out why it fail
you should send me the my_big_problem file or share it with anyone, here=20
perhaps
and we could perhaps track error message, file missing, etc.

I recap cleanlly
first, to ensure xinetd is not the problem), in a new shell :
    script -af my_big_problem
    /usr/sbin/wu-ftpd -a -s
    (ctrl-C to close the daemon)
if the problem still persist :
    strace /usr/sbin/wu-ftpd -a -s
    (log in guest from another window - nothing more because this will=20
launch a lot of debug : just try to log in guest (user/pass and that's=20
all, the less you can output by strace, the easiest the log will be to=20
decode))
    (ctrl-C to abort the daemon)
    (ctrl-D to close script)
    (send us - or just me - the my_big_problem file)

hope this will help

in case it does work in the first attempt, then xinetd appear to be the=20
problem, try to avoir that in making an init.d startup script just for=20
wu-ftp that way, launch wu-ftpd in daemon mode rather throught xinetd=20
(if it is acceptable for you)

thank you to let us know about if something works


[email protected] a =E9crit :

> I've spent two days trying to get my guest users working (which worked=20
> fine on Suse Linux and Solaris 8--using the EXACT same ftpaccess file)=20
> on this OS and can't figure it out.  Anonymous user logs on fine.  I'm=20
> most certain it's hitting the ftpaccess file.  However, it acts like=20
> it isn't:
>
> Y:\>ftp bosftp2
> Connected to bosftp2.bc.com.
> 220 Boise FTP server ready.
> User (bosftp2.bc.com:(none)): xxxx
> 331 Password required for xxxx.
> Password:
> 530 Login incorrect.
> Login failed.
> ftp> quit
> 221 Goodbye.
>
> Here's the config that xinetd uses to start ftp:
>
> [root@bosftp1 xinetd.d]# more gssftp
> # default: off
> # description: The kerberized FTP server accepts FTP connections \
> #              that can be authenticated with Kerberos 5.
> service ftp
> {
>         flags           =3D REUSE
>         socket_type     =3D stream      =20
>         wait            =3D no
>         user            =3D root
>         server          =3D /usr/sbin/in.ftpd
>         server_args     =3D -a -l
>         log_on_failure  +=3D USERID
>         disable         =3D no
> }
>

--=20
*St=E9phane Bentebba
*Technicien de Maintenance
=09
T=E9l.:
	 +33 (0)1.41.73.20.16
Fax.:
	 +33 (0)1.41.73.20.08

[email protected] <mailto:[email protected]>
www.fps.fr
<http://www.fps.fr>
<http://www.fps.fr> 	*FPS France*
Parc d'affaire Silic
43, rue de la Grosse Pierre
BP 40160
94.533 RUNGIS Cedex






--------------040706050202000401070107
Content-Type: multipart/related;
 boundary="------------000700090809080209010905"


--------------000700090809080209010905
Content-Type: text/html; charset=us-ascii
Content-Transfer-Encoding: 7bit

<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
  <meta http-equiv="Content-Type" content="text/html;charset=ISO-8859-1">
  <title></title>
</head>
<body text="#000000" bgcolor="#ffffff">
please,<br>
<br>
to make sure that xinetd does not have anything to do with your problem
<br>
try to run wu-ftp in deamon mode : <br>
/usr/sbin/wu-ftpd -a -s<br>
(see manpage for options meaning if you care)<br>
this will launch ftpd in the shell : don't close the shell, but keep it
to cactch any potential error message<br>
also : <br>
before launching wu-ftpd<br>
type "script -af my_big_problem"<br>
then you can launch wu-ftpd with command (1)<br>
this will record all what you type and what is displayed to the file
my_big_problem<br>
to exit the save : type ctrl-D (this exit the "script shell" and let
you go back to the previous shell, then you can copy the file
my_big_problem<br>
<br>
last : <br>
if you still have the guest problem when launching wu-ftpd, try
launching wu-ftpd with strace command like this : <br>
strace /usr/sbin/wu-ftpd -a -s<br>
this will dump a lot of debug info<br>
but it is possible we can figure out why it fail<br>
you should send me the my_big_problem file or share it with anyone,
here perhaps<br>
and we could perhaps track error message, file missing, etc.<br>
<br>
I recap cleanlly <br>
first, to ensure xinetd is not the problem), in a new shell :<br>
&nbsp;&nbsp;&nbsp; script -af my_big_problem<br>
&nbsp;&nbsp;&nbsp; /usr/sbin/wu-ftpd -a -s<br>
&nbsp;&nbsp;&nbsp; (ctrl-C to close the daemon)<br>
if the problem still persist :<br>
&nbsp;&nbsp;&nbsp; strace /usr/sbin/wu-ftpd -a -s<br>
&nbsp;&nbsp;&nbsp; (log in guest from another window - nothing more because this will
launch a lot of debug : just try to log in guest (user/pass and that's
all, the less you can output by strace, the easiest the log will be to
decode))<br>
&nbsp;&nbsp;&nbsp; (ctrl-C to abort the daemon)<br>
&nbsp;&nbsp;&nbsp; (ctrl-D to close script)<br>
&nbsp;&nbsp;&nbsp; (send us - or just me - the my_big_problem file)<br>
<br>
hope this will help<br>
<br>
in case it does work in the first attempt, then xinetd appear to be the
problem, try to avoir that in making an init.d startup script just for
wu-ftp that way, launch wu-ftpd in daemon mode rather throught xinetd
(if it is acceptable for you)<br>
<br>
thank you to let us know about if something works<br>
<br>
<br>
<a class="moz-txt-link-abbreviated" href="mailto:[email protected]">[email protected]</a> a &eacute;crit&nbsp;:<br>
<blockquote type="cite"
 cite="[email protected]">
  <meta http-equiv="Content-Type" content="text/html; ">
  <meta name="Generator" content="MS Exchange Server version 6.5.7638.1">
  <title>Guest users on RedHat ES3.0--anyone have success with Redhat?</title>
<!-- Converted from text/rtf format -->
  <p><font size="2" face="Arial">I've spent two days trying to get my
guest users working (which worked fine on Suse Linux and Solaris
8--using the EXACT same ftpaccess file) on this OS and can't figure it
out.&nbsp; Anonymous user logs on fine.&nbsp; I'm most certain it's hitting the
ftpaccess file.&nbsp; However, it acts like it isn't:</font></p>
  <p><font size="2" face="Arial">Y:\&gt;ftp bosftp2</font>
  <br>
  <font size="2" face="Arial">Connected to bosftp2.bc.com.</font>
  <br>
  <font size="2" face="Arial">220 Boise FTP server ready.</font>
  <br>
  <font size="2" face="Arial">User (bosftp2.bc.com:(none)): xxxx</font>
  <br>
  <font size="2" face="Arial">331 Password required for xxxx.</font>
  <br>
  <font size="2" face="Arial">Password:</font>
  <br>
  <font size="2" face="Arial">530 Login incorrect.</font>
  <br>
  <font size="2" face="Arial">Login failed.</font>
  <br>
  <font size="2" face="Arial">ftp&gt; quit</font>
  <br>
  <font size="2" face="Arial">221 Goodbye.</font>
  </p>
  <p><font size="2" face="Arial">Here's the config that xinetd uses to
start ftp:</font>
  </p>
  <p><font size="2" face="Arial">[root@bosftp1 xinetd.d]# more gssftp</font>
  <br>
  <font size="2" face="Arial"># default: off</font>
  <br>
  <font size="2" face="Arial"># description: The kerberized FTP server
accepts FTP connections \</font>
  <br>
  <font size="2" face="Arial">#&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; that can be authenticated
with Kerberos 5.</font>
  <br>
  <font size="2" face="Arial">service ftp</font>
  <br>
  <font size="2" face="Arial">{</font>
  <br>
  <font size="2" face="Arial">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; flags&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; = REUSE</font>
  <br>
  <font size="2" face="Arial">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; socket_type&nbsp;&nbsp;&nbsp;&nbsp; = stream&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; </font>
  <br>
  <font size="2" face="Arial">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; wait&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; = no</font>
  <br>
  <font size="2" face="Arial">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; user&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; = root</font>
  <br>
  <font size="2" face="Arial">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; server&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; =
/usr/sbin/in.ftpd</font>
  <br>
  <font size="2" face="Arial">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; server_args&nbsp;&nbsp;&nbsp;&nbsp; = -a -l</font>
  <br>
  <font size="2" face="Arial">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; log_on_failure&nbsp; += USERID</font>
  <br>
  <font size="2" face="Arial">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; disable&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; = no</font>
  <br>
  <font size="2" face="Arial">}</font>
  </p>
</blockquote>
<br>
<div class="moz-signature">-- <br>
<title>mysignature</title>
<meta http-equiv="content-type" content="text/html; charset=ISO-8859-1">
<table cellspacing="0" cellpadding="6" bgcolor="white" border="0">
  <tbody>
    <tr>
      <td valign="top" align="center"> <font
 face="Arial,Helvetica,Geneva,Swiss,SunSans-Regular" size="2"><b><font
 face="Helvetica, Arial, sans-serif">St&eacute;phane Bentebba</font><br>
      </b></font><small><font face="Helvetica, Arial, sans-serif">Technicien
de Maintenance</font></small><br>
      </td>
      <td align="center" valign="middle">
      <table cellpadding="0" cellspacing="0" border="0">
        <tbody>
          <tr>
            <td valign="top"><font face="Helvetica, Arial, sans-serif"
 size="2">T&eacute;l.:</font><font face="Helvetica, Arial, sans-serif"><br>
            </font> </td>
            <td valign="top"><font face="Helvetica, Arial, sans-serif"
 size="2">&nbsp;+33 (0)1.41.73.20.16</font><font
 face="Helvetica, Arial, sans-serif"><br>
            </font> </td>
          </tr>
          <tr>
            <td valign="top"><font face="Helvetica, Arial, sans-serif"
 size="2">Fax.:</font><font face="Helvetica, Arial, sans-serif"><br>
            </font> </td>
            <td valign="top"><font face="Helvetica, Arial, sans-serif"
 size="2">&nbsp;+33 (0)1.41.73.20.08</font><font
 face="Helvetica, Arial, sans-serif"><br>
            </font> </td>
          </tr>
        </tbody>
      </table>
      <div align="center"><font face="Helvetica, Arial, sans-serif"
 size="2"><a href="mailto:[email protected]">[email protected]</a></font><font
 face="Helvetica, Arial, sans-serif"><br>
      </font> <font face="Arial,Helvetica,Geneva,Swiss,SunSans-Regular"
 size="2"> <a href="http://www.fps.fr"><font
 face="Helvetica, Arial, sans-serif">www.fps.fr</font><br>
      </a></font></div>
      </td>
    </tr>
    <tr>
      <td valign="center" align="center"><a href="http://www.fps.fr"><img
 height="46" src="cid:[email protected]" width="92" alt=""
 border="0"> </a> </td>
      <td valign="top" align="center"><font
 face="Helvetica, Arial, sans-serif"><small><b>FPS France</b><br>
Parc d'affaire Silic<br>
43, rue de la Grosse Pierre<br>
BP 40160<br>
94.533 RUNGIS Cedex</small></font><br>
      </td>
    </tr>
  </tbody>
</table>
<br>
<br>
<br>
<br>
</div>
</body>
</html>

--------------000700090809080209010905
Content-Type: image/gif;
 name="logo-fps.gif"
Content-Transfer-Encoding: base64
Content-ID: <[email protected]>
Content-Disposition: inline;
 filename="logo-fps.gif"

R0lGODlhXAAuAPcAAAAAAAAACAAICAgAAAgICBAAABAICBAQEBgAABgYGBghISEAACEhISkA
ACkhGCkhISkpKTEAADExMTkAADkIADkxKTk5OUIAAEJCQkoAAEpKSlIIAFJKSlJSUloAAFoI
AFoQAFpaWlpjY2MIAGMQAGNjY2sIAGsQAGtjY3MIAHNra3Nzc3sQAHsYAHt7e3t7hHuEhIQQ
AIQYAIRzc4R7e4SEhISEjIxKQoyEhIyMjJQQAJQYAJSUlJScnJwQAJwYAJwYCJwhAJycnKUQ
AKUYAKWlnKWlpaWtra0QAK0YAK0hAK1jUq1zY62tpa2tra2tta21ta29vbUQALUYALUhALUp
ALVjUrW1tbW1vbW9vb0YAL0hAL0hCL0pAL0pCL0xCL05GL1aQr2Ee72UjL2trb29vb3GxsYp
AMYpCMYxCMbGxs7OztYxANYxCNY5CNaEY9aEa9aUhNbW1t4hAN4xCN45CN45EN5rSt5zSt6U
e97Ozt7e3ucYAOchAOcpAOcxCOc5COc5EOdCCOdCEOdKEOdjOedrMedrSudzSud7Sud7Uufn
5+fv7+8xAO9CEO9aKe9aMe9rOe/n7+/v7/cYAPcxAPdSIfdSKfdaKfdzSveEY/eMWvethPe1
e/fv7/f39/8pAP8xAP85AP9CAP9CCP9KAP9SEP9rIf9rOf9zQv97Qv97Uv+EOf+EQv+ESv+M
Of+MY/+UY/+Uc/+lUv+la/+9nP/nrf/n1v/n3v/vrf/v5//v7//39///9///////////////
////////////////////////////////////////////////////////////////////////
////////////////////////////////////////////////////////////////////////
////////////////////////////////////////////////////////////////////////
/////////////////////////////////ywAAAAAXAAuAAAI/gB9CRxIsKDBgwgTKlzIsKHD
hxAjSoTIq6LFixgzZvT1SaNHjLt6KeS166PJTyIPpjoVqlKoljBhupT50qVLPz14bTo102bN
mD5bjqIU55PBW6xGjRIlamlTpk6jQq0U4ZNRg6gGKdmqhArXrV65hu3KdQAMOZm0Kkmyti3b
t27bbplyYtFVX7VswYH7tu9av0mIsAAgR84krIOSJKGiuLHjx4+nFEBhpNAgKlUwe6lSZXNn
zp4/d03yocIaq7dsgfFKpTVozq9hi24xwIiRPXcFZl08GrJvx1QKlKh8mTFbxl6njE6+PPOU
AULUfJr1prVr44+J+KYiA4Bt3AV3/rdWrHwK8sXllZjnnUQ48evW48u3nlnxBQhO9LxabLz/
/P9JxOCdEXIgplhmXW2m4GueLaiEe5b5N95vjfW3g3eKqNJ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yvUinKoULYX9m4SKeGIQFJyFZGs4msQS8IOY7gIkdzF
k07CBSl4g7b4VAFwJVICF8iThO9hUYVbpBdZqODIK2hxIZf8kXVIoEYjIJIhuyAFCbNWpMRN
bnEMm8KODpkbz42GXkn4YhYfkkvAUWGTt3mILiyFmdCxBppdMVHTWAOCATmhc20CyymleUuF
5JI/rcEmLBeyTeaM7EMb/gNbtgBAgzWiE0f0KgAMbUnNy2hMPTtskkOC2RovJEhjbFkac8wj
BSAM4IqowooSPvCBEXCUBABYAQrbmZBVKGEEHkXpBxrAQ19qsxIe7ShHPUoClNaUozL9AAUW
AAAMNEEI+3PZEhTAgAMcIAFGTYALsEhShDBBAQo4alIP8IA7NcQTDygqUqcq1a5uNQEQCAEP
eniFeRJkEqc6QhMQxTuCQgStRlhrXI8ghCbsQSJqmCuigLjWvc6VhjF0Av8UMok1yGENiE3s
HpqakMIa1rBqeCxjEfKJPSRWDpE9bGI3i1nEymEPv0wIwgRilNFGxCiHKa3LHJI3hB2MI7kp
5i1pJ0Lb2tr2trjNrW53y9ve3lYOB5CABBQCAAsAwAkMKcMBGGIAFwxEAAupQU8hAADiChcC
DJFDBxhSXV90VyEEkIBZC0JVIQiEAApRAwMoCd6HyIEACUgAcVcAgRosZBEWmIR8FbJcApTB
F+hNCAPGexACrEAF9l2IHDQwickS5gCpSkh8FQCAyS7Xu+9ViHgdQoDPEpgg2uUuR76LkAM0
eBEM4C9p46SQRXx3sgFuiBwwIGJfqGG/B5HAXc+7WoF89xMkPogc5ETjhMzJtw/pMW1lyxAl
I/nJUI6ylKdM5Sr7IiAAADs=
--------------000700090809080209010905--

--------------040706050202000401070107--