Skip to content

Commit 2a8974e

Browse files
committed
PYTHON-5808 Use KEYTAB_BASE64_BUILD for enterprise auth kinit
The KEYTAB_BASE64 keytab only contains entries for the old PRINCIPAL (ldaptest.10gen.cc). Switch to KEYTAB_BASE64_BUILD which matches PRINCIPAL_BUILD (ldaptest.build.10gen.cc).
1 parent 3e6873a commit 2a8974e

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

.evergreen/scripts/setup_tests.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -259,7 +259,7 @@ def handle_test_env() -> None:
259259
krb_conf.touch()
260260
write_env("KRB5_CONFIG", krb_conf)
261261
LOGGER.info("Writing keytab")
262-
keytab = base64.b64decode(config["KEYTAB_BASE64"])
262+
keytab = base64.b64decode(config["KEYTAB_BASE64_BUILD"])
263263
keytab_file = ROOT / ".evergreen/drivers.keytab"
264264
with keytab_file.open("wb") as fid:
265265
fid.write(keytab)

0 commit comments

Comments
 (0)