Antwort: Re: Re: [proxy-suite] USER-WRN bad 'USER@' dest
"Frank Sackewitz" <[email protected]> Wed, 20 Nov 2002 17:12:30 +0100
| Newsgroups | gmane.linux.suse.proxy-suite |
|---|---|
| Message-ID | <OF9D661847.1F5780F0-ONC1256C77.0057FECE@LocalDomain> |
--=_alternative 0059095AC1256C77_= Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Marius Tomaschewski <[email protected]> 20.11.2002 16:37 =20 An: Frank Sackewitz <[email protected]> Kopie: [email protected] Thema: Re: Re: [proxy-suite] USER-WRN bad 'USER@' dest >On Wed, Nov 20, 2002 at 04:03:12PM +0100, Frank Sackewitz wrote: >>=20 >> It works (in parts): >>=20 >> # ftp 192.168.127.225 >> Connected to 192.168.127.225. >> 220 sordns FTP server (Version 1.8.1 - 2002/01/29 00:30:00) ready. >> Name (192.168.127.225:anton): [email protected] >> 501 Invalid destination in user name. >> Login failed. >> ftp> user [email protected] >> 331 Anonymous login ok, send anything as password. >> Password: >> 230- >> Welcome at Freie Universit=E4t Berlin, Germany. >> Willkommen auf dem FTP-Server der Freien Universit=E4t Berlin. >> Ein Service der Zentraleinrichtung f=FCr Datenverarbeitung (ZEDAT). >>=20 >> 230 Anonymous login ok. >> ftp> quit >> 221 Goodbye. > >OK. As I said, the proxy is not able to resolv hostnames >in your chroot, because the some files are missed there. > >Are you using DNS for resolving? Do you have something >like this in these files (needed in chroot dir as well! ): > >/etc/nsswitch.conf >hosts: files dns >networks: files dns > >/etc/resolv.conf >domain your-domain.top >search your-domain.top >nameserver 192.168.x.y > >/etc/host.conf >order hosts, bind >multi on All Files are there, but I=B4m afraid the problem is on the bind running on that system. If I put the name and the address in hosts, everything works fine. But why ping can resolve the name if I try=20 it on the console? OK, the ping is not running in this chroot.=20 But all files are there where there should be. sordns:/var/ftp-proxy/rundir/etc # less host.conf ... order bind, hosts multi on sordns:/var/ftp-proxy/rundir/etc # less nsswitch.conf ... hosts: files dns networks: files dns sordns:/var/ftp-proxy/rundir/etc # less resolv.conf nameserver 193.101.111.10 nameserver 193.101.111.20 ... --=20 Bye Frank Sackewitz EDM HASCO-GERMANY --=_alternative 0059095AC1256C77_=--