summaryrefslogtreecommitdiffstats
path: root/source3/wscript_build
diff options
context:
space:
mode:
authorVolker Lendecke <vl@samba.org>2014-10-10 16:36:54 -0700
committerJeremy Allison <jra@samba.org>2014-12-04 05:45:09 +0100
commit14fac5dbc05823562760ac424522fb39817ec062 (patch)
treeeaaa061478aaca510e8945b2ea56cc0001095d1a /source3/wscript_build
parenta199214dfb5fc9c2b4c9e15ccb24198065c616b9 (diff)
downloadsamba-14fac5dbc05823562760ac424522fb39817ec062.tar.gz
samba-14fac5dbc05823562760ac424522fb39817ec062.tar.xz
samba-14fac5dbc05823562760ac424522fb39817ec062.zip
s3:locking: add leases_db infrastructure
Will enable us to solve the dynamic share path problem with leases on [homes]. We're also able to give the correct error codes when a lease key is re-used with a different file name. Pair-Programmed-With: Jeremy Allison <jra@samba.org> Signed-off-by: Volker Lendecke <vl@samba.org> Signed-off-by: Jeremy Allison <jra@samba.org> Reviewed-by: Stefan Metzmacher <metze@samba.org>
Diffstat (limited to 'source3/wscript_build')
-rwxr-xr-xsource3/wscript_build6
1 files changed, 6 insertions, 0 deletions
diff --git a/source3/wscript_build b/source3/wscript_build
index df503babc3..469424d136 100755
--- a/source3/wscript_build
+++ b/source3/wscript_build
@@ -610,6 +610,7 @@ bld.SAMBA3_LIBRARY('smbd_base',
LIBAFS
RPC_SERVICE
NDR_SMBXSRV
+ LEASES_DB
LIBASYS
sysquotas
ccan-hash
@@ -627,9 +628,14 @@ bld.SAMBA3_SUBSYSTEM('LOCKING',
deps='''
tdb_compat
talloc
+ LEASES_DB
NDR_OPEN_FILES
FNAME_UTIL''')
+bld.SAMBA3_SUBSYSTEM('LEASES_DB',
+ source='locking/leases_db.c',
+ deps='NDR_LEASES_DB')
+
if bld.CONFIG_GET("WITH_PROFILE"):
bld.SAMBA3_SUBSYSTEM('PROFILE',
source='profile/profile.c',