Solaris pam module for tacacs authentication

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



I am attempting to compile the pam_tacplus module on Solaris. I am using
http://ipsec.pl/pubs/pam_tacplus-1.2.9.tar.gz .  I am using all GNU
compilers, however I am still having some issues getting this to
compile.



# make
cc -pipe -fPIC -I./libtac/include -ggdb3   -c -o support.o support.c
In file included from support.c:21:
/usr/include/security/pam_modules.h:17: error: syntax error before '*'
token
/usr/include/security/pam_modules.h:24: error: syntax error before '*'
token
/usr/include/security/pam_modules.h:31: error: syntax error before '*'
token
/usr/include/security/pam_modules.h:38: error: syntax error before '*'
token
/usr/include/security/pam_modules.h:45: error: syntax error before '*'
token
/usr/include/security/pam_modules.h:59: error: syntax error before '*'
token
/usr/include/security/pam_modules.h:71: error: syntax error before '*'
token
/usr/include/security/pam_modules.h:74: error: syntax error before '*'
token
/usr/include/security/pam_modules.h:83: error: syntax error before '*'
token
In file included from support.c:24:
./libtac/include/tacplus.h:25:23: sys/cdefs.h: No such file or directory
support.c:51: error: syntax error before '*' token
support.c: In function `_pam_get_terminal':
support.c:55: error: `pamh' undeclared (first use in this function)
support.c:55: error: (Each undeclared identifier is reported only once
support.c:55: error: for each function it appears in.)
support.c:55: error: `PAM_TTY' undeclared (first use in this function)
support.c:56: error: `PAM_SUCCESS' undeclared (first use in this
function)
support.c: At top level:
support.c:78: error: syntax error before '*' token
support.c: In function `converse':
support.c:85: error: `pamh' undeclared (first use in this function)
support.c:85: error: `PAM_CONV' undeclared (first use in this function)
support.c:86: error: `PAM_SUCCESS' undeclared (first use in this
function)
support.c:88: error: dereferencing pointer to incomplete type
support.c:88: error: `nargs' undeclared (first use in this function)
support.c:89: error: `message' undeclared (first use in this function)
support.c:89: error: `response' undeclared (first use in this function)
support.c:89: error: dereferencing pointer to incomplete type
support.c: At top level:
support.c:105: error: syntax error before '*' token
support.c: In function `tacacs_get_password':
support.c:110: error: storage size of 'msg' isn't known
support.c:114: error: `ctrl' undeclared (first use in this function)
support.c:120: error: `PAM_PROMPT_ECHO_OFF' undeclared (first use in
this function)
support.c:124: error: `pamh' undeclared (first use in this function)
support.c:124: error: `PAM_SUCCESS' undeclared (first use in this
function)
support.c:131: error: invalid use of undefined type `struct
pam_response'
support.c:131: error: dereferencing pointer to incomplete type
support.c:136: error: invalid use of undefined type `struct
pam_response'
support.c:136: error: dereferencing pointer to incomplete type
support.c:138: error: invalid use of undefined type `struct
pam_response'
support.c:138: error: dereferencing pointer to incomplete type
support.c:144: error: `PAM_CONV_ERR' undeclared (first use in this
function)
support.c:150: error: `password' undeclared (first use in this function)
support.c: In function `_pam_parse':
support.c:221: warning: passing arg 1 of `_resolve_name' discards
qualifiers from pointer target type
make: *** [support.o] Error 1


Any ideas ? 

TIA,


Tyson Koger



_______________________________________________
Pam-list mailing list
Pam-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/pam-list

[Index of Archives]     [Fedora Users]     [Kernel]     [Red Hat Install]     [Linux for the blind]     [Gimp]

  Powered by Linux