pg.ddx.io pgsql-committers@postgresql.org mailing list archivehelp / color / mirror / Atom feed
pgsql: For Kerberos testing, disable reverse DNS lookup 6+ messages / 1 participants [nested] [flat]
* pgsql: For Kerberos testing, disable reverse DNS lookup @ 2023-03-09 15:33 Stephen Frost <sfrost@snowman.net> 0 siblings, 0 replies; 6+ messages in thread From: Stephen Frost @ 2023-03-09 15:33 UTC (permalink / raw) To: pgsql-committers@lists.postgresql.org For Kerberos testing, disable reverse DNS lookup In our Kerberos test suite, there isn't much need to worry about the normal canonicalization that Kerberos provides by looking up the reverse DNS for the IP address connected to, and in some cases it can actively cause problems (eg: a captive portal wifi where the normally not resolvable localhost address used ends up being resolved anyway, and not to the domain we are using for testing, causing the entire regression test to fail with errors about not being able to get a TGT for the remote realm for cross-realm trust). Therefore, disable it by adding rdns = false into the krb5.conf that's generated for the test. Reviewed-By: Heikki Linnakangas Discussion: https://postgr.es/m/Y/QD2zDkDYQA1GQt@tamriel.snowman.net Branch ------ master Details ------- https://git.postgresql.org/pg/commitdiff/8dff2f224f4f49ddd4f45f590e7f46b160a4951b Modified Files -------------- src/test/kerberos/t/001_auth.pl | 12 ++++++++++++ 1 file changed, 12 insertions(+) ^ permalink raw reply [nested|flat] 6+ messages in thread
* pgsql: For Kerberos testing, disable reverse DNS lookup @ 2023-04-07 23:37 Stephen Frost <sfrost@snowman.net> 0 siblings, 0 replies; 6+ messages in thread From: Stephen Frost @ 2023-04-07 23:37 UTC (permalink / raw) To: pgsql-committers@lists.postgresql.org For Kerberos testing, disable reverse DNS lookup In our Kerberos test suite, there isn't much need to worry about the normal canonicalization that Kerberos provides by looking up the reverse DNS for the IP address connected to, and in some cases it can actively cause problems (eg: a captive portal wifi where the normally not resolvable localhost address used ends up being resolved anyway, and not to the domain we are using for testing, causing the entire regression test to fail with errors about not being able to get a TGT for the remote realm for cross-realm trust). Therefore, disable it by adding rdns = false into the krb5.conf that's generated for the test. Reviewed-By: Heikki Linnakangas Discussion: https://postgr.es/m/Y/QD2zDkDYQA1GQt@tamriel.snowman.net Branch ------ REL_14_STABLE Details ------- https://git.postgresql.org/pg/commitdiff/1fdd1fbe10fe6f7f404238e586cac212ef1451c8 Modified Files -------------- src/test/kerberos/t/001_auth.pl | 12 ++++++++++++ 1 file changed, 12 insertions(+) ^ permalink raw reply [nested|flat] 6+ messages in thread
* pgsql: For Kerberos testing, disable reverse DNS lookup @ 2023-04-07 23:37 Stephen Frost <sfrost@snowman.net> 0 siblings, 0 replies; 6+ messages in thread From: Stephen Frost @ 2023-04-07 23:37 UTC (permalink / raw) To: pgsql-committers@lists.postgresql.org For Kerberos testing, disable reverse DNS lookup In our Kerberos test suite, there isn't much need to worry about the normal canonicalization that Kerberos provides by looking up the reverse DNS for the IP address connected to, and in some cases it can actively cause problems (eg: a captive portal wifi where the normally not resolvable localhost address used ends up being resolved anyway, and not to the domain we are using for testing, causing the entire regression test to fail with errors about not being able to get a TGT for the remote realm for cross-realm trust). Therefore, disable it by adding rdns = false into the krb5.conf that's generated for the test. Reviewed-By: Heikki Linnakangas Discussion: https://postgr.es/m/Y/QD2zDkDYQA1GQt@tamriel.snowman.net Branch ------ REL_15_STABLE Details ------- https://git.postgresql.org/pg/commitdiff/0787432f33fbbda4f628f4499468a3f7d0bc11ad Modified Files -------------- src/test/kerberos/t/001_auth.pl | 12 ++++++++++++ 1 file changed, 12 insertions(+) ^ permalink raw reply [nested|flat] 6+ messages in thread
* pgsql: For Kerberos testing, disable reverse DNS lookup @ 2023-04-07 23:37 Stephen Frost <sfrost@snowman.net> 0 siblings, 0 replies; 6+ messages in thread From: Stephen Frost @ 2023-04-07 23:37 UTC (permalink / raw) To: pgsql-committers@lists.postgresql.org For Kerberos testing, disable reverse DNS lookup In our Kerberos test suite, there isn't much need to worry about the normal canonicalization that Kerberos provides by looking up the reverse DNS for the IP address connected to, and in some cases it can actively cause problems (eg: a captive portal wifi where the normally not resolvable localhost address used ends up being resolved anyway, and not to the domain we are using for testing, causing the entire regression test to fail with errors about not being able to get a TGT for the remote realm for cross-realm trust). Therefore, disable it by adding rdns = false into the krb5.conf that's generated for the test. Reviewed-By: Heikki Linnakangas Discussion: https://postgr.es/m/Y/QD2zDkDYQA1GQt@tamriel.snowman.net Branch ------ REL_12_STABLE Details ------- https://git.postgresql.org/pg/commitdiff/1beb70d810734812edbdf9ab6072425afa6eac40 Modified Files -------------- src/test/kerberos/t/001_auth.pl | 12 ++++++++++++ 1 file changed, 12 insertions(+) ^ permalink raw reply [nested|flat] 6+ messages in thread
* pgsql: For Kerberos testing, disable reverse DNS lookup @ 2023-04-07 23:37 Stephen Frost <sfrost@snowman.net> 0 siblings, 0 replies; 6+ messages in thread From: Stephen Frost @ 2023-04-07 23:37 UTC (permalink / raw) To: pgsql-committers@lists.postgresql.org For Kerberos testing, disable reverse DNS lookup In our Kerberos test suite, there isn't much need to worry about the normal canonicalization that Kerberos provides by looking up the reverse DNS for the IP address connected to, and in some cases it can actively cause problems (eg: a captive portal wifi where the normally not resolvable localhost address used ends up being resolved anyway, and not to the domain we are using for testing, causing the entire regression test to fail with errors about not being able to get a TGT for the remote realm for cross-realm trust). Therefore, disable it by adding rdns = false into the krb5.conf that's generated for the test. Reviewed-By: Heikki Linnakangas Discussion: https://postgr.es/m/Y/QD2zDkDYQA1GQt@tamriel.snowman.net Branch ------ REL_13_STABLE Details ------- https://git.postgresql.org/pg/commitdiff/cd018a2b3f2479377ec62e9d8f738c603df24192 Modified Files -------------- src/test/kerberos/t/001_auth.pl | 12 ++++++++++++ 1 file changed, 12 insertions(+) ^ permalink raw reply [nested|flat] 6+ messages in thread
* pgsql: For Kerberos testing, disable reverse DNS lookup @ 2023-04-07 23:37 Stephen Frost <sfrost@snowman.net> 0 siblings, 0 replies; 6+ messages in thread From: Stephen Frost @ 2023-04-07 23:37 UTC (permalink / raw) To: pgsql-committers@lists.postgresql.org For Kerberos testing, disable reverse DNS lookup In our Kerberos test suite, there isn't much need to worry about the normal canonicalization that Kerberos provides by looking up the reverse DNS for the IP address connected to, and in some cases it can actively cause problems (eg: a captive portal wifi where the normally not resolvable localhost address used ends up being resolved anyway, and not to the domain we are using for testing, causing the entire regression test to fail with errors about not being able to get a TGT for the remote realm for cross-realm trust). Therefore, disable it by adding rdns = false into the krb5.conf that's generated for the test. Reviewed-By: Heikki Linnakangas Discussion: https://postgr.es/m/Y/QD2zDkDYQA1GQt@tamriel.snowman.net Branch ------ REL_11_STABLE Details ------- https://git.postgresql.org/pg/commitdiff/f0bd3361e09d206c47c0dc439c6642f96f67fab9 Modified Files -------------- src/test/kerberos/t/001_auth.pl | 12 ++++++++++++ 1 file changed, 12 insertions(+) ^ permalink raw reply [nested|flat] 6+ messages in thread
end of thread, other threads:[~2023-04-07 23:37 UTC | newest] Thread overview: 6+ messages (download: mbox mbox.gz follow: Atom feed) -- links below jump to the message on this page -- 2023-03-09 15:33 pgsql: For Kerberos testing, disable reverse DNS lookup Stephen Frost <sfrost@snowman.net> 2023-04-07 23:37 pgsql: For Kerberos testing, disable reverse DNS lookup Stephen Frost <sfrost@snowman.net> 2023-04-07 23:37 pgsql: For Kerberos testing, disable reverse DNS lookup Stephen Frost <sfrost@snowman.net> 2023-04-07 23:37 pgsql: For Kerberos testing, disable reverse DNS lookup Stephen Frost <sfrost@snowman.net> 2023-04-07 23:37 pgsql: For Kerberos testing, disable reverse DNS lookup Stephen Frost <sfrost@snowman.net> 2023-04-07 23:37 pgsql: For Kerberos testing, disable reverse DNS lookup Stephen Frost <sfrost@snowman.net>
This inbox is served by DDX for PostgreSQL; see mirroring instructions for how to clone and mirror all data and code used for this inbox