Skip to content

Commit c3b35b3

Browse files
authored
fix(NODE-5489): set kerberos compatibility to ^1.0.0 || ^2.0.0 (#3803)
1 parent cc3069d commit c3b35b3

File tree

4 files changed

+8
-26
lines changed

4 files changed

+8
-26
lines changed

.evergreen/config.yml

Lines changed: 0 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -1623,13 +1623,6 @@ tasks:
16231623
- func: start-load-balancer
16241624
- func: run-lb-tests
16251625
- func: stop-load-balancer
1626-
- name: test-auth-kerberos
1627-
tags:
1628-
- auth
1629-
- kerberos
1630-
commands:
1631-
- func: install dependencies
1632-
- func: run kerberos tests
16331626
- name: test-auth-ldap
16341627
tags:
16351628
- auth
@@ -3540,7 +3533,6 @@ buildvariants:
35403533
- test-5.0-load-balanced
35413534
- test-6.0-load-balanced
35423535
- test-latest-load-balanced
3543-
- test-auth-kerberos
35443536
- test-auth-ldap
35453537
- test-auth-oidc
35463538
- test-socks5
@@ -3593,7 +3585,6 @@ buildvariants:
35933585
- test-5.0-load-balanced
35943586
- test-6.0-load-balanced
35953587
- test-latest-load-balanced
3596-
- test-auth-kerberos
35973588
- test-auth-ldap
35983589
- test-auth-oidc
35993590
- test-socks5
@@ -3644,7 +3635,6 @@ buildvariants:
36443635
- test-5.0-load-balanced
36453636
- test-6.0-load-balanced
36463637
- test-latest-load-balanced
3647-
- test-auth-kerberos
36483638
- test-auth-ldap
36493639
- test-auth-oidc
36503640
- test-socks5
@@ -3695,7 +3685,6 @@ buildvariants:
36953685
- test-5.0-load-balanced
36963686
- test-6.0-load-balanced
36973687
- test-latest-load-balanced
3698-
- test-auth-kerberos
36993688
- test-auth-ldap
37003689
- test-auth-oidc
37013690
- test-socks5
@@ -3746,7 +3735,6 @@ buildvariants:
37463735
- test-5.0-load-balanced
37473736
- test-6.0-load-balanced
37483737
- test-latest-load-balanced
3749-
- test-auth-kerberos
37503738
- test-auth-ldap
37513739
- test-auth-oidc
37523740
- test-socks5

.evergreen/generate_evergreen_tasks.js

Lines changed: 6 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -179,11 +179,12 @@ TASKS.push(
179179
{ func: 'stop-load-balancer' }
180180
]
181181
},
182-
{
183-
name: 'test-auth-kerberos',
184-
tags: ['auth', 'kerberos'],
185-
commands: [{ func: 'install dependencies' }, { func: 'run kerberos tests' }]
186-
},
182+
// TODO(NODE-5519): Kerberos kinit errors.
183+
// {
184+
// name: 'test-auth-kerberos',
185+
// tags: ['auth', 'kerberos'],
186+
// commands: [{ func: 'install dependencies' }, { func: 'run kerberos tests' }]
187+
//},
187188
{
188189
name: 'test-auth-ldap',
189190
tags: ['auth', 'ldap'],
@@ -795,13 +796,6 @@ for (const variant of BUILD_VARIANTS.filter(
795796
);
796797
}
797798

798-
// TODO(NODE-5021): Drop support for Kerberos 1.x on in 6.0.0
799-
for (const variant of BUILD_VARIANTS.filter(
800-
variant => variant.expansions && ['latest'].includes(variant.expansions.NODE_LTS_VERSION)
801-
)) {
802-
variant.tasks = variant.tasks.filter(name => !['test-auth-kerberos'].includes(name));
803-
}
804-
805799
// TODO(NODE-4897): Debug socks5 tests on node latest
806800
for (const variant of BUILD_VARIANTS.filter(
807801
variant => variant.expansions && ['latest'].includes(variant.expansions.NODE_LTS_VERSION)

package-lock.json

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@
3535
"peerDependencies": {
3636
"@aws-sdk/credential-providers": "^3.201.0",
3737
"@mongodb-js/zstd": "^1.1.0",
38-
"kerberos": "^2.0.1",
38+
"kerberos": "^1.0.0 || ^2.0.0",
3939
"mongodb-client-encryption": ">=2.3.0 <3",
4040
"snappy": "^7.2.2"
4141
},

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy