[Kolab-devel] Alternative mailbox login
Alain Spineux
aspineux at gmail.com
Mon Sep 14 12:34:39 CEST 2009
You could use a proxy like nginx and write a script that will map a
user to another one,
you can hard code the mapping or use field matching in ldap if you can
make some ldap request from inside your script.
On Thu, Sep 10, 2009 at 9:33 PM, Stefan Kunz <stkunz at web.de> wrote:
> Hi Gunnar,
>
> i have add manually a new user in the ldap. This user can authenticate via saslauth, but cyrus doesn't find the mailbox, because i have not defined mail attribute in the new ldap entry.
> My problem is that the mail attribute in ldap must be unique, else no success authentication is possible.
> I tried something with ldap_filter in saslauth.conf though without success.
> Apparently cyrus read the mail attribute from ldap to find the mailbox.
>
> Cyrus passes the e-mail-address to saslauth, when the mail attribute is found. So the parameter %u, %r in ldap_filter have the value viz the e-mail-adress. So it is difficult, the correct ldap entry filtered to authenticate.
>
> Have you any tip for me, how cyrus find the mailbox from another ldap attribute, so the same mailbox open with two different usernames bzw. passwords.
>
> Regards
>
> Stefan
>
>
>
>
> _______________________________________________
> Kolab-devel mailing list
> Kolab-devel at kolab.org
> https://kolab.org/mailman/listinfo/kolab-devel
>
--
Alain Spineux
aspineux gmail com
May the sources be with you
More information about the devel
mailing list