patches/cups-01-gss.diff
author jurikm
Sun, 12 Feb 2012 14:04:10 +0000
changeset 8245 383896da4129
parent 918 4e83c3c5b78c
permissions -rw-r--r--
SFEsauerbraten.spec: add IPS package name
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
918
4e83c3c5b78c 2008-02-20 Halton Huo <[email protected]>
nonsea
parents: 402
diff changeset
     1
Index: trunk/scheduler/ipp.c
4e83c3c5b78c 2008-02-20 Halton Huo <[email protected]>
nonsea
parents: 402
diff changeset
     2
===================================================================
4e83c3c5b78c 2008-02-20 Halton Huo <[email protected]>
nonsea
parents: 402
diff changeset
     3
--- trunk/scheduler/ipp.c	(revision 7332)
4e83c3c5b78c 2008-02-20 Halton Huo <[email protected]>
nonsea
parents: 402
diff changeset
     4
+++ trunk/scheduler/ipp.c	(working copy)
4e83c3c5b78c 2008-02-20 Halton Huo <[email protected]>
nonsea
parents: 402
diff changeset
     5
@@ -8589,6 +8589,7 @@
402
47fdc8d17ef5 2007-08-15 Doug Scott <[email protected]>
drdoug007
parents: 368
diff changeset
     6
   * Copy the user's credentials to the new cache file...
47fdc8d17ef5 2007-08-15 Doug Scott <[email protected]>
drdoug007
parents: 368
diff changeset
     7
   */
47fdc8d17ef5 2007-08-15 Doug Scott <[email protected]>
drdoug007
parents: 368
diff changeset
     8
 
47fdc8d17ef5 2007-08-15 Doug Scott <[email protected]>
drdoug007
parents: 368
diff changeset
     9
+#ifndef sun
47fdc8d17ef5 2007-08-15 Doug Scott <[email protected]>
drdoug007
parents: 368
diff changeset
    10
   major_status = gss_krb5_copy_ccache(&minor_status, con->gss_delegated_cred,
47fdc8d17ef5 2007-08-15 Doug Scott <[email protected]>
drdoug007
parents: 368
diff changeset
    11
 				      job->ccache);
47fdc8d17ef5 2007-08-15 Doug Scott <[email protected]>
drdoug007
parents: 368
diff changeset
    12
 
918
4e83c3c5b78c 2008-02-20 Halton Huo <[email protected]>
nonsea
parents: 402
diff changeset
    13
@@ -8600,6 +8601,7 @@
402
47fdc8d17ef5 2007-08-15 Doug Scott <[email protected]>
drdoug007
parents: 368
diff changeset
    14
     job->ccache = NULL;
47fdc8d17ef5 2007-08-15 Doug Scott <[email protected]>
drdoug007
parents: 368
diff changeset
    15
     return;
47fdc8d17ef5 2007-08-15 Doug Scott <[email protected]>
drdoug007
parents: 368
diff changeset
    16
   }
47fdc8d17ef5 2007-08-15 Doug Scott <[email protected]>
drdoug007
parents: 368
diff changeset
    17
+#endif
47fdc8d17ef5 2007-08-15 Doug Scott <[email protected]>
drdoug007
parents: 368
diff changeset
    18
 
47fdc8d17ef5 2007-08-15 Doug Scott <[email protected]>
drdoug007
parents: 368
diff changeset
    19
  /*
47fdc8d17ef5 2007-08-15 Doug Scott <[email protected]>
drdoug007
parents: 368
diff changeset
    20
   * Add the KRB5CCNAME environment variable to the job so that the