[SCM] Samba Shared Repository - branch master updated

Andreas Schneider asn at samba.org
Thu May 9 16:47:05 UTC 2019


The branch, master has been updated
       via  fd4b1f4f16a s3:smbspool: Fix regression printing with Kerberos credentials
      from  04c0e5212d5 ctdb/build: fix ctdb_mutex_ceph_rados_helper builds

https://git.samba.org/?p=samba.git;a=shortlog;h=master


- Log -----------------------------------------------------------------
commit fd4b1f4f16aee3e3c9a2cb449655edfed171963a
Author: Andreas Schneider <asn at samba.org>
Date:   Thu May 9 16:18:51 2019 +0200

    s3:smbspool: Fix regression printing with Kerberos credentials
    
    This is a regression which has been introduced with Samba 4.8.
    
    BUG: https://bugzilla.samba.org/show_bug.cgi?id=13939
    
    Signed-off-by: Andreas Schneider <asn at samba.org>
    Reviewed-by: Guenther Deschner <gd at samba.org>
    
    Autobuild-User(master): Andreas Schneider <asn at cryptomilk.org>
    Autobuild-Date(master): Thu May  9 16:46:05 UTC 2019 on sn-devel-184

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

Summary of changes:
 source3/client/smbspool.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)


Changeset truncated at 500 lines:

diff --git a/source3/client/smbspool.c b/source3/client/smbspool.c
index 5efaa091913..22071613677 100644
--- a/source3/client/smbspool.c
+++ b/source3/client/smbspool.c
@@ -664,7 +664,7 @@ smb_connect(const char *workgroup,	/* I - Workgroup */
 	 * behavior with 3.0.14a
 	 */
 
-	if (username != NULL && username[0] != '\0') {
+	if (username == NULL || username[0] == '\0') {
 		if (kerberos_ccache_is_valid()) {
 			goto kerberos_auth;
 		}


-- 
Samba Shared Repository



More information about the samba-cvs mailing list