summaryrefslogtreecommitdiff
path: root/source3/utils/net_conf.c
diff options
context:
space:
mode:
authorMichael Adam <obnox@samba.org>2008-01-03 15:33:09 +0100
committerMichael Adam <obnox@samba.org>2008-01-03 15:33:09 +0100
commit5470f8f638505b8dccc11ca0038632aa472608d8 (patch)
treea624040d520418f7a3572ff2b93cf2fbf22a7555 /source3/utils/net_conf.c
parent6dce6ba0a6551c4db29ccf51e346f20ea1f8430e (diff)
downloadsamba-5470f8f638505b8dccc11ca0038632aa472608d8.tar.gz
samba-5470f8f638505b8dccc11ca0038632aa472608d8.tar.bz2
samba-5470f8f638505b8dccc11ca0038632aa472608d8.zip
Make libnet_conf handle opening/initialization of the registry.
Open state is currently tracked by a global variable to avoid double initialization. Later, this can possibly be replaced by a conf-context created by an initialization function and passed around to the other api functions. Michael (This used to be commit 77713e776405800ac54c692a77cd4efd153042cb)
Diffstat (limited to 'source3/utils/net_conf.c')
-rw-r--r--source3/utils/net_conf.c5
1 files changed, 0 insertions, 5 deletions
diff --git a/source3/utils/net_conf.c b/source3/utils/net_conf.c
index 2d4b3f4054..a758391630 100644
--- a/source3/utils/net_conf.c
+++ b/source3/utils/net_conf.c
@@ -852,11 +852,6 @@ int net_conf(int argc, const char **argv)
{NULL, NULL, NULL}
};
- if (!registry_init_regdb()) {
- d_fprintf(stderr, "Error initializing the registry!\n");
- goto done;
- }
-
ret = net_run_function2(argc, argv, "net conf", func);
regdb_close();