Skip to content

Commit adb3d3d

Browse files
authored
Actually disable credential cache for krb5 provisioner (#490)
* Actually disable credential cache for krb5 provisioner `KRB5CCNAME=MEMORY` will store the cache in a file named `MEMORY`, `KRB5CCNAME=MEMORY:` will store the cache in memory (as intended). * Changelog
1 parent 07a03f7 commit adb3d3d

File tree

2 files changed

+6
-1
lines changed

2 files changed

+6
-1
lines changed

CHANGELOG.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,12 @@ All notable changes to this project will be documented in this file.
88

99
- Active Directory's `samAccountName` generation can now be customized ([#454]).
1010

11+
### Fixed
12+
13+
- Fixed Kerberos keytab provisioning reusing its credential cache ([#490]).
14+
1115
[#454]: https://github.com/stackabletech/secret-operator/pull/454
16+
[#490]: https://github.com/stackabletech/secret-operator/pull/490
1217

1318
## [24.7.0] - 2024-07-24
1419

rust/krb5-provision-keytab/src/lib.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -75,7 +75,7 @@ pub async fn provision_keytab(krb5_config_path: &Path, req: &Request) -> Result<
7575
// ldap3 uses the default client keytab to authenticate to the LDAP server
7676
.env("KRB5_CLIENT_KTNAME", &req.admin_keytab_path)
7777
// avoid leaking credentials between secret volumes/secretclasses
78-
.env("KRB5CCNAME", "MEMORY")
78+
.env("KRB5CCNAME", "MEMORY:")
7979
.stdin(Stdio::piped())
8080
.stdout(Stdio::piped())
8181
.spawn()

0 commit comments

Comments
 (0)