git.samba.org
/
ira
/
wip.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(from parent 1:
0606c95
)
r16749: BUG 3905: don't fail in create_local_nt_token() when a
author
Gerald Carter
<jerry@samba.org>
Sat, 1 Jul 2006 17:55:07 +0000
(17:55 +0000)
committer
Gerald (Jerry) Carter
<jerry@samba.org>
Wed, 10 Oct 2007 16:19:09 +0000
(11:19 -0500)
checking for the builtin Administrators group membership.
security = server has no domain info in secrets.tdb
source/auth/auth_util.c
patch
|
blob
|
history
diff --git
a/source/auth/auth_util.c
b/source/auth/auth_util.c
index 0401e02b7d4c891067c37c454ed8aa3d95d76eff..df4a4e1b3887b9935effae57130a540a78b1dc4f 100644
(file)
--- 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)));
}
}
}