[Dovecot] more than one ldap database.

Jack McKinney jackmc at lorentz.com
Thu Apr 17 15:58:48 EEST 2008


	While I am still having trouble getting LDAP to work with dovecot, I
have successfully solved this particular problem.
	My users login with their emails.  The correct search base for
"jackmc at lorentz.com" is "ou=users, dc=lorentz, dc=com". I accomplish
this with:

base = ou=users, dc=%Dd

	%Dd says to break up the domain portion of the login, changing "." to
", dc=".  This does not put in a leading dc=, so you have to say "dc=%
Dd".

On Thu, 2008-04-17 at 13:10 +0200, Mauro Sanna wrote:
> If I have two databases in my ldap, ex: dc=dominio1,dc=it is the first
> database and dc=dominio2,dc=it is the second one.
> Can I put these two search bases in dovecot-ldap.conf?
> 
-- 
Jack McKinney
GPG 1024D/99C6A174
jackmc at lorentz.com YM:lfaatsnat2006 AIM:jackmclorentz
Beware geeks bearing diffs
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: This is a digitally signed message part
Url : http://dovecot.org/pipermail/dovecot/attachments/20080417/6be538f4/attachment.bin 


More information about the dovecot mailing list