Skip to content

Commit 2c05926

Browse files
committed
added little detail
1 parent 734cd52 commit 2c05926

File tree

1 file changed

+2
-0
lines changed
  • rust/krb5-provision-keytab/src

1 file changed

+2
-0
lines changed

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

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -73,6 +73,8 @@ pub async fn provision_keytab(krb5_config_path: &Path, req: &Request) -> Result<
7373
let mut child = Command::new("stackable-krb5-provision-keytab")
7474
// make sure the process is killed if we error out of this fn somewhere due to
7575
// 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.
7678
.kill_on_drop(true)
7779
.env("KRB5_CONFIG", krb5_config_path)
7880
// ldap3 uses the default client keytab to authenticate to the LDAP server

0 commit comments

Comments
 (0)