diff options
author | Gerald Carter <jerry@samba.org> | 2006-07-01 17:56:32 +0000 |
---|---|---|
committer | Gerald Carter <jerry@samba.org> | 2006-07-01 17:56:32 +0000 |
commit | 0cf0d51f29dedc6ce3ee9866a2b228b7e33ad230 (patch) | |
tree | e0d9c195db8270ecda6a72f93641d4b0a39c5de5 /source | |
parent | dde0e6e65e25d3dcbf306b70b871fbbded82a582 (diff) | |
download | samba-0cf0d51f29dedc6ce3ee9866a2b228b7e33ad230.tar.gz samba-0cf0d51f29dedc6ce3ee9866a2b228b7e33ad230.tar.xz samba-0cf0d51f29dedc6ce3ee9866a2b228b7e33ad230.zip |
r16750: merge fix for BUG 3905
Diffstat (limited to 'source')
-rw-r--r-- | source/auth/auth_util.c | 7 |
1 files 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))); } } } |