Cyrus-sasl Digest, Vol 53, Issue 5

John Morrison jcm at sics.se
Wed Dec 16 15:08:42 EST 2009


Thanks for helping out.

When I remove the libldapdb.so from the plugin directory these errors
go. Strange, do I need LDAP compiled in sals in order for me use LDAP
authentication or? 

./configure --prefix=/usr/local --enable-login --enable-ldapdb
--with-ldap=/opt/csw --with-openssl=/opt/csw --disable-gssapi
--disable-cram --disable-digest --disable-anon --disable-otp


Maybe ldapdb is not what I need when compiling!  :)



-----Original Message-----
From: cyrus-sasl-request at lists.andrew.cmu.edu
Reply-To: cyrus-sasl at lists.andrew.cmu.edu
To: cyrus-sasl at lists.andrew.cmu.edu
Subject: Cyrus-sasl Digest, Vol 53, Issue 5
Date: Fri, 04 Dec 2009 12:00:02 -0500

Send Cyrus-sasl mailing list submissions to
	cyrus-sasl at lists.andrew.cmu.edu

To subscribe or unsubscribe via the World Wide Web, visit
	https://lists.andrew.cmu.edu/mailman/listinfo/cyrus-sasl
or, via email, send a message with subject or body 'help' to
	cyrus-sasl-request at lists.andrew.cmu.edu

You can reach the person managing the list at
	cyrus-sasl-owner at lists.andrew.cmu.edu

When replying, please edit your Subject line so it is more specific
than "Re: Contents of Cyrus-sasl digest..."


Today's Topics:

   1. errors in log but all is working fine (John Morrison)
   2. Re: errors in log but all is working fine (Dan White)


----------------------------------------------------------------------

Message: 1
Date: Fri, 04 Dec 2009 13:21:12 +0100
From: John Morrison <jcm at sics.se>
Subject: errors in log but all is working fine
To: cyrus-sasl at lists.andrew.cmu.edu
Message-ID: <1259929272.2038.22.camel at ubuntu>
Content-Type: text/plain

Hello,

Anybody recognise these errors?

Dec  4 12:43:35 host.domain.x imaps[4253]: [ID 702911 auth.error]
auxpropfunc error invalid parameter supplied
Dec  4 12:43:35 host.domain.x imaps[4254]: [ID 702911 auth.error]
auxpropfunc error invalid parameter supplied
Dec  4 12:43:35 host.domain.x imaps[4255]: [ID 702911 auth.error]
auxpropfunc error invalid parameter supplied
Dec  4 12:43:45 host.domain.x postfix/smtpd[4259]: [ID 702911
auth.error] auxpropfunc error invalid parameter supplied
Dec  4 12:43:47 host.domain.x postfix/smtpd[4263]: [ID 702911
auth.error] auxpropfunc error invalid parameter supplied
Dec  4 12:43:49 host.domain.x imaps[4264]: [ID 702911 auth.error]
auxpropfunc error invalid parameter supplied
Dec  4 12:44:00 host.domain.x imaps[4265]: [ID 702911 auth.error]
auxpropfunc error invalid parameter supplied
Dec  4 12:44:02 host.domain.x imaps[4266]: [ID 702911 auth.error]
auxpropfunc error invalid parameter supplied
Dec  4 12:44:55 host.domain.x imaps[4271]: [ID 702911 auth.error]
auxpropfunc error invalid parameter supplied
Dec  4 12:45:00 host.domain.x imaps[4272]: [ID 702911 auth.error]
auxpropfunc error invalid parameter supplied
Dec  4 12:45:05 host.domain.x imaps[4276]: [ID 702911 auth.error]
auxpropfunc error invalid parameter supplied
Dec  4 12:45:21 host.domain.x imaps[4291]: [ID 702911 auth.error]
auxpropfunc error invalid parameter supplied
Dec  4 12:45:24 host.domain.x imaps[4292]: [ID 702911 auth.error]
auxpropfunc error invalid parameter supplied
Dec  4 12:47:47 host.domain.x postfix/smtpd[4299]: [ID 702911
auth.error] auxpropfunc error invalid parameter supplied
Dec  4 12:48:29 host.domain.x lmtpunix[4304]: [ID 702911 auth.error]
auxpropfunc error invalid parameter supplied
Dec  4 12:48:36 host.domain.x postfix/smtpd[4305]: [ID 702911
auth.error] auxpropfunc error invalid parameter supplied
Dec  4 12:49:25 host.domain.x imaps[4309]: [ID 702911 auth.error]
auxpropfunc error invalid parameter supplied
Dec  4 12:49:26 host.domain.x imaps[4310]: [ID 702911 auth.error]
auxpropfunc error invalid parameter supplied
Dec  4 12:50:29 host.domain.x lmtpunix[4329]: [ID 702911 auth.error]
auxpropfunc error invalid parameter supplied
Dec  4 12:52:30 host.domain.x postfix/smtpd[4337]: [ID 702911
auth.error] auxpropfunc error invalid parameter supplied
Dec  4 12:52:41 host.domain.x imaps[4339]: [ID 702911 auth.error]
auxpropfunc error invalid parameter supplied
Dec  4 12:52:44 host.domain.x imaps[4340]: [ID 702911 auth.error]
auxpropfunc error invalid parameter supplied
Dec  4 12:53:05 host.domain.x postfix/smtpd[4341]: [ID 702911
auth.error] auxpropfunc error invalid parameter supplied
Dec  4 12:53:56 host.domain.x postfix/smtpd[4345]: [ID 702911
auth.error] auxpropfunc error invalid parameter supplied
Dec  4 12:54:42 host.domain.x sieve[4353]: [ID 702911 auth.error]
auxpropfunc error invalid parameter supplied
Dec  4 12:55:04 host.domain.x imaps[4357]: [ID 702911 auth.error]
auxpropfunc error invalid parameter supplied
Dec  4 12:55:07 host.domain.x imaps[4358]: [ID 702911 auth.error]
auxpropfunc error invalid parameter supplied
Dec  4 12:55:15 host.domain.x postfix/smtpd[4361]: [ID 702911
auth.error] auxpropfunc error invalid parameter supplied
Dec  4 12:55:17 host.domain.x imaps[4363]: [ID 702911 auth.error]
auxpropfunc error invalid parameter supplied
Dec  4 12:55:19 host.domain.x imaps[4364]: [ID 702911 auth.error]
auxpropfunc error invalid parameter supplied
Dec  4 12:55:56 host.domain.x imaps[4368]: [ID 702911 auth.error]
auxpropfunc error invalid parameter supplied
Dec  4 12:55:57 host.domain.x imaps[4369]: [ID 702911 auth.error]
auxpropfunc error invalid parameter supplied
Dec  4 12:56:04 host.domain.x imap[4381]: [ID 702911 auth.error]
auxpropfunc error invalid parameter supplied
Dec  4 12:56:11 host.domain.x postfix/smtpd[4387]: [ID 702911
auth.error] auxpropfunc error invalid parameter supplied

conf files:

/usr/local/lib/sasl2/smtpd.conf:

pwcheck_method: saslauthd

/etc/imapd.conf:

allowplaintext: yes
sasl_mech_list: LOGIN PLAIN
sasl_pwcheck_method: saslauthd
postmaster: postmaster
configdirectory: /var/imap
partition-default: /var/spool/imap
admins: 
allowanonymouslogin: no
servername: xxxx
createonpost: yes
autocreatequota: 20000000
reject8bit: no
munge8bit: no
quotawarn: 90
timeout: 30
poptimeout: 10
dracinterval: 0
drachost: localhost
sievedir: /usr/sieve
sendmail: /usr/sbin/sendmail
sieve_maxscriptsize: 64
sieve_maxscripts: 5
unixhierarchysep: yes
altnamespace: yes
#defaultdomain: xxxxx
virtdomains: on
tls_ca_file: /etc/certs/x.pem
tls_cert_file: /etc/certs/x.pem
tls_key_file: /etc/certs/x.pem
autocreate_sieve_script: /etc/mailskel/phpscript.script
mboxlist_db: skiplist
duplicate_db: skiplist
tlscache_db: skiplist
annotation_db: skiplist


/etc/sasl/saslauthd.conf:

ldap_servers: ldap://ldapxxxx
ldap_version: 3
ldap_timeout: 10
ldap_time_limit: 10
ldap_cache_ttl: 30
ldap_cache_mem: 32768
ldap_scope: sub
ldap_search_base: xxxx
ldap_auth_method: bind
ldap_bind_dn: xxxx
ldap_password: xxxx
ldap_filter: mail=%u


THANKS is advance :)




------------------------------

Message: 2
Date: Fri, 4 Dec 2009 10:26:29 -0600
From: Dan White <dwhite at olp.net>
Subject: Re: errors in log but all is working fine
To: John Morrison <jcm at sics.se>
Cc: cyrus-sasl at lists.andrew.cmu.edu
Message-ID: <20091204162629.GF4783 at dan.olp.net>
Content-Type: text/plain; charset=iso-8859-1; format=flowed

On 04/12/09?13:21?+0100, John Morrison wrote:
>Hello,
>
>Anybody recognise these errors?
>
>Dec  4 12:43:35 host.domain.x imaps[4253]: [ID 702911 auth.error]
>auxpropfunc error invalid parameter supplied
>Dec  4 12:43:45 host.domain.x postfix/smtpd[4259]: [ID 702911
>auth.error] auxpropfunc error invalid parameter supplied
>
>conf files:
>
>/usr/local/lib/sasl2/smtpd.conf:
>
>pwcheck_method: saslauthd
>
>/etc/imapd.conf:
>
>sasl_mech_list: LOGIN PLAIN
>sasl_pwcheck_method: saslauthd
>
>/etc/sasl/saslauthd.conf:
>
>ldap_servers: ldap://ldapxxxx
>ldap_version: 3
>ldap_timeout: 10
>ldap_time_limit: 10
>ldap_cache_ttl: 30
>ldap_cache_mem: 32768
>ldap_scope: sub
>ldap_search_base: xxxx
>ldap_auth_method: bind
>ldap_bind_dn: xxxx
>ldap_password: xxxx
>ldap_filter: mail=%u

That error occurs in only one place that I can find (in lib/auxprop.c):

/* add an auxiliary property plugin */
int sasl_auxprop_add_plugin(const char *plugname,
                 sasl_auxprop_init_t *auxpropfunc)
{
     int result, out_version;
     auxprop_plug_list_t *new_item;
     sasl_auxprop_plug_t *plug;

     result = auxpropfunc(sasl_global_utils, SASL_AUXPROP_PLUG_VERSION,
              &out_version, &plug, plugname);

     if(result != SASL_OK) {
     _sasl_log(NULL, SASL_LOG_ERR, "auxpropfunc error %s\n",
           sasl_errstring(result, NULL, NULL));
     return result;
     }
...


Most likely there is an error in initializing one (of possibly serveral) of
your auxprop plugins, such as sasldb, ldapdb or sql.

See which auxprop plugins you have installed. If you have an unused auxprop
plugin, you can either specify the parameter that it is looking for (in
smtpd.conf and imapd.conf), or just remove/disable it.

It does not appear, according to the config above, that imapd is making use
of an auxprop plugin. Your SMTP server may be, since you have not
restricted your mech list to "LOGIN PLAIN" (such as for DIGEST-MD5 logins).

pluginviewer/saslpluginviewer should help you trouble shoot.
'doc/options.html' within the sasl source documents what options are
available.




More information about the Cyrus-sasl mailing list