1
0
mirror of https://github.com/samba-team/samba.git synced 2025-07-22 16:59:09 +03:00

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>
This commit is contained in:
Volker Lendecke
2021-03-13 22:07:53 +01:00
committed by Jeremy Allison
parent 57d548b502
commit bb5bf50819
18 changed files with 0 additions and 185 deletions

View File

@ -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();