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)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy