[Dovecot] Supporting local and virtual LDAP users, with seperate mail_env
Timo Sirainen
tss at iki.fi
Thu Aug 17 21:13:13 EEST 2006
On Thu, 2006-08-17 at 11:01 -0700, Tim Schafer wrote:
> Thank you Timo,
>
> I changed
> default_mail_env = maildir:/home/exim/%n/.maildir
>
> I may not have to support local users
>
> But I'm still running into the problem that the user authenticates as
> Firstname Lastname
> which is the cn in LDAP
> but the uid in LDAP, which would be something like
> flastname
> needs to be used for mail location.
>
> Is there a way to use the uid in LDAP to specify the mail location,
> without modifying the current LDAP database to include the full path?
It would have been easier to answer if you had given your
dovecot-ldap.conf settings. But if "uid" in LDAP contains the short
form, then giving pass_attrs = uid=user,.. should help. Although that
was also there by default..
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 191 bytes
Desc: This is a digitally signed message part
Url : http://dovecot.org/pipermail/dovecot/attachments/20060817/84f6e789/attachment.pgp
More information about the dovecot
mailing list