Mailing Lists: Apple Mailing Lists

Image of Mac OS face in stamp
 
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

cyrus imapd



...Anyone build Cyrus imapd on mac OS X?

I'm building with these flags:

setenv LDFLAGS "-flat_namespace"
setenv CFLAGS "-fno-common"

./configure --with-dbdir=/sw

I've removed all reference to <sys/msg.h> and included <sys/time.h> where needed. Everything builds fine, but I have 2 problems:

a) when I run cyradm locally, I get:

[elric:~/build/cyrus-imapd-2.0.16] michael% cyradm
dyld: perl Undefined symbols:
_sasl_client_init
_sasl_client_new
_sasl_client_start
_sasl_client_step
_sasl_decode
_sasl_dispose
_sasl_encode
_sasl_setprop


The sasl libs are all there, however- they function properly with OpenLDAP and postfix.



b) when I run cyradm from another box, I can connect and auth against my sasldb, but any interactive command (cm, lm, etc) fails. here's what rolls through the logs:


Mar 29 15:53:21 elric imapd[2212]: login: shiner.mabaleb.org[63.225.225.129] mailadmin DIGEST-MD5 User logged in
Mar 29 15:53:32 elric imapd[2212]: Decoding error: generic failure (-1), closing connection


Here is the relevant code for Decoding error:

            /* Decode the input token */
            result = sasl_decode(s->conn, (const char *) s->buf, n,
                                 &out, &outlen);

            if (result != SASL_OK) {
                snprintf(errbuf, 256, "Decoding error: %s (%i)",
                         sasl_errstring(result, NULL, NULL), result);
                s->error = errbuf;
                return EOF;
            }

So maybe there's something wrong with my sasl distor (although it passed testing).

Hmmm.

Thanks-
_______________________________________________
unix-porting mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/unix-porting
Do not post admin requests to the list. They will be ignored.





Visit the Apple Store online or at retail locations.
1-800-MY-APPLE

Contact Apple | Terms of Use | Privacy Policy

Copyright © 2007 Apple Inc. All rights reserved.