diff options
| author | Tom Lane | 2016-04-08 17:51:54 +0000 |
|---|---|---|
| committer | Tom Lane | 2016-04-08 17:52:06 +0000 |
| commit | 34c33a1f00259ce5e3e1d1b4a784037adfca6057 (patch) | |
| tree | 9d628647f542d8505e593bff45caecde5dd95210 /src/bin/initdb | |
| parent | af025eed536d3842d085ed9e4f9107eb976575cc (diff) | |
Add BSD authentication method.
Create a "bsd" auth method that works the same as "password" so far as
clients are concerned, but calls the BSD Authentication service to
check the password. This is currently only available on OpenBSD.
Marisa Emerson, reviewed by Thomas Munro
Diffstat (limited to 'src/bin/initdb')
| -rw-r--r-- | src/bin/initdb/initdb.c | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/src/bin/initdb/initdb.c b/src/bin/initdb/initdb.c index 18a3826b003..299ddfe86ac 100644 --- a/src/bin/initdb/initdb.c +++ b/src/bin/initdb/initdb.c @@ -90,6 +90,9 @@ static const char *const auth_methods_host[] = { #ifdef USE_PAM "pam", "pam ", #endif +#ifdef USE_BSD_AUTH + "bsd", +#endif #ifdef USE_LDAP "ldap", #endif @@ -103,6 +106,9 @@ static const char *const auth_methods_local[] = { #ifdef USE_PAM "pam", "pam ", #endif +#ifdef USE_BSD_AUTH + "bsd", +#endif #ifdef USE_LDAP "ldap", #endif |
