auth: add auth_user_info_copy() function
[samba.git] / auth / auth_sam_reply.h
index 4aa3096c8896c9b8d25f0cfaa60e61b7d0029fa3..e4b26e961d7ef173a23201dc11c0928814b851a5 100644 (file)
@@ -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);