saslauthd: support several authentication methods

Dmitry Katsubo dma_k at mail.ru
Wed Dec 9 16:30:53 UTC 2009


Dear SASL developers!

I wonder, is there any reason why saslauthd does not support several 
authentication methods at once? I have looked at source code and it 
seems to be nothing preventing of doing so except maybe some ideological 
reasons.

In my case I have a set of users in LDAP (with all office-wide 
information defined) and the policy is to authenticate themselves when 
sending emails via postfix. But sometimes I would like to create 
temporary accounts (to be used only for authentication) in /etc/sasldb2 
and I would like saslauthd to lookup in LDAP first, and then in sasldb. 
I expect that "saslauthd -a 'ldap,sasldb'" should do the job, but only 
one authentication mechanism is supported so far. Launching two 
saslauthd instances also won't help...

Is there any reasonable solution for above?

I am sorry, if this problem was already raised, unfortunately I haven't 
found any information in maillist. If there is any correlating bug 
reports please provide the links: I'd rather join the conversation their.

Thanks in advance.



More information about the Pkg-cyrus-sasl2-debian-devel mailing list