[PATCH] bad log message fix from netgear.

Michael Adam obnox at samba.org
Fri Aug 8 14:22:33 MDT 2014


pushed to autobuild!

On 2014-08-08 at 12:23 -0700, Jeremy Allison wrote:
>  From Justin @ Netgear:
> 
> Hi Jeremy,
> 
> I just ran across a bad log message this morning.  Patch attached.
> 
> -Justin
> -------------------------------------------------------
> 
> Reviewed-by: Jeremy Allison <jra at samba.org>.
> 
> Can I get a second Team reviewer ?
> 
> Thanks,
> 
> 	Jeremy.

> From eadc7bd843f4e7c07daa2e5b4b097645b699d9e2 Mon Sep 17 00:00:00 2001
> From: Justin Maggard <jmaggard at netgear.com>
> Date: Fri, 8 Aug 2014 10:19:41 -0700
> Subject: [PATCH] passdb: add missing newline to debug message in
>  get_primary_group_sid()
> 
> Signed-off-by: Justin Maggard <jmaggard at netgear.com>
> Reviewed-by: Jeremy Allison <jra at samba.org>
> ---
>  source3/passdb/lookup_sid.c | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
> 
> diff --git a/source3/passdb/lookup_sid.c b/source3/passdb/lookup_sid.c
> index 5f24d78..d541719 100644
> --- a/source3/passdb/lookup_sid.c
> +++ b/source3/passdb/lookup_sid.c
> @@ -1491,7 +1491,7 @@ NTSTATUS get_primary_group_sid(TALLOC_CTX *mem_ctx,
>  	if (!pwd) {
>  		pwd = Get_Pwnam_alloc(mem_ctx, username);
>  		if (!pwd) {
> -			DEBUG(0, ("Failed to find a Unix account for %s",
> +			DEBUG(0, ("Failed to find a Unix account for %s\n",
>  				  username));
>  			TALLOC_FREE(tmp_ctx);
>  			return NT_STATUS_NO_SUCH_USER;
> -- 
> 1.9.1
> 

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 198 bytes
Desc: Digital signature
URL: <http://lists.samba.org/pipermail/samba-technical/attachments/20140808/60123755/attachment.pgp>


More information about the samba-technical mailing list