diff options
author | Atul Kulkarni <atul.kulkarni@in.ibm.com> | 2013-09-10 01:19:52 +0200 |
---|---|---|
committer | Michael Adam <obnox@samba.org> | 2013-10-02 00:06:31 +0200 |
commit | d560cd11e4de818ff997eea52d020e360c3ef7d0 (patch) | |
tree | 6b1e46e37e04d1412bfd6e59aed40fdb500076e2 /source3/wscript_build | |
parent | f531c369eb65ab9c0150bb1693a1b89006254a12 (diff) | |
download | samba-d560cd11e4de818ff997eea52d020e360c3ef7d0.tar.gz samba-d560cd11e4de818ff997eea52d020e360c3ef7d0.tar.bz2 samba-d560cd11e4de818ff997eea52d020e360c3ef7d0.zip |
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 <obnox@samba.org>
Signed-off-by: Atul Kulkarni <atul.kulkarni@in.ibm.com>
Signed-off-by: Michael Adam <obnox@samba.org>
Reviewed-by: Volker Lendecke <vl@samba.org>
Diffstat (limited to 'source3/wscript_build')
-rwxr-xr-x | source3/wscript_build | 3 |
1 files changed, 2 insertions, 1 deletions
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', |