fsrvp: use fss server state storage back-end
authorDavid Disseldorp <ddiss@samba.org>
Wed, 12 Sep 2012 10:50:41 +0000 (12:50 +0200)
committerDavid Disseldorp <ddiss@samba.org>
Wed, 19 Sep 2012 03:59:06 +0000 (05:59 +0200)
commit7549d4126828100cbd2191f8c34e2e5776644c19
treef68d06fb72d98cc9bbcdaf4d56c0441898d3e5e9
parentc9e4f4e3ac0835131aa06fb598b9cd50ca89dcde
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