libads: record session expiry for spnego sasl binds
commit810dca6074f179bfda045e6059650458d3bfa2fe
authorUri Simchoni <uri@samba.org>
Mon, 18 Apr 2016 20:08:38 +0000 (18 23:08 +0300)
committerKarolin Seeger <kseeger@samba.org>
Tue, 26 Apr 2016 13:33:37 +0000 (26 15:33 +0200)
treed2e95c0607d5b55d227dd6a1c6b10363522b1da8
parent9944a5a8665f62a0fabdb583c36abc858133fe61
libads: record session expiry for spnego sasl binds

With the move to gensec-based spnego, record the session expiry
in tgs_expire, so that libads users such as winbindd can use this info
to determine how long to keep the connection.

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

Signed-off-by: Uri Simchoni <uri@samba.org>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
Autobuild-User(master): Uri Simchoni <uri@samba.org>
Autobuild-Date(master): Tue Apr 19 16:53:57 CEST 2016 on sn-devel-144

(cherry picked from commit 34482eb7cc3d74c8de510309332e8ab176d0f3c0)

Autobuild-User(v4-3-test): Karolin Seeger <kseeger@samba.org>
Autobuild-Date(v4-3-test): Tue Apr 26 15:33:37 CEST 2016 on sn-devel-104
source3/libads/sasl.c