1832283 Members
2033 Online
110041 Solutions
New Discussion

pam_modules.h

 
Nils Wallin
New Member

pam_modules.h

Hello!

I'm about to compile a radius-client for PAM, which I will intergrate with OpenSSH and a central radius-server. The problem I'm having is that when I run make, I get the errormessage:
cpp: "pam_radius_auth.c", line 34: error 4036: Can't open include file 'security/pam_modules.h'.

I intend to run this on both HP-UX 11.00 and HP-UX 10.20.
Does anyone know where I can get the required headerfile?
Which package?

Thanks in advance.

/Nils
5 REPLIES 5
Alex Glennie
Honored Contributor

Re: pam_modules.h

ll /usr/include/security ? is is not here ?

-r--r--r-- 1 bin bin 12569 Oct 27 1997 pam_appl.h
-r--r--r-- 1 bin bin 1796 Oct 27 1997 pam_modules.h

NB : Pam was only fully intergrated at 10.30 and 11.xx, man pages for pam also back this up, as do Release Notes.

I'd concentrate on development on an 11.xx box, if it works at 10.20 treat it as a bonus.

goog luck



Nils Wallin
New Member

Re: pam_modules.h

Hi, again.

No, the /usr/include/security is not there (10.20).

Do you know the name of the package which will contain the /usr/include/security folder?

I'll concentrate on the 11.00 machines.

Thanks.
/Nils
Alex Glennie
Honored Contributor

Re: pam_modules.h

As I said 10.20 did not ship with all the header files available at 11.xx ....as far as I'm aware this is probably one of them :

It may work if you copy it from a 11.xx system I'll not guarantee it though & not sure if stricyly supported :

header files etc should come on the core O/S CD. (hp-ux 11.xx)
Rick Beldin
HPE Pro

Re: pam_modules.h

Pam support on 10.20 was for internal use only. The product to make use of it on 10.20 is CDE's dtlogin. The implementation there is not complete and there is no support for building your own Pam libraries. The first Pam programmer support occurred with 10.30 (a developer release). That was also the first release that HP documented the interfaces and provided header files.

I would not recommend building Pam modules on 10.20.
Necessary questions: Why? What? How? When?
G.L. Alink
New Member

Re: pam_modules.h

Hi,

I also want to use radius pam module for authentication. But it dont compile on HPUX 11.0. It has problems with the header files and it produces a .i file instead of a .o

I'll used:
pam_radius_auth-1.3.14
HPUX 11.0

Marco