Received: from makus.postgresql.org ([98.129.198.125]) by malur.postgresql.org with esmtp (Exim 4.72) (envelope-from ) id 1TM0Ka-00011j-Of for pgsql-admin@postgresql.org; Wed, 10 Oct 2012 17:44:28 +0000 Received: from mail.pooserville.com ([69.26.223.253] helo=smtp.pooserville.com) by makus.postgresql.org with esmtp (Exim 4.72) (envelope-from ) id 1TM0KV-0001Kg-Cq for pgsql-admin@postgresql.org; Wed, 10 Oct 2012 17:44:26 +0000 Received: from localhost ([127.0.0.1] helo=mail.pooserville.com) by smtp.pooserville.com with esmtp (Exim 4.72) (envelope-from ) id MBOULX-0012PK-FY for pgsql-admin@postgresql.org; Wed, 10 Oct 2012 12:44:21 -0500 Received: from [69.26.223.2] (account dave-sa@pooserville.com HELO [192.168.67.90]) by mail.pooserville.com (CommuniGate Pro SMTP 4.2.10) with ESMTP-TLS id 1118750 for pgsql-admin@postgresql.org; Wed, 10 Oct 2012 12:44:18 -0500 User-Agent: Microsoft-MacOutlook/14.2.4.120824 Date: Wed, 10 Oct 2012 12:41:10 -0500 Subject: Multiple LDAP servers -- no failover? From: Dave Pooser To: PostgreSQL List Message-ID: Thread-Topic: Multiple LDAP servers -- no failover? Mime-version: 1.0 Content-type: text/plain; charset="US-ASCII" Content-transfer-encoding: 7bit X-Pg-Spam-Score: -1.3 (-) X-Archive-Number: 201210/27 X-Sequence-Number: 40143 I have two LDAP servers listed in my pg_hba.conf: local all all trust host all all 127.0.0.1/32 trust host all all 192.168.1.0/24 ldap ldapserver="backup.example.com primary.example.com" ldapsuffix="@example.com" It authenticates fine to backup; if I change the pg_hba.conf to primary.example.com it works fine as well. But with the above settings, if I unplug the network cable to backup then instead of failing over to primary instead it just hangs for 60s and then fails silently. Should this setup work for failover, or is it only for situations where a user might exist on primary.example.com but not on backup.example.com? -- Dave Pooser Cat-Herder-in-Chief, Pooserville.com "...Life is not a journey to the grave with the intention of arriving safely in one pretty and well-preserved piece, but to slide across the finish line broadside, thoroughly used up, worn out, leaking oil, and shouting GERONIMO!!!" -- Bill McKenna