mirror of
https://github.com/samba-team/samba.git
synced 2025-03-12 20:58:37 +03:00
s3:winbindd: make "smbcontrol winbindd validate-cache" reliable again
commit 73577205cf81644e7fe853eaf3e6459f7f443096 (s3:winbindd: fix problems with SIGCHLD handling (bug #7317)) broke this. metze
This commit is contained in:
parent
e2aec9d81f
commit
eb9b7d0363
@ -426,6 +426,9 @@ static void winbind_msg_validate_cache(struct messaging_context *msg_ctx,
|
||||
_exit(0);
|
||||
}
|
||||
|
||||
/* install default SIGCHLD handler: validation code uses fork/waitpid */
|
||||
CatchSignal(SIGCHLD, SIG_DFL);
|
||||
|
||||
ret = (uint8)winbindd_validate_cache_nobackup();
|
||||
DEBUG(10, ("winbindd_msg_validata_cache: got return value %d\n", ret));
|
||||
messaging_send_buf(msg_ctx, server_id, MSG_WINBIND_VALIDATE_CACHE, &ret,
|
||||
|
Loading…
x
Reference in New Issue
Block a user