[SCM] Samba Shared Repository - branch v3-2-test updated -
initial-v3-2-unstable-571-gaec5f15
Michael Adam
obnox at samba.org
Mon Dec 10 11:38:28 GMT 2007
The branch, v3-2-test has been updated
via aec5f1512660953168a2c55b2890cd6c076b8a92 (commit)
from f98082ccf048a2de6fea8d922264879305b3d2c8 (commit)
http://gitweb.samba.org/?p=samba.git;a=shortlog;h=v3-2-test
- Log -----------------------------------------------------------------
commit aec5f1512660953168a2c55b2890cd6c076b8a92
Author: Volker Lendecke <vl at samba.org>
Date: Mon Dec 10 11:47:17 2007 +0100
Correctly unbecome_root() on error
-----------------------------------------------------------------------
Summary of changes:
source/auth/token_util.c | 2 ++
1 files changed, 2 insertions(+), 0 deletions(-)
Changeset truncated at 500 lines:
diff --git a/source/auth/token_util.c b/source/auth/token_util.c
index bc6bea5..63672bc 100644
--- a/source/auth/token_util.c
+++ b/source/auth/token_util.c
@@ -395,6 +395,7 @@ struct nt_user_token *create_local_nt_token(TALLOC_CTX *mem_ctx,
status = add_aliases(get_global_sam_sid(), result);
if (!NT_STATUS_IS_OK(status)) {
+ unbecome_root();
TALLOC_FREE(result);
return NULL;
}
@@ -404,6 +405,7 @@ struct nt_user_token *create_local_nt_token(TALLOC_CTX *mem_ctx,
status = add_aliases(&global_sid_Builtin, result);
if (!NT_STATUS_IS_OK(status)) {
+ unbecome_root();
TALLOC_FREE(result);
return NULL;
}
--
Samba Shared Repository
More information about the samba-cvs
mailing list