提交 01c1a12a 编写于 作者: M Magnus Hagander

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.
上级 f12423d7
......@@ -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") &&
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册