Folks,

Has anyone convinced postfix to play nicely with SASL2? Looks like the API has
changed for too much for the current SASL support.

I tried compiling postfix-1.1.3 with:

CCARGS="${CCARGS} -DUSE_SASL_AUTH -I/usr/include/sasl"
AUXLIBS="${AUXLIBS} -lsasl2"

(where /usr/include/sasl points to the sasl2 includes)

And it dies with:

gcc -Wmissing-prototypes -Wformat -DHAS_LDAP -DHAS_PCRE -I/usr/include/pcre 
-DHAS_MYSQL -I/usr/include/mysql -DUSE_SASL_AUTH -I/usr/include/sasl -DHAS_SSL 
-I/usr/include/openssl -DHAS_DBM -DPATH_NDBM_H='<gdbm/ndbm.h>'  -O2 -march=i386 
-mcpu=i686 -I. -I../../include -DLINUX2 -c smtpd_sasl_glue.c
smtpd_sasl_glue.c: In function `smtpd_sasl_log':
smtpd_sasl_glue.c:120: `SASL_LOG_WARNING' undeclared (first use in this function)
smtpd_sasl_glue.c:120: (Each undeclared identifier is reported only once
smtpd_sasl_glue.c:120: for each function it appears in.)
smtpd_sasl_glue.c:123: `SASL_LOG_INFO' undeclared (first use in this function)
smtpd_sasl_glue.c: In function `smtpd_sasl_connect':
smtpd_sasl_glue.c:200: warning: passing arg 4 of `sasl_server_new' from incompatible 
pointer type
smtpd_sasl_glue.c:200: warning: passing arg 6 of `sasl_server_new' from incompatible 
pointer type
smtpd_sasl_glue.c:200: too few arguments to function `sasl_server_new'
smtpd_sasl_glue.c:232: warning: passing arg 6 of `sasl_listmech' from incompatible 
pointer type
smtpd_sasl_glue.c: In function `smtpd_sasl_authenticate':
smtpd_sasl_glue.c:292: warning: passing arg 4 of `sasl_decode64' makes integer from 
pointer without a cast
smtpd_sasl_glue.c:292: too few arguments to function `sasl_decode64'
smtpd_sasl_glue.c:301: warning: passing arg 5 of `sasl_server_start' from incompatible 
pointer type
smtpd_sasl_glue.c:301: too many arguments to function `sasl_server_start'
smtpd_sasl_glue.c:346: warning: passing arg 4 of `sasl_decode64' makes integer from 
pointer without a cast
smtpd_sasl_glue.c:346: too few arguments to function `sasl_decode64'
smtpd_sasl_glue.c:352: warning: passing arg 4 of `sasl_server_step' from incompatible 
pointer type
smtpd_sasl_glue.c:352: too many arguments to function `sasl_server_step'
smtpd_sasl_glue.c:373: warning: passing arg 3 of `sasl_getprop' from incompatible 
pointer type
make: *** [smtpd_sasl_glue.o] Error 1
make: *** [update] Error 1

Thanks in advance for any info.

-Darren

-- 
Darren Nickerson
Chief Technology Officer
iWorkwell, Inc.
215.875.9550 (voice)
215.882.3266 (cell)
215.243.8335 (fax)

HR Made Easy.(tm)

The information contained in this email message is intended only for the
personal and confidential use of the recipient(s) named above. This message
may contain confidential and/or privileged material. If the reader of this
message is not the intended recipient or an agent responsible for delivering
it to the intended recipient, you are hereby notified that you have received
this document in error and that any review, dissemination, distribution, or
copying of this message is strictly prohibited. If you have received this
communication in error, please contact the sender immediately, and delete
the original message.



Reply via email to