]> git.ipfire.org Git - thirdparty/samba.git/commit
spoolss: Fix caching of printername->sharename
authorVolker Lendecke <vl@samba.org>
Wed, 12 Oct 2016 09:06:51 +0000 (11:06 +0200)
committerStefan Metzmacher <metze@samba.org>
Mon, 24 Oct 2016 08:56:12 +0000 (10:56 +0200)
commit17e61a14efdae6fd780b4d0ae95e47c8a7797af1
treef8089435e4fd86c039ad9359afd2ea0d17a08509
parent49d4c63b5642007976369f01b89ab4f71d0f94b1
spoolss: Fix caching of printername->sharename

time_mono() gives seconds since boot, gencache expects seconds since epoch.
With time_mono(), the values are always expired immediately.

Bug: https://bugzilla.samba.org/show_bug.cgi?id=12374

Signed-off-by: Volker Lendecke <vl@samba.org>
Reviewed-by: Guenther Deschner <gd@samba.org>
Autobuild-User(master): Günther Deschner <gd@samba.org>
Autobuild-Date(master): Thu Oct 13 13:48:52 CEST 2016 on sn-devel-144
source3/rpc_server/spoolss/srv_spoolss_nt.c