[patch] smbcontrol winbinnd
Alexander Bokovoy
ab at samba.org
Fri Apr 21 03:49:18 GMT 2006
Max N. Boyarov пишет:
> Hi
>
> This patch fix situation when the smbcontrol winbindd shutdown command
> killing smbd and add a debug message.
> Situation can be reprodused if winbindd already has stopped.
>
>
>
> ------------------------------------------------------------------------
>
> --- samba3-svn.orig/samba3/source/utils/smbcontrol.c Thu Apr 20 16:00:47 2006
> +++ samba3-svn/samba3/source/utils/smbcontrol.c Thu Apr 20 16:36:53 2006
> @@ -846,7 +846,7 @@
>
> static struct process_id parse_dest(const char *dest)
> {
> - struct process_id result;
> + struct process_id result = { -1 };
> pid_t pid;
>
> /* Zero is a special return value for broadcast smbd */
> @@ -905,7 +905,7 @@
> }
>
Committed. Thank you.
--
/ Alexander Bokovoy
Samba Team http://www.samba.org/
ALT Linux Team http://www.altlinux.org/
Midgard Project Ry http://www.midgard-project.org/
More information about the samba-technical
mailing list