File: kerberos.patch

package info (click to toggle)
sendmail 8.18.1-7
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 12,496 kB
  • sloc: ansic: 105,736; perl: 7,504; sh: 5,488; makefile: 889
file content (18 lines) | stat: -rw-r--r-- 428 bytes parent folder | download | duplicates (4)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
# Attempt to support Kerberos
#### Patch data follows ####
--- a/sendmail/conf.c
+++ b/sendmail/conf.c
@@ -3986,6 +3986,13 @@ void
 vendor_post_defaults(e)
 	ENVELOPE *e;
 {
+	/*
+	 * Kerberos V support
+	 */
+	sm_setuserenv("KRB5CCNAME", NULL);
+	sm_setuserenv("KRB5_KTNAME", NULL);
+	sm_setuserenv("KRB5_CONFIG", NULL);
+
 #ifdef __QNX__
 	/* Makes sure the SOCK environment variable remains */
 	sm_setuserenv("SOCK", NULL);