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

LOG_AUTHPRIV undefined



hi,

just compiling Linux-PAM 0.66 on redhat 5.2.  pam_unix_sess.c fails to
compile at line 111 because LOG_PRIV is not defined anywhere.
LOG_AUTHPRIV is #ifndef LOG_AUTHPRIV'd to LOG_PRIV (which doesn't exist)
and LOG_AUTHPRIV _does_ exist in sys/syslog.h, which is not being
detected.

i moved #include sys/syslog.h to the very top of pam_unix_sess.c to no
avail, so i had to remove the #ifndef LOG_AUTHPRIV #define LOG_AUTHPRIV
LOG_PRIV #endif from include/security/_pam_types.h and now it compiles.

by the way i got pam_krb5 to compile, after a couple of changes: no idea
how to get it to actually work: anyone got some "safe" example config
files?

luke

<a href="mailto:lkcl@samba.anu.edu.au"; > Luke Kenneth Casson Leighton  </a>
<a href="http://mailhost.cb1.com/~lkcl";> Samba and Network Development </a>
<a href="http://www.samba.co.uk";       > Samba and Network Consultancy </a>



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