
    Configuring the server

   In the bbftpd directory, run:
   % ./configure

   The configure script accepts the following standard options:

   --prefix=DIR Defines the directory to install BBFTP server

   The configure script accepts the following additional options:

   --with-gzip Enable compression (automatic search + dynamic link)
   (DEFAULT)
   --with-gzip=DIR Enable compression where libs are in DIR/lib and
   includes in DIR/include (static link)
   --without-gzip Disable compression
   --with-ssl Enable encryption (automatic search + dynamic link)
   (DEFAULT)
   --with-ssl=DIR Enable encryption where libs are in DIR/lib and
   includes in DIR/include (static link)
   --with-rfio Enable RFIO interface (automatic search in "/usr/local",
   static link) (DEFAULT)
   --with-rfio=DIR Enable RFIO interface where libs are in DIR/lib and
   includes in DIR/include (static link)
   --without-rfio Disable RFIO interface
   --with-afs Use AFS for standard authentication
   --with-afs=DIR Use AFS for standard authentication where libs are in
   DIR/lib and includes in DIR/include
   --without-afs Do not use AFS for standard authentication (DEFAULT)
   --with-ephemeral-ports-range=RANGE The server will choose data ports
   in range RANGE, defined as MINPORT:MAXPORT
   --without-ephemeral-ports-range The server will choose data ports in
   the system-dependent default range (DEFAULT)
   --enable-authentication=private Use the private authentication module
   --enable-authentication=certificates Use the certificate
   authentication module

   The following options should be used in certificate mode only:

   --with-gsi=DIR Defines where to find the Globus GSI software
   (DEFAULT=$GLOBUS_LOCATION or "/opt/globus", static link)

    Building the server

   In the bbftpd directory, run:
   % make

    Installing the server

   In the bbftpd directory, run:
   % make install

    Post installation

   If you have choosen to run the server throught inetd
     * Add the line
       bbftp    CONTROLPORT/tcp
       in your /etc/services file where CONTROLPORT is the number you
       have set in the includes/config.h (usually 5021)
     * Add the line
       bbftp stream tcp nowait root INSTALLBINDIR/bbftpd bbftpd
       in the /etc/inetd.conf file where INSTALLBINDIR is the name of the
       installation directory (specified by the --prefix option)

   If your system authentication is PAM

     * If you have a /etc/pam.conf file
          + Verify the lines begining by other auth and other account
            allow login. If it is not the case add special lines for
            bbftp. The lines to be added will look like:
            bbftp auth required /lib/security/pam_pwdb.so shadow nullok
            bbftp account required /lib/security/pam_pwdb.so 

     * If you have a /etc/pam.d directory
          + Verify the file other and allow login. If it is not the case
            create a new file called bbftp which will contain two lines
            looking like:
            auth required /lib/security/pam_pwdb.so shadow nullok
            account required /lib/security/pam_pwdb.so 

   The name of the PAM library may change.
