From fa477969fbbcd9f707461a2d9015bebf719ddfbb Mon Sep 17 00:00:00 2001 From: Gerald Carter Date: Sat, 1 Jul 2006 17:55:07 +0000 Subject: [PATCH] r16749: BUG 3905: don't fail in create_local_nt_token() when a checking for the builtin Administrators group membership. security = server has no domain info in secrets.tdb --- source/auth/auth_util.c | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) 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.25.1