#include "includes.h"
#include "messages.h"
#include "ntdomain.h"
+#include "passdb.h"
#include "lib/id_cache.h"
DEBUG(0,("reinit_after_fork() failed\n"));
smb_panic("reinit_after_fork() failed");
}
+ initialize_password_db(true, ev_ctx);
lsasd_child_id = child_id;
lsasd_reopen_logs(child_id);
DEBUG(0,("reinit_after_fork() failed\n"));
smb_panic("reinit_after_fork() failed");
}
+ initialize_password_db(true, ev_ctx);
/* save the parent process id so the children can use it later */
parent_id = messaging_server_id(msg_ctx);
nt_errstr(status)));
exit(1);
}
+ initialize_password_db(true, xconn->ev_ctx);
smbd_echo_loop(xconn, listener_pipe[1]);
exit(0);
}
#include "printing.h"
#include "serverid.h"
#include "messages.h"
+#include "passdb.h"
#include "../lib/util/pidfile.h"
#include "smbprofile.h"
#include "libcli/auth/netlogon_creds_cli.h"
struct tevent_context *ev_ctx,
bool parent_longlived, const char *comment)
{
+ NTSTATUS ret;
am_parent = NULL;
- return reinit_after_fork(msg_ctx, ev_ctx, parent_longlived, comment);
+ ret = reinit_after_fork(msg_ctx, ev_ctx, parent_longlived, comment);
+ initialize_password_db(true, ev_ctx);
+ return ret;
}
#include "lib/async_req/async_sock.h"
#include "libsmb/samlogon_cache.h"
#include "libcli/auth/netlogon_creds_cli.h"
+#include "passdb.h"
#undef DBGC_CLASS
#define DBGC_CLASS DBGC_WINBIND
if (!NT_STATUS_IS_OK(status)) {
exit_daemon("Winbindd reinit_after_fork() failed", map_errno_from_nt_status(status));
}
+ initialize_password_db(true, server_event_context());
/*
* Do not initialize the parent-child-pipe before becoming
#include "lib/param/loadparm.h"
#include "lib/util/sys_rw.h"
#include "lib/util/sys_rw_data.h"
+#include "passdb.h"
#undef DBGC_CLASS
#define DBGC_CLASS DBGC_WINBIND
DEBUG(0,("reinit_after_fork() failed\n"));
return status;
}
+ initialize_password_db(true, server_event_context());
close_conns_after_fork();