summaryrefslogtreecommitdiff
path: root/auth/auth_sam_reply.h
diff options
context:
space:
mode:
authorStefan Metzmacher <metze@samba.org>2018-03-06 16:38:10 +0100
committerStefan Metzmacher <metze@samba.org>2018-03-20 21:28:30 +0100
commitdf9ae9d72560578d0000a4083bd2ba3bf5cbd910 (patch)
tree6a48262bf7c65e393cec21fd00fdc411f7449c53 /auth/auth_sam_reply.h
parent05fad286f1c1f4e9fdfb1797cdfc6bf23d6c4a25 (diff)
downloadsamba-df9ae9d72560578d0000a4083bd2ba3bf5cbd910.tar.gz
auth: add auth_user_info_copy() function
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 6ff891195855403bc485725aef8d43d4e3cabacb)
Diffstat (limited to 'auth/auth_sam_reply.h')
-rw-r--r--auth/auth_sam_reply.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/auth/auth_sam_reply.h b/auth/auth_sam_reply.h
index 4aa3096c889..e4b26e961d7 100644
--- a/auth/auth_sam_reply.h
+++ b/auth/auth_sam_reply.h
@@ -38,6 +38,9 @@ NTSTATUS make_user_info_SamBaseInfo(TALLOC_CTX *mem_ctx,
bool authenticated,
struct auth_user_info **_user_info);
+struct auth_user_info *auth_user_info_copy(TALLOC_CTX *mem_ctx,
+ const struct auth_user_info *src);
+
NTSTATUS auth_convert_user_info_dc_saminfo6(TALLOC_CTX *mem_ctx,
const struct auth_user_info_dc *user_info_dc,
struct netr_SamInfo6 **_sam6);