# !/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',),
|
|
}
|
|
|