Ignore:
Timestamp:
23/05/06 15:09:39 (14 years ago)
Author:
spascoe
Message:

Added the autorisation hook bbftpd_private_authz. It appears to be called
correctly for a dir command.

File:
1 edited

Legend:

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

    r773 r983  
    8585    buffer[msglen] = '\0' ; 
    8686    msg_dir = (struct mess_dir *) buffer ; 
     87#ifdef NDG_AUTH 
     88    if (bbftpd_private_authz(MSG_MKDIR_V2, (void *)msg_dir, logmessage) != 0) { 
     89      syslog(BBFTPD_ERR, logmessage); 
     90      reply(MSG_BAD, logmessage); 
     91      FREE(buffer); 
     92      FREE(logmessage); 
     93      return 0; 
     94    } 
     95#endif // NDG_AUTH 
     96 
    8797    transferoption  = msg_dir->transferoption ; 
    8898    dirname = msg_dir->dirname ; 
Note: See TracChangeset for help on using the changeset viewer.