title: pgadmin3: FATAL: Ident authentification failed for user "postgres"
body: <p>I'm trying to register new server in pgadmin3 with following settings:</p>
  
  <pre><code>Name: postgres
  Host: localhost
  Username: postgres
  Password: &lt;password which works for psql&gt;
  Service: empty or postgres
  </code></pre>
  
  <p>But it shows error:</p>
  
  <pre><code>FATAL: Ident authentification failed for user "postgres"
  </code></pre>
  
  <p>I've restarted postgresql service, but to no avail.</p>
  
  <p>Contents of /var/lib/pgsql/data/pg_hba.conf:</p>
  
  <pre><code># TYPE  DATABASE    USER        CIDR-ADDRESS          METHOD
  
  # "local" is for Unix domain socket connections only
  local   all         all                               trust
  # IPv4 local connections:
  host    all         all         127.0.0.1/32          trust
  # IPv6 local connections:
  host    all         all         ::1/128               ident
  </code></pre>
  
  <p>EDIT: Tools -> Server Configuration -> pg_hba.conf is greyed out.</p>