On 17/02/15 19:36, Pascal Volk wrote:> On 02/17/2015 04:03 PM, lejeczek wrote: >> hi everybody. >> >> I wonder if such a scenario is possible. >> if yes would I configure multiple passdb using ldap driver >> or within one clause set up multiple args? How would this work? > Did you read http://wiki2.dovecot.org/Authentication/MultipleDatabases? >yes, and other different articles, but nowhere there was a setup with the same type/driver of database occurring more than once in the config discussed. I would have to look up to different DN that exist under different trees and I wonder how this can be achieved.> Regards, > Pascal
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 On Wed, 18 Feb 2015, lejeczek wrote:> On 17/02/15 19:36, Pascal Volk wrote: >> On 02/17/2015 04:03 PM, lejeczek wrote: >>> hi everybody. >>> >>> I wonder if such a scenario is possible. >>> if yes would I configure multiple passdb using ldap driver >>> or within one clause set up multiple args? How would this work? >> Did you read http://wiki2.dovecot.org/Authentication/MultipleDatabases? >> > yes, and other different articles, but nowhere there was a setup with the > same type/driver of database occurring more than once in the config > discussed. > I would have to look up to different DN that exist under different trees and > I wonder how this can be achieved.different trees == different servers? Anyway: duplicate the ldap.conf file and use one file for one passdb/userdb pair and the other one for a second pair. If both trees reside on the same server, you probably find a filter to select them. - -- Steffen Kaiser -----BEGIN PGP SIGNATURE----- Version: GnuPG v1 iQEVAwUBVORBtXz1H7kL/d9rAQL2iQgAknJOk5Bt4L9kqWqNFrVV0+ipumQCda4U w4JEHHM5qDfXIp7KW5aV8zdDCCgAirpx9v5myHtr73I3w3S3R7FQNy6ZKikJvD6w 3nD/TC8eZxWoVMm/6HlZLxvRl7qAyZQ2W3I/q7VTFhZsdCGeTdioHGLxiOusHTNr 8W/BWZSImsyqdtKEDlCdKLj0XdByCBZubbr4q5y4prWeXuXvHMKT1x44MIZxyqsA wvm9T93GJ2YNrV7ICGfFImaZwqNVmJ3B7SVi6iDTYxQITFnpDabiPmqUG/zPjqRk Hu/yec5ZDgOCEXee4bjHY+Ws2Az7a4ekPnsP6WoifOSoGy2v8DzEtg==dSdp -----END PGP SIGNATURE-----
On 18/02/15 07:39, Steffen Kaiser wrote:> -----BEGIN PGP SIGNED MESSAGE----- > Hash: SHA1 > > On Wed, 18 Feb 2015, lejeczek wrote: >> On 17/02/15 19:36, Pascal Volk wrote: >>> On 02/17/2015 04:03 PM, lejeczek wrote: >>>> hi everybody. >>>> >>>> I wonder if such a scenario is possible. >>>> if yes would I configure multiple passdb using ldap driver >>>> or within one clause set up multiple args? How would >>>> this work? >>> Did you read >>> http://wiki2.dovecot.org/Authentication/MultipleDatabases? >>> >> yes, and other different articles, but nowhere there was >> a setup with the same type/driver of database occurring >> more than once in the config discussed. >> I would have to look up to different DN that exist under >> different trees and I wonder how this can be achieved. > > different trees == different servers?same server different top level trees email client agent uses and passes user at FQDN What would be great is to find something to read "best practices" on devising threes maybe with mail servers in mind.> > Anyway: duplicate the ldap.conf file and use one file for > one passdb/userdb pair and the other one for a second pair. > > If both trees reside on the same server, you probably find > a filter to select them. > > - -- Steffen Kaiser > -----BEGIN PGP SIGNATURE----- > Version: GnuPG v1 > > iQEVAwUBVORBtXz1H7kL/d9rAQL2iQgAknJOk5Bt4L9kqWqNFrVV0+ipumQCda4U > > w4JEHHM5qDfXIp7KW5aV8zdDCCgAirpx9v5myHtr73I3w3S3R7FQNy6ZKikJvD6w > > 3nD/TC8eZxWoVMm/6HlZLxvRl7qAyZQ2W3I/q7VTFhZsdCGeTdioHGLxiOusHTNr > > 8W/BWZSImsyqdtKEDlCdKLj0XdByCBZubbr4q5y4prWeXuXvHMKT1x44MIZxyqsA > > wvm9T93GJ2YNrV7ICGfFImaZwqNVmJ3B7SVi6iDTYxQITFnpDabiPmqUG/zPjqRk > > Hu/yec5ZDgOCEXee4bjHY+Ws2Az7a4ekPnsP6WoifOSoGy2v8DzEtg=> =dSdp > -----END PGP SIGNATURE----- >