s3:utils enable sharesec for registry shares
authorChristian Ambach <christian.ambach@de.ibm.com>
Wed, 9 Feb 2011 14:35:24 +0000 (15:35 +0100)
committerMichael Adam <obnox@samba.org>
Wed, 9 Feb 2011 15:41:31 +0000 (16:41 +0100)
Signed-off-by: Michael Adam <obnox@samba.org>
Autobuild-User: Michael Adam <obnox@samba.org>
Autobuild-Date: Wed Feb  9 16:41:31 CET 2011 on sn-devel-104

source3/utils/sharesec.c

index 1a12ce02285bbb6b63da85c828cc6cbe3d95d5e6..33cdc6a6573afaf311df19dc9c71d1713347b3fb 100644 (file)
@@ -595,7 +595,8 @@ int main(int argc, const char *argv[])
 
        setlinebuf(stdout);
 
-       lp_load( get_dyn_CONFIGFILE(), False, False, False, True );
+       lp_load_with_registry_shares( get_dyn_CONFIGFILE(), False, False, False,
+                                     True );
 
        /* check for initializing secrets.tdb first */