#ifdef required for more syslog facility names (was: Re: Minor problem with commit 32e5b18d493)

Andrew Bartlett abartlet at samba.org
Sun Jul 8 18:00:07 UTC 2018

On Fri, 2018-07-06 at 18:33 -0500, Christopher O Cowan via samba-
technical wrote:
> LOG_FTP is not defined in /usr/include/sys/syslog.h on some platforms like
> AIX, so these 3 files need an #ifdef LOG_FTP wrapper, like LOG_NTP.
> I quickly compared and noticed there's no LOG_AUTHPRIV on AIX either, even
> though I find it on RHEL.

Thanks Christopher,


Can you prepare a merge request for this, ideally after a little
research to work out what the 'original' set of names in early unix was
or a general solution to handle any of them being missing is?


Andrew Bartlett
Andrew Bartlett                       http://samba.org/~abartlet/
Authentication Developer, Samba Team  http://samba.org
Samba Developer, Catalyst IT          http://catalyst.net.nz/services/samba

More information about the samba-technical mailing list