more integration in isdn4k-utils config/build and some small fixes

This commit is contained in:
Henner Eisen 1999-10-08 16:25:37 +00:00
parent 9f88139eae
commit e3ec8cc936
5 changed files with 20 additions and 16 deletions

5
NEWS
View File

@ -1,8 +1,13 @@
Recent changes made to the isdn4k-utils archive are listed here,
most recent on top.
------------------
1999/10/08 he (Henner Eisen <eis@baty.hanse.de)
eurofile - further integration in isdn4k-utils config/built,
removed entry from distexclude file.
1999/09/06 hessler (Matthias Hessler <hessler@isdn4linux.de>
New FAQ is now moved from FAQ2 to FAQ.
1999/08/18 armin (Armin Schindler <mac@melware.de>)
eiconctrl - XLOG retrieve function for all supported active cards added.

View File

@ -30,6 +30,15 @@ EFT_CLIENT_USERID=xxxx
# define this if you want x25trace debugging output
# EFTD_X25TRACE=1
#
# If this is set then you can test eurofile client and server locallay
# on top of the isdnloop HL driver (no external isdn connection
# required). To do so, just type `eftp -x 1 -u USER' (where USER is
# your login name)
#
# EFTD_WITH_LOOP=y
#
# other variables which are set in eftd.sh before this file is
# included, might also be (re-)set here
#

View File

@ -48,7 +48,7 @@ ISDNCTRL=@ISDNCTRL@
LOOPCTRL=@LOOPCTRL@
INSMOD=@INSMOD@
EFTD_BIN_SRC=@EFT_TOPDIR@/src/eftd/eftd
EFTD_BIN_INSTALL=@SBINDIR/eftd
EFTD_BIN_INSTALL=@SBINDIR@/eftd
if [ -z "$EFTD_SH_SRC" ]; then
EFTD_BIN=$EFTD_BIN_INSTALL

View File

@ -110,11 +110,11 @@ static int eft_check_user( struct eft *eft, char* user, char* pass, char *isdn_n
printf("user check: ruid=%d, euid=%d\n",getuid(),geteuid());
/*
* Be paranoid about buggy authentification functions that claim
* success but are still runnung as root.
* success but are still running with super user priviliges.
*/
if (verified && !geteuid()){
tdu_printf(TDU_LOG_ERR, "eftd: BUG in authentification procedure.\n (claims success, but process runs still with root priviliges).\nRejecting login for security reasons.\n");
/* verified=0; */
verified=0;
}
if( ! verified ){
@ -495,7 +495,7 @@ int main(int argc, char** argv)
tdu_stderr_mask |= level2mask(dlevel);
tdu_logfile_mask |= level2mask(llevel);
/* FIXME: make default location an autoconf option*/
if( ! logfile_name ) logfile_name = "/var/log/eftd.log";
if( ! logfile_name ) logfile_name = "/var/log" "/eftd.log";
if(llevel) tdu_open_log(logfile_name);
/* tdu_printf(TDU_LOG_DBG, "LogBook level %d, mask %d, Stderr level %d, mask %d\n",llevel,tdu_logfile_mask,dlevel,tdu_stderr_mask); */
if( tdu_stderr_mask & TDU_LOG_ISDNLOG ){

View File

@ -118,18 +118,8 @@ if [ "$CONFIG_EXPERIMENTAL" = "y" ]; then
bool 'rcapid' CONFIG_RCAPID
fi
if [ "$CONFIG_EXPERIMENTAL" = "y" ]; then
# we need to check for the presence of the eurofile subdirectory
# as long as it is listed in the distexclude file
if [ -d eurofile ]; then
bool 'eurofile' CONFIG_EUROFILE
# The source command fails and causes an error in the
# configure script when eurofile directory is not
# present -- even inside this if branch.
# Thus, it is left commented out until eurofile is
# removed from the distexclude file.
# Uncomment the next line for trying the eurofile sub menu
# source eurofile/.Config.in
fi
bool 'eurofile' CONFIG_EUROFILE
source eurofile/.Config.in
fi
endmenu
mainmenu_option nextcomment