Issues w/ timezones on gssftpd

Tom Yu tlyu at MIT.EDU
Wed Nov 29 23:31:45 EST 2006


>>>>> "Philip" == Philip Prindeville <philipp at redfish-solutions.com> writes:

Philip> The fix could be as simple as making sure ctime() gets called
Philip> before the chroot(). See the latest patch (attached).

Philip> It sacrifices clarity for simplicity/portability, though... Except that
Philip> I just tested the fix, and it doesn't work:

Philip> Nov 29 19:40:33 mail ftpd[25081]: connection from 192.168.1.8 (pvr.redfish-solutions.com) at Wed Nov 29 19:40:33 2006
Philip> Nov 29 19:40:37 mail ftpd[25081]: ANONYMOUS FTP LOGIN FROM 192.168.1.8, pvr.redfish-solutions.com (guest)
Philip> Nov 30 02:41:03 mail ftpd[25081]: get /pub/resume-ng.doc
Philip> Nov 30 02:41:03 mail ftpd[25081]: get: 55296 bytes transferred

This is completely unsurprising given my reading of the ftpd sources
and the glibc sources, as discussed in my previous message.  For
similar reasons, calling tzset() probably won't work either.

---Tom



More information about the krbdev mailing list