While trying to make a the radius module I keep running into an undeclared AUTH_HDR. it's not in any pam headers files. Where is this defined? used several times in pam_radius_auth.c --------------------------------- Finding fabulous fares is fun. Let Yahoo! FareChase search your favorite travel sites to find flight and hotel bargains.
G P wrote:
While trying to make a the radius module I keep running into an undeclared AUTH_HDR. it's not in any pam headers files. Where is this defined?
In pam_radius_auth.h. You did download the "tar" file, rather than just "pam_radius_auth.c", didn't you? Alan DeKok. -- http://deployingradius.com - The web site of the book http://deployingradius.com/blog/ - The blog
It was not in a .tar, but I did get pam_radius_auth.c and pam_radius_auth.h from freeradius.org I found several references while compiling that required header files from the free radius server and my own std libraries on Solaris. (Since I am only looking to build a pam module, I originally did not have the server libraries) Even so, I still have undeclared items. The one in particular I am having trouble with is AUTH_HDR it is used to create pointers several times within pam_radius_auth.c but it is not declared in any header files I can find. so I cannot build the pam module pam_radius_auth.so.1 Thanks for any help. Alan DeKok <aland@deployingradius.com> wrote: G P wrote:
While trying to make a the radius module I keep running into an undeclared AUTH_HDR. it's not in any pam headers files. Where is this defined?
In pam_radius_auth.h. You did download the "tar" file, rather than just "pam_radius_auth.c", didn't you? Alan DeKok. -- http://deployingradius.com - The web site of the book http://deployingradius.com/blog/ - The blog - List info/subscribe/unsubscribe? See http://www.freeradius.org/list/devel.html --------------------------------- Food fight? Enjoy some healthy debate in the Yahoo! Answers Food & Drink Q&A.
G P wrote:
It was not in a .tar, but I did get pam_radius_auth.c <http://www.freeradius.org/pam_radius_auth/pam_radius_auth.c> and pam_radius_auth.h <http://www.freeradius.org/pam_radius_auth/pam_radius_auth.h> from freeradius.org
Why? The page containing those files also links to the FTP server where there's a TAR file.
<http://www.freeradius.org/pam_radius_auth/pam_radius_auth.c> but it is not declared in any header files I can find. so I cannot build the pam module pam_radius_auth.so.1
Maybe my previous message was unclear: You have made a mistake. You downloaded the wrong files. Don't download the C or H files. Download the tar file. Alan DeKok. -- http://deployingradius.com - The web site of the book http://deployingradius.com/blog/ - The blog
Thank you Alan. The tar file had the missing .h file. Greg Alan DeKok <aland@deployingradius.com> wrote: G P wrote:
While trying to make a the radius module I keep running into an undeclared AUTH_HDR. it's not in any pam headers files. Where is this defined?
In pam_radius_auth.h. You did download the "tar" file, rather than just "pam_radius_auth.c", didn't you? Alan DeKok. -- http://deployingradius.com - The web site of the book http://deployingradius.com/blog/ - The blog - List info/subscribe/unsubscribe? See http://www.freeradius.org/list/devel.html --------------------------------- TV dinner still cooling? Check out "Tonight's Picks" on Yahoo! TV.
participants (2)
-
Alan DeKok -
G P