summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGünther Deschner <gd@samba.org>2014-05-10 03:03:13 +0200
committerGünther Deschner <gd@samba.org>2014-05-12 17:49:46 +0200
commit360ca8e017c7d40e3cc00194d6f771c7876f1067 (patch)
tree6d40cb062ff4a6de237244b7da9192562aa09f78
parentcf75ef9f73f2cdbf2a039bbc9468f5da6a14834e (diff)
downloadsamba-360ca8e017c7d40e3cc00194d6f771c7876f1067.tar.gz
samba-360ca8e017c7d40e3cc00194d6f771c7876f1067.tar.xz
samba-360ca8e017c7d40e3cc00194d6f771c7876f1067.zip
auth: avoid overwriting the auth_sam_reply.h header all the time.
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
-rw-r--r--auth/auth_sam_reply.h8
-rw-r--r--auth/wscript_build1
2 files changed, 8 insertions, 1 deletions
diff --git a/auth/auth_sam_reply.h b/auth/auth_sam_reply.h
index c782c1c5cc..5481eb26e8 100644
--- a/auth/auth_sam_reply.h
+++ b/auth/auth_sam_reply.h
@@ -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)
diff --git a/auth/wscript_build b/auth/wscript_build
index a61bc378af..20261537fb 100644
--- a/auth/wscript_build
+++ b/auth/wscript_build
@@ -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
)