Re: multiple ldap userdb and passdb

2015-02-20 Thread lejeczek


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@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-



Re: multiple ldap userdb and passdb

2015-02-20 Thread Steffen Kaiser

-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

On Fri, 20 Feb 2015, lejeczek wrote:

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@FQDN
What would be great is to find something to read best practices on devising 
threes maybe with mail servers in mind.


The server does not support the empty top level search base?



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

iQEVAwUBVOc+Anz1H7kL/d9rAQLkCwf9G5se9p2A5svrt3EQTiGIKX/zs0VLbjhk
16GLgMzVt/gR5IwXPVcNJivnKY8Y1LkgbSUXfVAlTLjNYAaagGDn/5TdNzzi+FO1
BnHf47b9GfkU25Kut1zwyIfN1o07SO/ULGa8bzhTBMgypk8ru6JmNW7wKrUu8DjN
bTnP8Y923WQPre+ksSjdl8YzaRjVEoZSPlb1gP0/DpWy16IBMn0XHOqB+xR5XGbb
t0a1jNw27alQwq7GKqj9A9p3Ao9ctnhT71w/IxQFopNj03eRWoYhUpAHuHNXwQhU
0sV5bfCA22fixgIz3F2kwbsDiwYDz7zKE9EuZ5q9pXZYGiH9wt7iww==
=y9s7
-END PGP SIGNATURE-


Re: multiple ldap userdb and passdb

2015-02-17 Thread lejeczek


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


Re: multiple ldap userdb and passdb

2015-02-17 Thread Steffen Kaiser

-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-


multiple ldap userdb and passdb

2015-02-17 Thread lejeczek

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?


many thanks
P.


Re: multiple ldap userdb and passdb

2015-02-17 Thread Pascal Volk
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?


Regards,
Pascal
-- 
The trapper recommends today: face1e55.1504...@localdomain.org