From: Ken Murchison (ken at oceana dot com)
Date: Fri Mar 19 2004 - 20:20:32 EST
Leandro Santi wrote:
> Hi,
>
> I've just noticed that the built-in support for authdaemond in 2.1.18
> doesn't build properly if SASL is configured without saslauthd and
> pwcheck, because of #inclusion breakage.
>
> diff -ru cyrus-sasl-2.1.18.orig/lib/checkpw.c cyrus-sasl-2.1.18.patched/lib/checkpw.c
> --- cyrus-sasl-2.1.18.orig/lib/checkpw.c Wed Jan 7 13:35:08 2004
> +++ cyrus-sasl-2.1.18.patched/lib/checkpw.c Fri Mar 19 17:16:05 2004
> @@ -84,7 +84,7 @@
> #include <shadow.h>
> #endif /* HAVE_SHADOW_H */
>
> -#if defined(HAVE_PWCHECK) || defined(HAVE_SASLAUTHD)
> +#if defined(HAVE_PWCHECK) || defined(HAVE_SASLAUTHD) || defined(HAVE_AUTHDAEMON)
> # include <errno.h>
> # include <sys/types.h>
> # include <sys/socket.h>
>
> (It needs to #include errno.h, sys/types.h and sys/socket.h for the
> socket I/O operations).
This has already been fixed in CVS, thanks.
-- Kenneth Murchison Oceana Matrix Ltd. Software Engineer 21 Princeton Place 716-662-8973 x26 Orchard Park, NY 14127 --PGP Public Key-- http://www.oceana.com/~ken/ksm.pgp
|
|
|