From 0cf0d51f29dedc6ce3ee9866a2b228b7e33ad230 Mon Sep 17 00:00:00 2001 From: Gerald Carter Date: Sat, 1 Jul 2006 17:56:32 +0000 Subject: [PATCH] r16750: merge fix for BUG 3905 --- WHATSNEW.txt | 2 ++ source/auth/auth_util.c | 7 ++++--- 2 files changed, 6 insertions(+), 3 deletions(-) diff --git a/WHATSNEW.txt b/WHATSNEW.txt index f69e950ddb0..bfd86802f22 100644 --- a/WHATSNEW.txt +++ b/WHATSNEW.txt @@ -176,6 +176,8 @@ o Gerald (Jerry) Carter * Fix a crash in the printer publishing code when adding a new printer via the APW. * Fix broken compile of unsupported smbwrapper utility. + * BUG 3905: Fix smbd startup failure caused by a failure to + create an NT token for the guest account. o Guenther Deschner diff --git a/source/auth/auth_util.c b/source/auth/auth_util.c index 0401e02b7d4..df4a4e1b388 100644 --- a/source/auth/auth_util.c +++ b/source/auth/auth_util.c @@ -876,9 +876,10 @@ static struct nt_user_token *create_local_nt_token(TALLOC_CTX *mem_ctx, } else { status = add_builtin_administrators( tmp_ctx, result ); - if ( !NT_STATUS_IS_OK(status) ) { - result = NULL; - goto done; + if ( !NT_STATUS_IS_OK(status) ) { + /* just log a complaint but do not fail */ + DEBUG(3,("create_local_nt_token: failed to check for local Administrators" + " membership (%s)\n", nt_errstr(status))); } } } -- 2.11.4.GIT