tru64-unix-managers (formerly alpha-osf-managers) (1994-2012)
 help / color / mirror / Atom feed
* SUMMARY: XTACACS Compiling Error..
@ 1996-02-03 20:42 Cenon B.C. Marana Jr.
  0 siblings, 0 replies; only message in thread
From: Cenon B.C. Marana Jr. @ 1996-02-03 20:42 UTC (permalink / raw)
  To: tru64-unix-managers



The following people below deserve much of the credit:

Henrik Johansson 	<hj@one.se>
Ron Barrett		<ron_barrett@corp.cubic.com>
Spider Boardman 	<spider@orb.nashua.nh.us>


Below is my original question..

>I am currently trying to compile Xtacacs3.4 and am faced with this error. 
>Is there a patch perhaps somewhere or could someone give me some tips on 
>how to go with this one?

--------------------------(start of error message)--------------------

OSF1 / $ make
Making for OSF1 V2.0
        OS_CFLAGS= -DDECOSF -DOSF1_ES  and  OS_LIBS= -lsecurity

cc -c -g  -DDEBUG  -DLOG_FACILITY="LOG_LOCAL6"  -DWTMP=\"/var/adm/xtacacs/wtmp\"
  -DUTMP=\"/var/adm/xtacacs/utmp\"  -DDECOSF -DOSF1_ES  -DCHAP_SUPPORT  
xtacacsd.c

cc -c -g  -DDEBUG  -DLOG_FACILITY="LOG_LOCAL6"  -DWTMP=\"/var/adm/xtacacs/wtmp\"
  -DUTMP=\"/var/adm/xtacacs/utmp\"  -DDECOSF -DOSF1_ES  -DCHAP_SUPPORT  Getpw.c
/usr/lib/cmplrs/cc/cfe: Error: Getpw.c, line 149: 'pw_comment' undefined, 
reoccurrences will not be reported
     pwp.pw_comment = "";
 -------^
/usr/lib/cmplrs/cc/cfe: Error: Getpw.c, line 149: member of structure or 
union required
     pwp.pw_comment = "";
 --------^
*** Exit 1
Stop.
*** Exit 1
Stop.

-------------------(end of file)---------------------------

Note that the XTACACS version that I was trying to compile was designed 
to work on enhanced security that was taken from:

ftp://ftp.isys.hu/pub/osf1/xtacacsd-3.4.patched.tar.gz
ftp://ftp.isys.hu/pub/osf1/xtacacs-3.4.osf1.patch.gz

Attached below is the "hacked" /usr/include/pwd.h that is expected to
work on the OSF/1 v2.0

------------------(start of /usr/include/pwd.h)---------------------
/*
 * Copyright (c) 1988 The Regents of the University of California.
 * All rights reserved.
 *
 * Redistribution and use in source and binary forms are permitted
 * provided that the above copyright notice and this paragraph are
 * duplicated in all such forms and that any documentation,
 * advertising materials, and other materials related to such
 * distribution and use acknowledge that the software was developed
 * by the University of California, Berkeley.  The name of the
 * University may not be used to endorse or promote products derived
 * from this software without specific prior written permission.
 * THIS SOFTWARE IS PROVIDED ``AS IS'' AND WITHOUT ANY EXPRESS OR
 * IMPLIED WARRANTIES, INCLUDING, WITHOUT LIMITATION, THE IMPLIED
 * WARRANTIES OF MERCHANTIBILITY AND FITNESS FOR A PARTICULAR PURPOSE.
 *
 *	@(#)pwd.h	4.3 (Berkeley) 2/22/89
 */

#define	_PATH_PASSWD		"/etc/passwd"
#define	_PATH_MASTERPASSWD	"/etc/master.passwd"
#define	_PATH_MKPASSWD		"/etc/mkpasswd"
#define	_PATH_PTMP		"/etc/ptmp"

#define	_PW_KEYBYNAME		'0'
#define	_PW_KEYBYUID		'1'

struct passwd {
	char	*pw_name;			/* user name */
	char	*pw_passwd;			/* encrypted password */
	int	pw_uid;				/* user uid */
	int	pw_gid;				/* user gid */
	long	pw_change;			/* password change time */
	char	*pw_class;			/* user access class */
	char	*pw_gecos;			/* Honeywell login info */
	char	*pw_dir;			/* home directory */
	char	*pw_shell;			/* default shell */
	long	pw_expire;			/* account expiration */
	char    *pw_comment;
};

struct passwd *getpwent(), *getpwuid(), *getpwnam();
void endpwent(), setpwfile();
int setpassent(), setpwent();

-------------------(end of /usr/include/pwd.h file)----------------------


Bonn
:)

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~1996-02-03 20:42 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
1996-02-03 20:42 SUMMARY: XTACACS Compiling Error Cenon B.C. Marana Jr.

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox