[Date Prev][Date Next]
RE: Trying to get the ldapdb plugin working.
> -----Original Message-----
> From: Igor Brezac [mailto:email@example.com]
> On Thu, 9 Oct 2003, Howard Chu wrote:
> Note that I believe cyrus-imapd drops "@realm", at least this
> is the case with the version of cyrus-imapd Tarjei uses. I use
> cyrus-imapd 2.2 which passes "fully qualified" usernames.
> > Otherwise you get the server's default realm.
> You are referring to the slapd realm? I was referring to the realm
> received from cyrus-imapd (sparams->user_realm). Although,
> this should be the same as "@realm".
I mean the SASL server's realm. When the SASL server (e.g. imapd) provides a
realm the slapd realm is ignored. When sparams->user_realm is set,
sasl_canon_user automatically appends it to an unqualified username. The name
that the auxprop receives will thus already be fully qualified; the auxprop
plugin doesn't need to do anything with sparams->user_realm by itself. If
cyrus-imapd strips realms that were explicitly provided by the client user,
that's a separate problem and can't be fixed in an auxprop plugin.
-- Howard Chu
Chief Architect, Symas Corp. Director, Highland Sun
Symas: Premier OpenSource Development and Support