4 Mar
2009
4 Mar
'09
7:54 a.m.
Hermann Lauer wrote:
according to the syslog call manpage (checked in Linux and Solaris 9) LOG_PID is only usable in the openlog call, so the current code needs the attached patch to get rlm_linelog syslog logging working under Solaris 9.
OK.
Hardcoding LOG_AUTHPRIV also makes not too much sense for me, as the syslog facility can be configured in the log section anyways.
Hmm... the linelog module doesn't change the facility, but the log{} section will cause openlog() to be called.
Best of course would be to make it configurable per linelog instance using the static const FR_NAME_NUMBER str2fac array defined in the src/main/mainconfig.c file.
That's for later. I've added your patch, thanks. Alan DeKok.