const struct dom_sid *groupsids);
NTSTATUS create_local_nt_token_from_info3(TALLOC_CTX *mem_ctx,
bool is_guest,
- struct netr_SamInfo3 *info3,
- struct extra_auth_info *extra,
+ const struct netr_SamInfo3 *info3,
+ const struct extra_auth_info *extra,
struct security_token **ntok);
void debug_unix_user_token(int dbg_class, int dbg_lev, uid_t uid, gid_t gid,
int n_groups, gid_t *groups);
NTSTATUS create_local_nt_token_from_info3(TALLOC_CTX *mem_ctx,
bool is_guest,
- struct netr_SamInfo3 *info3,
- struct extra_auth_info *extra,
+ const struct netr_SamInfo3 *info3,
+ const struct extra_auth_info *extra,
struct security_token **ntok)
{
struct security_token *usrtok = NULL;