From 9d0ccba34c645de612821c929f56b44f74c88c71 Mon Sep 17 00:00:00 2001 From: Gerald Carter Date: Sat, 1 Jul 2006 17:55:07 +0000 Subject: 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 (This used to be commit fa477969fbbcd9f707461a2d9015bebf719ddfbb) --- source3/auth/auth_util.c | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) (limited to 'source3') diff --git a/source3/auth/auth_util.c b/source3/auth/auth_util.c index 0401e02b7d..df4a4e1b38 100644 --- a/source3/auth/auth_util.c +++ b/source3/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))); } } } -- cgit