How does NcFTPds custom authentication work?
NcFTPd can communicate with a separate process, the guts of which you write, to do user authentication. Basically, NcFTPd sends a message to this process, and this process does the validation. If the user is authenticated, the process returns information such as the user’s home directory, access privileges, etc. This isn’t as hard as it sounds. The Authentication API comes with C source code for a sample implementation; all you have to do is write the code that does the authentication.