[SCM] Samba Shared Repository - branch master updated

Stefan Metzmacher metze at samba.org
Thu Apr 8 04:58:49 MDT 2010


The branch, master has been updated
       via  eb9b7d0... s3:winbindd: make "smbcontrol winbindd validate-cache" reliable again
      from  e2aec9d... s4:registry - "patchfile_preg.c" - fix the read operation of the data length on big-endian platforms

http://gitweb.samba.org/?p=samba.git;a=shortlog;h=master


- Log -----------------------------------------------------------------
commit eb9b7d0363669574de8ec380089407890f15eac2
Author: Stefan Metzmacher <metze at samba.org>
Date:   Thu Apr 8 12:45:54 2010 +0200

    s3:winbindd: make "smbcontrol winbindd validate-cache" reliable again
    
    commit 73577205cf81644e7fe853eaf3e6459f7f443096
    (s3:winbindd: fix problems with SIGCHLD handling (bug #7317))
    broke this.
    
    metze

-----------------------------------------------------------------------

Summary of changes:
 source3/winbindd/winbindd.c |    3 +++
 1 files changed, 3 insertions(+), 0 deletions(-)


Changeset truncated at 500 lines:

diff --git a/source3/winbindd/winbindd.c b/source3/winbindd/winbindd.c
index ab70116..a7f3a60 100644
--- a/source3/winbindd/winbindd.c
+++ b/source3/winbindd/winbindd.c
@@ -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,


-- 
Samba Shared Repository


More information about the samba-cvs mailing list