We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 734cd52 commit 2c05926Copy full SHA for 2c05926
rust/krb5-provision-keytab/src/lib.rs
@@ -73,6 +73,8 @@ pub async fn provision_keytab(krb5_config_path: &Path, req: &Request) -> Result<
73
let mut child = Command::new("stackable-krb5-provision-keytab")
74
// make sure the process is killed if we error out of this fn somewhere due to
75
// an error when writing to stdin or getting stdout
76
+ // Usually we'd expect the process to terminate on its own, this is a fail safe to ensure
77
+ // it gets killed in case it hangs for some reason.
78
.kill_on_drop(true)
79
.env("KRB5_CONFIG", krb5_config_path)
80
// ldap3 uses the default client keytab to authenticate to the LDAP server
0 commit comments