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 c782c1c..5481eb2 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);
+
+/* 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)
 
index a61bc37..2026153 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',
-                  autoproto='auth_sam_reply.h',
                   private_library=True
                   )