Ignore:
Timestamp:
23/05/06 16:25:39 (13 years ago)
Author:
spascoe
Message:

Closer inspection of the bbftp code reveals I'll need to refactor the
authz interface slightly. bbftpd_private_authz has been renamed
bbftpd_private_authz_control with a slightly different prototype.
This function now doesn't authorise store/retrieve requests.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • TI05-delivery/trunk/src/bbftp-server-3.2.0/bbftpd/bbftpd_stat.c

    r983 r987  
    104104    msg_file = (struct mess_dir *) buffer ; 
    105105#ifdef NDG_AUTH 
    106     if (bbftpd_private_authz(MSG_STAT, (void *)msg_file, logmessage) != 0) { 
     106    if (bbftpd_private_authz_control(MSG_STAT, msg_file->transferoption, msg_file->dirname, 
     107                                     logmessage) != 0) { 
    107108      syslog(BBFTPD_ERR, logmessage); 
    108109      reply(MSG_BAD, logmessage); 
Note: See TracChangeset for help on using the changeset viewer.