On Sep 28, 2010, at 8:38 PM, Jeroen Geilman wrote:

> On 09/29/2010 02:35 AM, donovan jeffrey j wrote:
>> 
>> greetings
>> 
>> I was reading http://linux.die.net/man/5/ldap_table  and was trying to get a 
>> clear picture of what the config would look like, and is postmap required?
> 
> server_host (default: localhost)
> The name of the host running the LDAP server, e.g.
> server_host = ldap.example.com
> Depending on the LDAP client library you're using, it should be possible to 
> specify multiple servers here, with the library trying them in order should 
> the first one fail. It should also be possible to give each server in the 
> list a different port (overriding server_port below), by naming them like 
> server_host = ldap.example.com:1444
> 
> With OpenLDAP, a (list of) LDAP URLs can be used to specify both the 
> hostname(s) and the port(s): server_host = ldap://ldap.example.com:1444
> 
> 
> What about this is unclear ?

whats unlcear to me* is, do I have to assign the port number or can i just go 
default when using multiples.

see below
> would this work ?
> 
> server_host = 127.0.0.1
> server_host = 192.168.1.1
> server_host = 192.168.1.2
> search_base = dc=my,dc=example,dc=com
> query_filter = (mail=%s)
> result_attribute = mailHost
> result_filter = smtp:[%s]
> bind = no
> 
> 
> or would I have to go with
> 
> server_host = 127.0.0.1:389
> server_host = 192.168.1.1:1444
> server_host = 192.168.1.2:1445
> search_base = dc=my,dc=example,dc=com
> query_filter = (mail=%s)
> result_attribute = mailHost
> result_filter = smtp:[%s]
> bind = no
> 
> 
> where each ldap server runs on a different port, does it matter ?
> -j



> --
> J.
> 

Reply via email to