Skip to content

Commit

Permalink
s3:auth: remove static from finalize_local_nt_token()
Browse files Browse the repository at this point in the history
BUG: https://bugzilla.samba.org/show_bug.cgi?id=13328

Signed-off-by: Stefan Metzmacher <[email protected]>
Reviewed-by: Ralph Boehme <[email protected]>
  • Loading branch information
metze-samba authored and slowfranklin committed Mar 15, 2018
1 parent d3aae5b commit 7f47f9e
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
2 changes: 2 additions & 0 deletions source3/auth/proto.h
Original file line number Diff line number Diff line change
Expand Up @@ -357,6 +357,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);
Expand Down
6 changes: 2 additions & 4 deletions source3/auth/token_util.c
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down Expand Up @@ -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;
Expand Down

0 comments on commit 7f47f9e

Please sign in to comment.