Help debugging libsasl2

Torsten Schlabach tschlabach at gmx.net
Sun Oct 1 09:18:46 EDT 2006


 > Remove the "sasl_ldapdb_uri" Option from your imapd.conf. If the
 > ldapdb Plugin is installed, you should see an Error in your Log:
 >
 > imap[]: auxpropfunc error invalid parameter supplied
 > imap[]: _sasl_plugin_load failed on sasl_auxprop_plug_init for plugin:
 > ldapdb

Ok, that worked, thank you.

 > (lib)ldapdb itself has no Output.

I see.

Maybe you could help with one more hint?

I am currently writing a canon_user plugin, and I would like it to have 
some debugging output. I tried adding something like:

sparams->utils->log(NULL, SASL_LOG_ERR, "PaTTern ");

but that output does not seem to show up anywhere.

Regards,
Torsten


Andreas Winkelmann schrieb:
> Am Sunday 01 October 2006 10:12 schrieben Sie:
> 
>> >> might be, I should see the libsasl2 (as part of Cyrus IMAPd) contact
>> >> the LDAP server and do some connect and some search, but none of that
>> >> is happening.
>> >
>> > And ldapdb is installed?
>>
>>There has been a problem with the libldapdb not beeing found. I solved
>>that one. But still I do not see *any* output from
> 
> 
> Remove the "sasl_ldapdb_uri" Option from your imapd.conf. If the ldapdb Plugin 
> is installed, you should see an Error in your Log:
> 
> imap[]: auxpropfunc error invalid parameter supplied
> imap[]: _sasl_plugin_load failed on sasl_auxprop_plug_init for plugin: ldapdb
> 
> 
>>sasl_log_level: 7
> 
> 
> (lib)ldapdb itself has no Output.
> 


More information about the Cyrus-sasl mailing list