Location via proxy:   [ UP ]  
[Report a bug]   [Manage cookies]                
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

-1
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)