summaryrefslogtreecommitdiff
path: root/source3/include/proto.h
diff options
context:
space:
mode:
authorSimo Sorce <ssorce@redhat.com>2010-05-28 16:16:53 -0400
committerAndrew Bartlett <abartlet@samba.org>2010-06-07 22:53:07 +1000
commitaa1a3cbad2ed62d5b59c48a6e7726eef4776f461 (patch)
tree987894b17021900376d04441154f99007c472e48 /source3/include/proto.h
parente6456df1489ec964445dfd6f009f9f75377b3d11 (diff)
downloadsamba-aa1a3cbad2ed62d5b59c48a6e7726eef4776f461.tar.gz
samba-aa1a3cbad2ed62d5b59c48a6e7726eef4776f461.tar.bz2
samba-aa1a3cbad2ed62d5b59c48a6e7726eef4776f461.zip
s3:auth create nt token from info3 directly
Signed-off-by: Andrew Bartlett <abartlet@samba.org>
Diffstat (limited to 'source3/include/proto.h')
-rw-r--r--source3/include/proto.h5
1 files changed, 5 insertions, 0 deletions
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);