On 2020-07-20 11:49, Steve Dickson wrote:
+__attribute__((destructor))
+static int nss_plugin_term(void)
+{
+ free_local_realms();
+ conf_cleanup();
+ return 0;
+}
+
Just wondering... How is nss_plugin_term() called/used?
Automatically during dlclose(), see the 'Initialization and finalization
functions' section of the man page. I'd originally thought to extend
trans_func but didn't see an easy way to extend the api (no size or
version field) without breaking any possible out of tree plugins (do
they exist?).
Doug