[Samba] expire date

Andrew Bartlett abartlet at samba.org
Wed Jan 27 08:42:15 UTC 2021


On Tue, 2021-01-26 at 19:06 +0000, Rowland penny via samba wrote:
> On 26/01/2021 08:05, Piviul via samba wrote:
> > I would like to focus in a very little problem concerning samba...
> > in 
> > all my debian testing members after recents samba updates from
> > 4.13.2 
> > to 4.13.3 at every logon the system show a warning saying "your 
> > password will expire in <number> days" where <number> is a number
> > that 
> > change at every logon and doesn't seems to concern exipring
> > password 
> > date. For example last logon show the warning "your password will 
> > expire in 5386599 days".
> > 
> > Someone can suggest me some hints to debug this very little
> > annoying bug?
> > 
> > Piviul
> > 
> > 
> > 
> I think we need more info, that message doesn't actually seem to be 
> coming from Samba. What OS ? logging on how ?
> 
> I am not saying it isn't a Samba problem, but it may be the
> interaction 
> between whatever you are  logging  on with and Samba (PAM ?).
> 
> Rowland

This would be the password expiry warning in pam_winbind.

However I'm sceptical of the versions given, there are just no relevant
changes, but if it is - as the description appears - an un-initialised
variable then just a rebuild might have broken it.  

The next step would be to trace this in a debugger on both the
pam_winbind and winbindd side, also checking if somehow the structure
is being misread - eg 64 bit time on one side and 32 bit time on the
other. 

Andrew Bartlett

-- 
Andrew Bartlett (he/him)       https://samba.org/~abartlet/
Samba Team Member (since 2001) https://samba.org
Samba Team Lead, Catalyst IT   https://catalyst.net.nz/services/samba





More information about the samba mailing list