Ignore:
Timestamp:
22/05/06 12:23:42 (14 years ago)
Author:
spascoe
Message:

Added the private authentication API extensions needed to implement
NDG security. This API is connected to empty stub functions, no useful
functionality yet. Authorisation will require a further extension later.

The code compiles. Execution yet to be tested.

File:
1 edited

Legend:

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

    r773 r973  
    377377#endif 
    378378 
     379 
    379380/* 
    380381 * Stats 
     
    789790    } 
    790791#endif 
    791  
     792#ifdef NDG_AUTH 
     793    if ( bbftpd_private_initialise(logmessage) == -1) {       
     794      syslog(BBFTPD_ERR, "bbftpd_private_init failure: %s", logmessage); 
     795      //!TODO: Should I write to stderr in all daemon modes (be_daemon)? 
     796      fprintf(stderr, "bbftpd_private_init failure: %s", logmessage); 
     797      exit(1); 
     798    } 
     799#endif // NDG_AUTH 
    792800    if ( be_daemon == 2 ) { 
    793801        /* 
Note: See TracChangeset for help on using the changeset viewer.