i resolved :)...
looking the diferent "autenticate methods" like a stack (
http://wiki.dovecot.org/Authentication/MultipleDatabases), i configure like
this and works....
auth default {
:
:
passdb ldap {
args= /etc/dovecot/etc/ldap/dovecot-ldap1.conf
}
passdb ldap {
args= /etc/dovecot/etc/ldap/dovecot-ldap2.conf
}
userdb ldap {
args= /etc/dovecot/etc/ldap/dovecot-ldap1.conf
}
userdb ldap {
args= /etc/dovecot/etc/ldap/dovecot-ldap2.conf
}
}
thanks!!!!!
2007/11/7, maximatt <azamax at gmail.com>:>
> hi.....
>
> i don't know if its posible.
> i have two ldap directories, and i want use them to use as my dovecot
> users backend... so i have two configurations files...
"dovecot-ldap1.conf"
> and "dovecot-ldap2.conf" and
> i try setting like:
>
> Test 1: (simil postfix ) :D This dont work
>
> auth default {
> :
> :
> passdb ldap {
> args= /etc/dovecot/etc/ldap/dovecot-ldap1.conf,
> /etc/dovecot/etc/ldap/dovecot-ldap2.conf
> }
>
> userdb ldap {
> args= /etc/dovecot/etc/ldap/dovecot-ldap1.conf,
> /etc/dovecot/etc/ldap/dovecot-ldap2.conf
> }
> }
>
> Test 2: This dont work
>
> auth default {
> :
> :
> passdb ldap {
> args=
/etc/dovecot/etc/ldap/dovecot-ldap1.conf/etc/dovecot/etc/ldap/dovecot-
> ldap2.conf
> }
>
> userdb ldap {
> args=
/etc/dovecot/etc/ldap/dovecot-ldap1.conf/etc/dovecot/etc/ldap/dovecot-
> ldap2.conf
> }
> }
>
>
> Test 3: (looking "passbd ldap" as a set) :)
>
> this work, but dovecot-ldap2.conf override dovecot-ldap1.conf (the set
> vision, none)
>
> auth default {
> :
> :
> passdb ldap {
> args= /etc/dovecot/etc/ldap/dovecot-ldap1.conf
> args= /etc/dovecot/etc/ldap/dovecot-ldap2.conf
> }
>
> userdb ldap {
> args= /etc/dovecot/etc/ldap/dovecot-ldap1.conf
> args= /etc/dovecot/etc/ldap/dovecot-ldap2.conf
> }
> }
>
>
> ?How could i do this? :(
>
> Thanks in advance :)
>
> --
> Salu2 ;)
--
Salu2 ;)