Content-Length: 257718 | pFad | https://github.com/postgrespro/postgres/commit/01c1a12a5bb4d4f837a542c187ebb2719f9334e8

29 Remove special case allowing parameters to ident auth for initdb · postgrespro/postgres@01c1a12 · GitHub
Skip to content

Commit 01c1a12

Browse files
committed
Remove special case allowing parameters to ident auth for initdb
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.
1 parent f12423d commit 01c1a12

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

src/bin/initdb/initdb.c

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2635,7 +2635,6 @@ main(int argc, char *argv[])
26352635

26362636
if (strcmp(authmethod, "md5") &&
26372637
strcmp(authmethod, "ident") &&
2638-
strncmp(authmethod, "ident ", 6) && /* ident with space = param */
26392638
strcmp(authmethod, "trust") &&
26402639
#ifdef USE_PAM
26412640
strcmp(authmethod, "pam") &&

0 commit comments

Comments
 (0)








ApplySandwichStrip

pFad - (p)hone/(F)rame/(a)nonymizer/(d)eclutterfier!      Saves Data!


--- a PPN by Garber Painting Akron. With Image Size Reduction included!

Fetched URL: https://github.com/postgrespro/postgres/commit/01c1a12a5bb4d4f837a542c187ebb2719f9334e8

Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy