projects
/
users
/
hanada
/
postgres.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
f12423d
)
Remove special case allowing parameters to ident auth for initdb
author
Magnus Hagander
<
[email protected]
>
Mon, 14 Mar 2011 18:46:52 +0000
(19:46 +0100)
committer
Magnus Hagander
<
[email protected]
>
Mon, 14 Mar 2011 18:51:09 +0000
(19:51 +0100)
This was required in pre-8.4 versions to allow the specification of
"ident sameuser", but sameuser is no longer required. It could be extended
to allow all parameters in the future, but should then apply to all
methods and not just ident.
src/bin/initdb/initdb.c
patch
|
blob
|
blame
|
history
diff --git
a/src/bin/initdb/initdb.c
b/src/bin/initdb/initdb.c
index acd251415de54d08bcba68e16af72c6a4b00f427..f6cf37728223938233c4f8c8cb25de374834d6a2 100644
(file)
--- a/
src/bin/initdb/initdb.c
+++ b/
src/bin/initdb/initdb.c
@@
-2635,7
+2635,6
@@
main(int argc, char *argv[])
if (strcmp(authmethod, "md5") &&
strcmp(authmethod, "ident") &&
- strncmp(authmethod, "ident ", 6) && /* ident with space = param */
strcmp(authmethod, "trust") &&
#ifdef USE_PAM
strcmp(authmethod, "pam") &&