winbindd: keep client list sorted by access time
authorUri Simchoni <urisimchoni@gmail.com>
Mon, 13 Jul 2015 18:33:41 +0000 (21:33 +0300)
committerJeremy Allison <jra@samba.org>
Wed, 15 Jul 2015 20:41:13 +0000 (22:41 +0200)
commitc10e24e1c77a7ec1e020e2b61900eff05daffa29
treedd321213287a85eceb899c6946e4639b2c0bcc06
parentf065100639cc31de03970d41ee82a3e0ddce9c2d
winbindd: keep client list sorted by access time

Keep client list sorted by last access time, newest
to oldest.

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

Signed-off-by: Uri Simchoni <urisimchoni@gmail.com>
Reviewed-by: Jeremy Allison <jra@samba.org>
Reviewed-by: Volker Lendecke <vl@samba.org>
source3/winbindd/winbindd.c
source3/winbindd/winbindd_util.c