Changeset 806 for TI05-delivery/trunk
- Timestamp:
- 20/04/06 16:22:50 (15 years ago)
- Location:
- TI05-delivery/trunk/src
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
TI05-delivery/trunk/src/Makefile
r776 r806 3 3 4 4 PREFIX=$(HOME)/opt/bbftp 5 #!NOTE: Add --enable-authentication=private to activate private security hooks 6 CONFIG_OPTS=--prefix=$(PREFIX) --without-gzip --without-rfio 5 CONFIG_OPTS=--prefix=$(PREFIX) --without-gzip --without-rfio --enable-authentication=private 7 6 8 7 BBFTPD=bbftp-server-3.2.0/bbftpd -
TI05-delivery/trunk/src/bbftp-client-3.2.0/includes/bbftp_private_user.h
r802 r806 44 44 45 45 #define NDG_FTP_VERSION "v0.0.1" 46 #define NDG_FTP_PROTOCOL ("NDG-bbFTP" NDG_ BBFTP_VERSION)46 #define NDG_FTP_PROTOCOL ("NDG-bbFTP" NDG_FTP_VERSION) 47 47 48 48 #define NDG_MESSAGE_LEN 256 -
TI05-delivery/trunk/src/bbftp-server-3.2.0/bbftpd/bbftpd_private_user.c
r802 r806 33 33 #include <daemon_proto.h> 34 34 #include <structures.h> 35 #include <syslog.h> 35 36 36 #include <bbftp _private_user.h>37 #include <bbftpd_private_user.h> 37 38 38 39 extern char currentusername[MAXLEN] ; … … 92 93 int bbftpd_private_auth(char *logmessage) 93 94 { 94 char msg[NDG_MESSAGE_LEN] ;95 char msg[NDG_MESSAGE_LEN], logmsg[NDG_MESSAGE_LEN+64]; 95 96 /* Send version verification message. */ 96 if (bbftp _private_recv(msg, NDG_MESSAGE_LEN, logmessage) == -1) {97 if (bbftpd_private_recv(msg, NDG_MESSAGE_LEN, logmessage) == -1) { 97 98 return -1; 98 99 } 99 100 else { 101 sprintf(logmsg, "Received auth message: %s", msg); 102 syslog(LOG_INFO, logmsg); 103 } 104 100 105 return 0 ; 101 106 }
Note: See TracChangeset
for help on using the changeset viewer.