From aa1a3cbad2ed62d5b59c48a6e7726eef4776f461 Mon Sep 17 00:00:00 2001 From: Simo Sorce Date: Fri, 28 May 2010 16:16:53 -0400 Subject: s3:auth create nt token from info3 directly Signed-off-by: Andrew Bartlett --- source3/include/proto.h | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'source3/include') diff --git a/source3/include/proto.h b/source3/include/proto.h index 9a53749646..393e7e277c 100644 --- a/source3/include/proto.h +++ b/source3/include/proto.h @@ -263,6 +263,11 @@ struct nt_user_token *create_local_nt_token(TALLOC_CTX *mem_ctx, bool is_guest, int num_groupsids, 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, + struct nt_user_token **ntok); void debug_nt_user_token(int dbg_class, int dbg_lev, NT_USER_TOKEN *token); void debug_unix_user_token(int dbg_class, int dbg_lev, uid_t uid, gid_t gid, int n_groups, gid_t *groups); -- cgit