Hullo Denys, Can you help us again.
I’ve posted the patch for ftpd authentication, but it seems that the trunk getpwnam (et al.) have gone haywire. (I could override the getpwnam as Tanguy says, but it seems a little flawed.) Regards, Morten Kvistgaard From: Tanguy Pruvot [mailto:[email protected]] Sent: 4. august 2014 14:27 To: Morten Kvistgaard Cc: [email protected] Subject: Re: ftpd authentication Its the same on bionic, which doesnt have (yet) login and passwords. I had to override the getpwnam() and getpwuid() functions, renamed to safegetpwnam() : https://github.com/tpruvot/android_external_busybox/commit/1d4b77d5c9f6347e0544238c26f033d0fa7f86f4#diff-e4ad32f00472a63768a9760fe89f81deR18 2014-08-04 12:38 GMT+02:00 Morten Kvistgaard <[email protected]<mailto:[email protected]>>: I've attached a patch for adding basic authentication to the ftpd. This used to work with version 1.21.1. And walter harms tested it with 1.22.1. And it worked with trunk 3 months ago. It doesn't seem to work with the current trunk though? The difference lies with "getpwnam" I think. (It's returning NULL on my Ubuntu.) Any ideas? Regards, Morten Kvistgaard -- This message has been scanned for viruses and dangerous content by CronLab (www.cronlab.com<http://www.cronlab.com>), and is believed to be clean. _______________________________________________ busybox mailing list [email protected]<mailto:[email protected]> http://lists.busybox.net/mailman/listinfo/busybox -- This message has been scanned for viruses and dangerous content by CronLab (www.cronlab.com), and is believed to be clean.
ftp_authentication.patch
Description: ftp_authentication.patch
_______________________________________________ busybox mailing list [email protected] http://lists.busybox.net/mailman/listinfo/busybox
