I presently use "md5" authentication for access from the lan:
host all all 192.168.1.0/24 md5
I want to add ldap authentication method, so I added this line before:
host all all 192.168.1.0/24 ldap "ldap://192.168.1.2/basedn;uid=;,cn=xx,dc=yy,dc=zz,dc=ca"
This work great with ldap accounts, but if I try to login with an account not present on the LDAP server, the login fails (postgresql doesn't try the md5 authentication).
There is a way to support more than one authentication method with postgresql?