Bug 1331763

Summary: [GSS]winbind filles the messages with "Ticket expired" message after upgrade to "samba-winbind-4.2.11-2"
Product: [Red Hat Storage] Red Hat Gluster Storage Reporter: Riyas Abdulrasak <rnalakka>
Component: sambaAssignee: Jose A. Rivera <jarrpa>
Status: CLOSED ERRATA QA Contact: surabhi <sbhaloth>
Severity: medium Docs Contact:
Priority: medium    
Version: rhgs-3.1CC: aheverle, gustavo.farias.santos, jarrpa, nlevinki, rcyriac, rhinduja, rjoseph
Target Milestone: ---Keywords: ZStream
Target Release: RHGS 3.1.3   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: glusterfs-3.7.9-6 Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
: 1332089 (view as bug list) Environment:
Last Closed: 2016-06-23 05:38:08 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On:    
Bug Blocks: 1311817    

Description Riyas Abdulrasak 2016-04-29 13:09:32 UTC
Description of problem:

/var/log/messages fills with  below error messges

winbindd[xxxx]:   gss_init_sec_context failed with [Unspecified GSS failure.  Minor code may provide more information: Ticket expired]

After winbind packages upgraded to -4.2.11-2, in a RHGS 3.1 node that is integrated with Active Directory . 


Version-Release number of selected component (if applicable):

Red Hat Gluster Storage 3.1
samba-winbind-4.2.11-2.el6rhs.x86_64

How reproducible:

Always. 

Steps to Reproduce:
1. Install RHGS 3.1 with samba-windbind-4.2.11-2
2. Integrate with Active Directory 
3. Check the /var/log/messages. 

Actual results:

winbindd[xxxx]:   gss_init_sec_context failed with [Unspecified GSS failure.  Minor code may provide more information: Ticket expired]

Above messages in the /var/log/messages , since windbind not know  when to get a new krb5 ticket since a regression in the mentioned package. 


Expected results:

windbind handle session expiry properly and avoid the warning message. 



Additional info:

upstream samba BZ 

https://bugzilla.samba.org/show_bug.cgi?id=11852

upstream patch : https://git.samba.org/?p=samba.git;a=commitdiff;h=aec25b0cc232286c3e4d85de7f00483c09f7c66e

Thanks to Günther Deschner for helping wiith the above details.

Comment 2 Jose A. Rivera 2016-05-23 14:15:22 UTC
This is already fixed in Samba 4.4.3, which we will be taking for RHGS 3.1.3.

Comment 6 surabhi 2016-05-30 07:45:17 UTC
Updated the RHGS systems from 3.1.2 to 3.1.3 with samba version samba-4.4.3-6.el7rhgs.x86_64 and did an active directory integration with windows 2012 AD DC.Started winbind and smbd services and there are no error/warning messages seen related to winbind as mentioned in the description.
Marking the BZ verified.

Comment 8 errata-xmlrpc 2016-06-23 05:38:08 UTC
Since the problem described in this bug report should be
resolved in a recent advisory, it has been closed with a
resolution of ERRATA.

For information on the advisory, and where to find the updated
files, follow the link below.

If the solution does not work for you, open a new bug report.

https://access.redhat.com/errata/RHBA-2016:1248

Comment 10 Gustavo Farias dos Santos 2017-07-14 12:25:28 UTC
I'm with version samba 4.4.4-12 and also have errors.