net ads testjoin issue after date change on the server!

Ephi Dror ephi at
Mon Aug 15 19:19:18 GMT 2005

Hi Jeremy,

Here are more info:

1. Changing date to any date in the past (30 years or so..) or any date
within this year, it works fine.
2. Changing date to next year (2006  and up) causing the problem.
3. It takes about 5 minutes until segmentation fault shows up. During
that time, the entire server behaves very slow, VmData increases and
increases until it reaches about 4054368K and then segmentation fault
4. Control-C doesn't help 

Here is the last snapshot I took while running "net ads testjoin"
[root at h-00d06806ef33 root]# grep Vm /proc/22270/status
VmSize:  4062716 kB
VmLck:         0 kB
VmRSS:   2013176 kB
VmData:  4054368 kB
VmStk:       144 kB
VmExe:      1984 kB
VmLib:      5948 kB

Watching memory sizes was showing that VmSize and VmData were increasing
slowly while VmRSS stayed at about the same.

Hope this info could help solving this issue.


-----Original Message-----
From: Jeremy Allison [mailto:jra at] 
Sent: Friday, August 12, 2005 2:03 PM
To: Ephi Dror
Cc: samba-technical at
Subject: Re: net ads testjoin issue after date change on the server!

On Fri, Aug 12, 2005 at 01:20:36PM -0700, Ephi Dror wrote:
> Hi All,
> I joined an ADS domain, moved the date on my samba server 15 years 
> forward (don't ask me why, its my QA guy who did it!!!) and issued the

> folioing command:

QA guys are good at that :-).

> "net ads testjoin"
> The command has not returned, memory usage increased. If you leave it 
> long enough, it created more than 1 gig core file!!!
> I think it is related to Kerberos. Possibly a Kerberos bug. (using 
> krb5
> 1.3.3)
> Any idea what  happened here?

Do you know how much it's trying to malloc ? Looks like a krb5 bug to


More information about the samba-technical mailing list