summaryrefslogtreecommitdiff
path: root/source3
diff options
context:
space:
mode:
authorGerald Carter <jerry@samba.org>2006-07-01 17:55:07 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 11:19:09 -0500
commit9d0ccba34c645de612821c929f56b44f74c88c71 (patch)
tree73e23706a9c9d8b12e15eb744361ec3b9fcc7123 /source3
parentacebbb7cd98b55d913caeb78341cf84dfa7d9c81 (diff)
downloadsamba-9d0ccba34c645de612821c929f56b44f74c88c71.tar.gz
samba-9d0ccba34c645de612821c929f56b44f74c88c71.tar.bz2
samba-9d0ccba34c645de612821c929f56b44f74c88c71.zip
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)
Diffstat (limited to 'source3')
-rw-r--r--source3/auth/auth_util.c7
1 files changed, 4 insertions, 3 deletions
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)));
}
}
}