more problems with cfingerd :(


Finbarr O'Kane (finbarro@netsoc.ucd.ie)
Wed, 6 Oct 1999 23:59:15 +0100 (BST)


Hi guys

Just a word of warning for cfingerd on Solaris

the issue in question is how Solaris defines UT_HOSTSIZE and UT_LINESIZE

cfingerd allows for the changed utmpx setup in solaris, so UT_HOSTSIZE is
defined as 257 in /usr/include/utmpx.h
ie
        char ut_line[32]; /* device name (console, lnxx) */
        char ut_host[257]; /* remote host name */

however
in /usr/include/lastlog.h you have..
        char ll_line[8];
        char ll_host[16]; /* same as in utmp */

so in the code src/standard.c

           strncpy(last_tty.locale, lastlog.ll_host, UT_HOSTSIZE - 1);

fin



This archive was generated by hypermail 2.0b3 on Thu Oct 14 1999 - 14:22:17 CEST