[augeas-devel] [Augeas] #313: pg_hba lens doesn't support complex authentication method options
Augeas
trac at fedorahosted.org
Tue Dec 11 15:18:38 UTC 2012
#313: pg_hba lens doesn't support complex authentication method options
--------------------+---------------------
Reporter: daff | Owner: lutter
Type: defect | Status: new
Priority: major | Milestone: next
Component: Augeas | Version: 0.8.0
Keywords: | Blocked By:
Blocking: |
--------------------+---------------------
The following two lines in `pg_hba.conf` allow LDAP and GSS authentication
and contain options for each authentication method:
{{{
host all all .dev.example.com gss include_realm=0 krb_realm=EXAMPLE.COM
map=somemap
host all all .dev.example.com ldap ldapserver=auth.example.com ldaptls=1
ldapprefix="uid=" ldapsuffix=",ou=people,dc=example,dc=com"
}}}
But at the moment these kinds of options are not supported in the pg_hba
lens because `option` is stored as a single `Rx.neg1` word which doesn't
allow spaces or commas, and `option` itself seems limited to zero or one
occurrences.
From http://www.postgresql.org/docs/9.1/static/auth-pg-hba-conf.html:
After the auth-method field, there can be field(s) of the form
name=value that specify options for the authentication method. Details
about which options are available for which authentication methods appear
below.
--
Ticket URL: <https://fedorahosted.org/augeas/ticket/313>
Augeas <http://augeas.net/>
a configuration API
More information about the augeas-devel
mailing list