fsrvp: use fss server state storage back-end
authorDavid Disseldorp <ddiss@samba.org>
Fri, 28 Sep 2012 09:40:42 +0000 (11:40 +0200)
committerDavid Disseldorp <ddiss@samba.org>
Mon, 15 Apr 2013 16:15:20 +0000 (18:15 +0200)
commit89aca394357c2b6f1d4adca445bcf813cb137695
treeac3c8c5c080a67b6fc68eb86a64d994f103e59bc
parentc520638fe272db105574aa3896ecc5034fa2e699
fsrvp: use fss server state storage back-end

MS-FSRVP outlines the requirement for persistent server state storage,
retrieved on startup. Store fss server state following snapshot
creation, deletion and exposure.

Storage and retrieval errors are logged but otherwise ignored. In such
a case, manual snapshot cleanup may be required if the server is
restarted with snapshots in existence.

smap sc_share_name was not set until exposure time, meaning there was
nothing available as a unique identifier. The sc_share_name is now set
immediately on sc/smap creation.
source3/rpc_server/fss/srv_fss_agent.c