The attached patch tries to implement regexp support in the usermaps
The use-case will be to do things like realm-based matches in
kerberos/GSSAPI authentication (will require some further hacks on that
one to expose the realm name). For example you could have:
krb /^(.*)@myrealm.com$ \1
krb /^(.*)@otherrealm.com guest
and things like that.
It will also likely be quite useful once we get SSL certificate based
Reviews particularly appreciated - I really can't claim to *know* our
regexp code :-O
Obviously docs need to be updated as well.
pgsql-hackers by date
|Next:||From: Grzegorz Jaskiewicz||Date: 2008-10-28 20:04:42|
|Subject: Re: current head fails regression tests on mac osx|
|Previous:||From: Tom Lane||Date: 2008-10-28 19:52:55|
|Subject: Re: Re: [COMMITTERS] pgsql: Rework subtransaction commit protocol for hot standby. |