[SCM] Samba Shared Repository - branch v3-6-test updated

Karolin Seeger kseeger at samba.org
Wed Jan 4 13:38:55 MST 2012


The branch, v3-6-test has been updated
       via  60cb113 s3-libsmb: Don't duplicate kerberos service tickets.
      from  627f57f Final part of fix for bug #8679 - recvfile code path using splice() on Linux leaves data in the pipe on short write.

http://gitweb.samba.org/?p=samba.git;a=shortlog;h=v3-6-test


- Log -----------------------------------------------------------------
commit 60cb113d98d98200b1d8b279591c930e6b0d1857
Author: Andreas Schneider <asn at samba.org>
Date:   Mon Nov 21 18:19:43 2011 +0100

    s3-libsmb: Don't duplicate kerberos service tickets.
    
    This fixes bug #8628.
    
    Each time we do a client connection. Each time we call to function to
    get the service ticket from the cache we duplicate it. So with each
    connection we end up with one or three duplicated tickets.
    
    Autobuild-User: Andreas Schneider <asn at cryptomilk.org>
    Autobuild-Date: Thu Dec 15 19:30:42 CET 2011 on sn-devel-104
    (cherry picked from commit d0330c7dd64b320cd86e2341b31da6be81ba829b)

-----------------------------------------------------------------------

Summary of changes:
 source3/libsmb/clikrb5.c |    5 -----
 1 files changed, 0 insertions(+), 5 deletions(-)


Changeset truncated at 500 lines:

diff --git a/source3/libsmb/clikrb5.c b/source3/libsmb/clikrb5.c
index 5e1f704..b0743e4 100644
--- a/source3/libsmb/clikrb5.c
+++ b/source3/libsmb/clikrb5.c
@@ -2107,11 +2107,6 @@ krb5_error_code smb_krb5_get_credentials(krb5_context context,
 		goto done;
 	}
 
-	ret = krb5_cc_store_cred(context, ccache, creds);
-	if (ret) {
-		goto done;
-	}
-
 	if (out_creds) {
 		*out_creds = creds;
 	}


-- 
Samba Shared Repository


More information about the samba-cvs mailing list