Browse Source

ecn-robots: begun implementing the postgres hba manager.

master
Nagy Károly Gábriel 14 years ago
parent
commit
082047ec21
1 changed files with 34 additions and 0 deletions
  1. +34
    -0
      phba.py

+ 34
- 0
phba.py

@ -0,0 +1,34 @@
# !/usr/bin/env python -tt
# -*- encoding: utf-8 -*-
auth_methods = (
u'trust',
u'reject',
u'md5',
u'crypt',
u'password',
u'gss',
u'sspi',
u'krb5',
u'ident',
u'pam',
u'ldap',
)
net_connection_types = (
u'host',
u'hostssl',
u'hostnossl',
)
no_net_connection_types = (
u'local',
)
connection_types = no_net_connection_types + net_connection_types
connection_type_equiv = {
u'local' : (u'local',),
u'host' : (u'host', u'hostssl', u'hostnossl'),
u'hostssl' : (u'host', u'hostssl',),
u'hostnossl' : (u'host', u'hostnossl',),
}

Loading…
Cancel
Save