shared objects not being built

ben at electricembers.net ben at electricembers.net
Thu Mar 26 15:18:20 EDT 2009


Well, libsasldb.so.2.22 is, but otherwise I only get:

# ll /usr/local/lib/sasl2/
-rw-r--r--  1 root  wheel  92140 Mar 19 11:33 libgssapiv2.a
-rwxr-xr-x  1 root  wheel    716 Mar 19 11:33 libgssapiv2.la
-rw-r--r--  1 root  wheel  70500 Mar 19 11:33 liblogin.a
-rwxr-xr-x  1 root  wheel    657 Mar 19 11:33 liblogin.la
-rw-r--r--  1 root  wheel  68960 Mar 19 11:33 libplain.a
-rwxr-xr-x  1 root  wheel    657 Mar 19 11:33 libplain.la
-rwxr-xr-x  1 root  wheel    693 Mar 19 11:33 libsasldb.la
-rwxr-xr-x  1 root  wheel  72549 Mar 19 11:33 libsasldb.so.2.22
-rw-r--r--  1 root  wheel  91424 Mar 18 19:18 libsql.a
-rwxr-xr-x  1 root  wheel    746 Mar 18 19:18 libsql.la
-rw-r--r--  1 root  wheel    116 Mar 25 23:44 smtpd.conf

This is causing "no SASL authentication mechanisms" errors (with Postfix)

During make, I see:

*** Warning: inter-library dependencies are not known to be supported.
*** All declared inter-library dependencies are being dropped.
*** Warning: libtool could not satisfy all declared inter-library
*** dependencies of module libplain.  Therefore, libtool will create
*** a static module, that should work as long as the dlopening
*** application is linked with the -dlopen flag.

But how exactly do I do this?


# saslfinger -s
saslfinger - postfix Cyrus sasl configuration Thu Mar 26 12:16:11 PDT 2009
version: 1.0.2
mode: server-side SMTP AUTH

-- basics --
Postfix: 2.5.6
System: FreeBSD 7.1-RELEASE (GENERIC) #0: Thu Jan  1 14:37:25 UTC 2009

-- smtpd is linked to --
 	libsasl2.so.2.22 => /usr/local/lib/libsasl2.so.2.22 (0x28231000)

-- active SMTP AUTH and TLS parameters for smtpd --
broken_sasl_auth_clients = yes
smtpd_sasl_authenticated_header = yes
smtpd_sasl_local_domain =
smtpd_sasl_security_options = noanonymous
smtpd_tls_CAfile = /etc/postfix/certs/curl-ca-bundle.crt
smtpd_tls_cert_file = /usr/local/etc/certs/npomail.crt
smtpd_tls_key_file = /usr/local/etc/certs/npomail.key
smtpd_tls_loglevel = 1
smtpd_tls_received_header = yes
smtpd_tls_security_level = may
smtpd_tls_session_cache_database = btree:/etc/postfix/smtpd_scache
smtpd_tls_session_cache_timeout = 3600s


-- content of /usr/lib/sasl2/smtpd.conf --
pwcheck_method: authdaemond
log_level: 5
mech_list: plain login
authdaemond_path:/var/run/authdaemond/


-- content of /usr/local/lib/sasl2/smtpd.conf --
pwcheck_method: authdaemond
log_level: 5
mech_list: plain login
authdaemond_path:/var/run/authdaemond/


-- active services in /etc/postfix/master.cf --
# service type  private unpriv  chroot  wakeup  maxproc command + args
#               (yes)   (yes)   (yes)   (never) (100)
smtp      inet  n       -       n       -       -       smtpd -v
submission inet n       -       n       -       -       smtpd -v
   -o smtpd_sasl_auth_enable=yes
   -o 
smtpd_client_restrictions=permit_sasl_authenticated,regexp:/etc/postfix/reject-587,reject
   -o smtpd_recipient_restrictions=permit_sasl_authenticated,reject
smtps     inet  n       -       n       -       -       smtpd
   -o smtpd_tls_wrappermode=yes
   -o smtpd_sasl_auth_enable=yes
   -o 
smtpd_client_restrictions=permit_sasl_authenticated,regexp:/etc/postfix/reject-465,reject
   -o smtpd_recipient_restrictions=permit_sasl_authenticated,reject
pickup    fifo  n       -       n       60      1       pickup
cleanup   unix  n       -       n       -       0       cleanup
qmgr      fifo  n       -       n       300     1       qmgr
tlsmgr    unix  -       -       n       1000?   1       tlsmgr
rewrite   unix  -       -       n       -       -       trivial-rewrite
bounce    unix  -       -       n       -       0       bounce
defer     unix  -       -       n       -       0       bounce
trace     unix  -       -       n       -       0       bounce
verify    unix  -       -       n       -       1       verify
flush     unix  n       -       n       1000?   0       flush
proxymap  unix  -       -       n       -       -       proxymap
smtp      unix  -       -       n       -       -       smtp
relay     unix  -       -       n       -       -       smtp
 	-o fallback_relay=
showq     unix  n       -       n       -       -       showq
error     unix  -       -       n       -       -       error
discard   unix  -       -       n       -       -       discard
local     unix  -       n       n       -       -       local
virtual   unix  -       n       n       -       -       virtual
lmtp      unix  -       -       n       -       -       lmtp
anvil     unix  -       -       n       -       1       anvil
scache	  unix	-	-	n	-	1	scache
vacation  unix	-	n	n	-	-	pipe
 	flags=DRhu user=vacation argv=/home/vacation/vacation.pl
maildrop  unix  -       n       n       -       -       pipe
   flags=DRhu user=npomail:npomail argv=/usr/local/bin/maildrop -w 90 -d 
${recipient} npomailrecipient npomailuser npomailhost npomailsender 
npomailhome
old-cyrus unix  -       n       n       -       -       pipe
   flags=R user=cyrus argv=/cyrus/bin/deliver -e -m ${extension} ${user}
cyrus     unix  -       n       n       -       -       pipe
   user=cyrus argv=/cyrus/bin/deliver -e -r ${sender} -m ${extension} 
${user}
uucp      unix  -       n       n       -       -       pipe
   flags=Fqhu user=uucp argv=uux -r -n -z -a$sender - $nexthop!rmail 
($recipient)
ifmail    unix  -       n       n       -       -       pipe
   flags=F user=ftn argv=/usr/lib/ifmail/ifmail -r $nexthop ($recipient)
bsmtp     unix  -       n       n       -       -       pipe
   flags=Fq. user=foo argv=/usr/local/sbin/bsmtp -f $sender $nexthop 
$recipient

-- mechanisms on localhost --

-- end of saslfinger output --




More information about the Cyrus-sasl mailing list