From d560cd11e4de818ff997eea52d020e360c3ef7d0 Mon Sep 17 00:00:00 2001 From: Atul Kulkarni Date: Tue, 10 Sep 2013 01:19:52 +0200 Subject: net: add new function net_idmap_opendb_autorid() This checks the backend is autorid, and opens the db if so. If readonly == true, the DB is simply opened for reading. If readonly == false, the DB is created if necessary and initialized with HWMs. Pair-Programmed-With: Michael Adam Signed-off-by: Atul Kulkarni Signed-off-by: Michael Adam Reviewed-by: Volker Lendecke --- source3/wscript_build | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'source3/wscript_build') diff --git a/source3/wscript_build b/source3/wscript_build index 2122d15bb8..40d03b2429 100755 --- a/source3/wscript_build +++ b/source3/wscript_build @@ -1112,7 +1112,8 @@ bld.SAMBA3_BINARY('net', RPC_NDR_DSSETUP RPC_NDR_INITSHUTDOWN printing_migrate - trusts_util''') + trusts_util + IDMAP_AUTORID_TDB''') bld.SAMBA3_BINARY('profiles', source='utils/profiles.c', -- cgit