summaryrefslogtreecommitdiff
path: root/source3/auth
diff options
context:
space:
mode:
authorStefan Metzmacher <metze@samba.org>2018-03-06 23:45:30 +0100
committerStefan Metzmacher <metze@samba.org>2018-03-20 17:13:08 +0100
commit8b5253e5d4c79265a9c35955f83407a0c11a76d1 (patch)
tree3f67e7b13d673a038e73b1cc171df6ba87cc5e78 /source3/auth
parent627a86bf2d516e256701f50473d0cdfd15d7eecc (diff)
downloadsamba-8b5253e5d4c79265a9c35955f83407a0c11a76d1.tar.gz
s3:auth: remove static from finalize_local_nt_token()
BUG: https://bugzilla.samba.org/show_bug.cgi?id=13328 Signed-off-by: Stefan Metzmacher <metze@samba.org> Reviewed-by: Ralph Boehme <slow@samba.org> (cherry picked from commit 7f47f9e1f220d2dd547cf77bbc292357a2173870)
Diffstat (limited to 'source3/auth')
-rw-r--r--source3/auth/proto.h2
-rw-r--r--source3/auth/token_util.c6
2 files changed, 4 insertions, 4 deletions
diff --git a/source3/auth/proto.h b/source3/auth/proto.h
index 3942815e467..d3403f1a929 100644
--- a/source3/auth/proto.h
+++ b/source3/auth/proto.h
@@ -359,6 +359,8 @@ struct security_token *create_local_nt_token(TALLOC_CTX *mem_ctx,
bool is_guest,
int num_groupsids,
const struct dom_sid *groupsids);
+NTSTATUS finalize_local_nt_token(struct security_token *result,
+ uint32_t session_info_flags);
NTSTATUS get_user_sid_info3_and_extra(const struct netr_SamInfo3 *info3,
const struct extra_auth_info *extra,
struct dom_sid *sid);
diff --git a/source3/auth/token_util.c b/source3/auth/token_util.c
index acb916ab55c..f015f8d2cd5 100644
--- a/source3/auth/token_util.c
+++ b/source3/auth/token_util.c
@@ -281,8 +281,6 @@ static NTSTATUS add_builtin_guests(struct security_token *token,
static NTSTATUS add_local_groups(struct security_token *result,
bool is_guest);
-static NTSTATUS finalize_local_nt_token(struct security_token *result,
- uint32_t session_info_flags);
NTSTATUS get_user_sid_info3_and_extra(const struct netr_SamInfo3 *info3,
const struct extra_auth_info *extra,
@@ -616,8 +614,8 @@ static NTSTATUS add_local_groups(struct security_token *result,
return NT_STATUS_OK;
}
-static NTSTATUS finalize_local_nt_token(struct security_token *result,
- uint32_t session_info_flags)
+NTSTATUS finalize_local_nt_token(struct security_token *result,
+ uint32_t session_info_flags)
{
struct dom_sid _dom_sid = { 0, };
struct dom_sid *domain_sid = NULL;