auth: avoid overwriting the auth_sam_reply.h header all the time.
authorGünther Deschner <gd@samba.org>
Sat, 10 May 2014 01:03:13 +0000 (03:03 +0200)
committerGünther Deschner <gd@samba.org>
Mon, 12 May 2014 15:49:46 +0000 (17:49 +0200)
Guenther

Signed-off-by: Günther Deschner <gd@samba.org>
Reviewed-by: Andreas Schneider <asn@samba.org>
Autobuild-User(master): Günther Deschner <gd@samba.org>
Autobuild-Date(master): Mon May 12 17:49:46 CEST 2014 on sn-devel-104

auth/auth_sam_reply.h
auth/wscript_build

index c782c1c5cc21ad2edb18df7d1bf001e5ce4f6d4e..5481eb26e878c8729b3eed9151b60e59e363026a 100644 (file)
@@ -61,6 +61,14 @@ NTSTATUS make_user_info_dc_netlogon_validation(TALLOC_CTX *mem_ctx,
 NTSTATUS make_user_info_dc_pac(TALLOC_CTX *mem_ctx,
                              struct PAC_LOGON_INFO *pac_logon_info,
                              struct auth_user_info_dc **_user_info_dc);
 NTSTATUS make_user_info_dc_pac(TALLOC_CTX *mem_ctx,
                              struct PAC_LOGON_INFO *pac_logon_info,
                              struct auth_user_info_dc **_user_info_dc);
+
+/* The following definitions come from auth/wbc_auth_util.c  */
+
+struct wbcAuthUserInfo;
+
+struct netr_SamInfo3 *wbcAuthUserInfo_to_netr_SamInfo3(TALLOC_CTX *mem_ctx,
+                                                      const struct wbcAuthUserInfo *info);
+
 #undef _PRINTF_ATTRIBUTE
 #define _PRINTF_ATTRIBUTE(a1, a2)
 
 #undef _PRINTF_ATTRIBUTE
 #define _PRINTF_ATTRIBUTE(a1, a2)
 
index a61bc378af768f7c227b4cdf179796699dd8d1cc..20261537fbd755c835c2972d72de5b8ed97d682b 100644 (file)
@@ -3,7 +3,6 @@
 bld.SAMBA_LIBRARY('auth_sam_reply',
                   source='auth_sam_reply.c wbc_auth_util.c',
                   deps='talloc samba-security samba-util',
 bld.SAMBA_LIBRARY('auth_sam_reply',
                   source='auth_sam_reply.c wbc_auth_util.c',
                   deps='talloc samba-security samba-util',
-                  autoproto='auth_sam_reply.h',
                   private_library=True
                   )
 
                   private_library=True
                   )