~ubuntu-branches/ubuntu/trusty/sendmail/trusty

« back to all changes in this revision

Viewing changes to debian/patches/8.14/8.14.3/kerberos.patch

  • Committer: Bazaar Package Importer
  • Author(s): Richard A Nelson (Rick)
  • Date: 2009-03-01 18:45:00 UTC
  • mfrom: (8.1.1 sid)
  • Revision ID: james.westby@ubuntu.com-20090301184500-z6683zxyomgmop6c
Tags: 8.14.3-9
Batting 1000, build-depend on quilt      Closes: #517676

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
# Attempt to support Kerberos
2
 
#### Patch data follows ####
3
 
diff -c 'sendmail/conf.c' 'debian/patches.conf.c'
4
 
Index: ./sendmail/conf.c
5
 
Prereq:  8.1141 
6
 
*** ./sendmail/conf.c   Mon May 26 19:55:54 2008
7
 
--- ./debian/conf.c     Mon May 26 20:02:22 2008
8
 
***************
9
 
*** 3891,3896 ****
10
 
--- 3891,3903 ----
11
 
  vendor_post_defaults(e)
12
 
        ENVELOPE *e;
13
 
  {
14
 
+       /*
15
 
+        * Kerberos V support
16
 
+        */
17
 
+       sm_setuserenv("KRB5CCNAME", NULL);
18
 
+       sm_setuserenv("KRB5_KTNAME", NULL);
19
 
+       sm_setuserenv("KRB5_CONFIG", NULL);
20
 
21
 
  #ifdef __QNX__
22
 
        /* Makes sure the SOCK environment variable remains */
23
 
        sm_setuserenv("SOCK", NULL);
24
 
#### End of Patch data ####