summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--source3/utils/sharesec.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/source3/utils/sharesec.c b/source3/utils/sharesec.c
index 1a12ce0228..33cdc6a657 100644
--- a/source3/utils/sharesec.c
+++ b/source3/utils/sharesec.c
@@ -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 */