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_mkdir.c

    r983 r987  
    8686    msg_dir = (struct mess_dir *) buffer ; 
    8787#ifdef NDG_AUTH 
    88     if (bbftpd_private_authz(MSG_MKDIR_V2, (void *)msg_dir, logmessage) != 0) { 
     88    if (bbftpd_private_authz_control(MSG_MKDIR_V2, msg_dir->transferoption, msg_dir->dirname, 
     89                                     logmessage) != 0) { 
    8990      syslog(BBFTPD_ERR, logmessage); 
    9091      reply(MSG_BAD, logmessage); 
Note: See TracChangeset for help on using the changeset viewer.