-
Notifications
You must be signed in to change notification settings - Fork 32
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Doesn't seem to compile #21
Comments
What system did you try to build it on? There are some caveats for non-Debian/Ubuntu Linux based systems. Update: I just pushed a minor update to the README, detailing the requirement on the |
Signed-off-by: Joachim Nilsson <troglobit@gmail.com>
Ubuntu Disco. I'm compiling inside a docker container. My ultimate goal BTW is to create a static build which I can then transfer to our real server and use there without creating a mess there with all the build packages. |
Ah. Hooray. Brilliant. Your pkg-config tip was the right one. I hadn't installed this package. Thanks a lot! |
Great! I'll add a check + warning to the configure script :-) |
Signed-off-by: Joachim Nilsson <troglobit@gmail.com>
Wow, this is really cool. I'm so happy I discovered this tool. If anyone else is interested: You can very simply create a static build with (perhaps you'd also want to mention this in the README, @troglobit): |
Ah, unfortunately, there's still some remaining problem: Everything seems to work but I just cannot authenticate. No matter which credentials (user/password) I try, uftpd always says: "Guest login OK" and then I'm in an empty folder. I wonder if it's due to these messages here during static build:
Although all shared libraries should be available, because it's the same distro... Hmmm. Scratches head. And I wonder why any credentials are accepted. Shouldn't only the user "ftp" and corresponding UNIX password be allowed? |
Suddenly it works. I can list files. But even worse: Any password is accepted. Is this normal? |
Yup, there is no user or password handling at all. That is one of the things that make uftpd really small. Lines 257 to 266 in 04ea51c
Patches welcome ;-) |
Ah, I see. I thought at least the FTP user's password is checked. A bit sad, because I think it rules out a lot of use-cases like mine where I just wanted to give someone temporary access to our server to fix some specific problem. Although I'm not only a C novice and this language always frightens me a bit, I tried to be brave and add this feature. I thought I got pretty close, but now it just hangs after receiving the username. Hmmm :-( Any hints on what may be wrong are very welcome :-) |
Yeah C can be a bit frightening, but I think you made a good job of it! :) I posted a comment in the patch, I hope I'm not completely off base. For an official feature it needs a bit more work, but otherwise it looks good. |
I did a clone of all 3 projects and then did this:
The text was updated successfully, but these errors were encountered: