summaryrefslogtreecommitdiff
path: root/source3/lib/netapi
diff options
context:
space:
mode:
authorVolker Lendecke <vl@samba.org>2021-03-13 22:07:53 +0100
committerJeremy Allison <jra@samba.org>2021-03-16 17:09:32 +0000
commitbb5bf508197205f6a9d17b3418a9291b934bd9fa (patch)
tree69fed1336ff204ea88200d134570c167bbf11679 /source3/lib/netapi
parent57d548b5020b5071e80d6b07c168c8207b52df25 (diff)
downloadsamba-bb5bf508197205f6a9d17b3418a9291b934bd9fa.tar.gz
lib: Remove init_names()
is_myname() looks at lp_* directly, nmbd maintains its own list: We don't need the baroque loadparm handler anymore. Signed-off-by: Volker Lendecke <vl@samba.org> Reviewed-by: Jeremy Allison <jra@samba.org>
Diffstat (limited to 'source3/lib/netapi')
-rw-r--r--source3/lib/netapi/netapi.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/source3/lib/netapi/netapi.c b/source3/lib/netapi/netapi.c
index f8f79c69baf..fb8b4bc6113 100644
--- a/source3/lib/netapi/netapi.c
+++ b/source3/lib/netapi/netapi.c
@@ -81,7 +81,6 @@ NET_API_STATUS libnetapi_init(struct libnetapi_ctx **context)
return W_ERROR_V(WERR_GEN_FAILURE);
}
- init_names();
load_interfaces();
reopen_logs();
@@ -178,7 +177,6 @@ NET_API_STATUS libnetapi_free(struct libnetapi_ctx *ctx)
}
}
- gfree_names();
gfree_loadparm();
gfree_charcnv();
gfree_interfaces();