Skip to content
zesstra edited this page Nov 16, 2010 · 2 revisions

Info for the current task to get it working with proftpd-1.3.3

RELEASE_NOTES-1.3.3

If you are a module developer, then you will want to know of the following API/internals changes:

  * The original USER value sent by the client is no longer stored in
    the config tree.  That is, the following no longer works:

      user = get_param_ptr(main_server->conf, C_USER, FALSE);

    Instead, the original USER value is stashes in the session.notes
    table.  Thus the above line of code can be replaced with:

      user = pr_table_get(session.notes, "mod_auth.orig-user", NULL);

    A similar change occurred for the anonymous "password" sent, but
    this will probably not apply to most modules.
Clone this wiki locally