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?
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: signature.asc 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-0002.bin>
You can define multiple userdb/passworddb sections, each using ldap but using a different conf file. If you search the archives for one if my earlier posts this week, you will see my configuration where we actually have 3 different ldap configs defined to handle searching specific sub-trees within our ActiveDirectory. Rob 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? >Please consider the environment before printing this email. GAME Stores Group Ltd has been awarded ?Retailer of the Year? at the 2006 and 2007 Golden Joystick Awards and 'Thames Valley Business Award' for Outstanding Employer of Choice 2006. This e-mail and any files transmitted with it are confidential and intended solely for the use of the individual or entity to whom they are addressed. If you have received this e-mail in error please notify the system manager at: mailto:postmaster at game.co.uk The recipient acknowledges that the transmissions made via the Internet can be corrupted and therefore THE GAME GROUP PLC and any of its subsidiaries do not give any warranty as to the quality or accuracy of any information contained in the message or assume any liability for it or for its transmission, reception or storage. This footnote also confirms that this e-mail message has been swept by anti-virus software for the presence of computer viruses. http://www.game.co.uk http://www.gamegroup.plc.uk Registered Number: 1937170 Registered Office: Unity House, Telford Road, Basingstoke, Hampshire. RG21 6YJ Registered in England and Wales.
Il giorno gio, 17/04/2008 alle 07.58 -0500, Jack McKinney ha scritto:> 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=%DdYes this is the solution :-) Where can I find all the variables I can use in dovecot parameters?
Mauro Sanna wrote:> Il giorno gio, 17/04/2008 alle 07.58 -0500, Jack McKinney ha scritto: >> 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 > > Yes this is the solution :-) > Where can I find all the variables I can use in dovecot parameters?http://wiki.dovecot.org/Variables -- Angel Marin http://anmar.eu.org/