Add -ve connection cache entries for domain and realm.
****************************************************************/
-void winbind_add_failed_connection_entry(
+static void winbind_add_failed_connection_entry(
const struct winbindd_domain *domain,
const char *server,
NTSTATUS result)
DEBUG(3, ("This is the third problem for this "
"particular call, adding DC to the "
"negative cache list: %s %s\n", domain->name, domain->dcname));
- winbind_add_failed_connection_entry(domain,
+ add_failed_connection_entry(domain->name,
domain->dcname,
result);
+ saf_delete(domain->name);
}
/* Only allow 3 retries */
void set_domain_offline(struct winbindd_domain *domain);
void set_domain_online_request(struct winbindd_domain *domain);
-void winbind_add_failed_connection_entry(
- const struct winbindd_domain *domain,
- const char *server,
- NTSTATUS result);
struct ndr_interface_table;
NTSTATUS wb_open_internal_pipe(TALLOC_CTX *mem_ctx,