[PATCHES] Handle expired sessions in winbindd
metze at samba.org
Fri Jan 8 17:33:48 UTC 2016
>> The attached patches catch the error and retry the same request on a
>> connection. The first patch is a hack to use the admember selftest
>> environment for some testing. I was not sure of the best approach of
>> getting some test coverage here. Maybe change the config of admember
>> use short-lived tickets, or create a new admember2 environment that
>> a short ticket lifetime.
> This approach is reasonable enough, and ad_dc doesn't have multiple DCs
> in it, so you can just change that one KDC. However changing from
> ad_dc_ntvfs to ad_dc will change some other things, perhaps fixing some
> of the winbind flapping tests actually, because different other tests
> will have run against it.
I think for testing we need to change the client,
as we do in the smb2.session.expire1 test.
So winbindd should just ask for short tickets, instead of
changing the kdc. So the admember env would be ok for that.
The patches look mostly good, but I haven't looked at the
retry logic for the ad backend in detail.
-------------- next part --------------
A non-text attachment was scrubbed...
Size: 836 bytes
Desc: OpenPGP digital signature
More information about the samba-technical