[SERVER-28648] Unittests should work if 'localhost' canonicalizes to other hostname Created: 06/Apr/17  Updated: 06/Dec/17  Resolved: 07/Aug/17

Status: Closed
Project: Core Server
Component/s: Testing Infrastructure
Affects Version/s: None
Fix Version/s: 3.5.12

Type: Improvement Priority: Major - P3
Reporter: Spencer Jackson Assignee: Spencer Jackson
Resolution: Done Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Backwards Compatibility: Fully Compatible
Sprint: Platforms 2017-08-21
Participants:

 Description   

sasl_authentication_session_gssapi_test requires that the /etc/hosts entry for 127.0.0.1 begin with 'localhost'. If it does not, it will reverse lookup the wrong hostname to acquire a keytab entry for. If we made the hostname the test originally looked up invalid, then it will be unable to reverse lookup. Then, we won't rely on entries in /etc/hosts.

Note, we'd need a new keytab entry with the new invalid hostname.



 Comments   
Comment by Githook User [ 07/Aug/17 ]

Author:

{'username': 'spencerjackson', 'email': 'spencer.jackson@mongodb.com', 'name': 'Spencer Jackson'}

Message: SERVER-28648: Disable DNS canonicalization of Kerberos principal names in tests
Branch: master
https://github.com/mongodb/mongo/commit/e0f57a38960946dedf9841ddfdd668c5f2a34e5a

Comment by Githook User [ 07/Aug/17 ]

Author:

{'username': 'spencerjackson', 'email': 'spencer.jackson@mongodb.com', 'name': 'Spencer Jackson'}

Message: SERVER-28648: Add comment explaining DNS canonicalization
Branch: master
https://github.com/10gen/mongo-enterprise-modules/commit/f830bb5db39742d8d22c912ccc027349d2f5c3f4

Generated at Thu Feb 08 04:18:42 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.