2.4. Configuring authentication in lt_hba.conf

Ensure the ltcluster user has appropriate permissions in lt_hba.conf and can connect in replication mode; lt_hba.conf should contain entries similar to the following:

    local   replication   ltcluster                              trust
    host    replication   ltcluster      127.0.0.1/32            trust
    host    replication   ltcluster      192.168.1.0/24          trust

    local   ltcluster        ltcluster                              trust
    host    ltcluster        ltcluster      127.0.0.1/32            trust
    host    ltcluster        ltcluster      192.168.1.0/24          trust
  

Note that these are simple settings for testing purposes. Adjust according to your network environment and authentication requirements.