#--- wscript_build_system_heimdal.orig	2017-03-20 13:11:12 -0500
#+++ wscript_build_system_heimdal	2017-03-20 13:06:00 -0500
#@@ -2,3 +2,4 @@
 
# Logs.info("\tSelected system Heimdal build")
# bld.RECURSE('source4/heimdal_build')
#+bld.RECURSE('source4/kdc')
#--- wscript_build_embedded_heimdal.orig	2017-03-20 13:08:27 -0500
#+++ wscript_build_embedded_heimdal	2017-03-20 13:09:39 -0500
#@@ -2,3 +2,4 @@
 
# Logs.info("\tSelected embedded Heimdal build")
# bld.RECURSE('source4/heimdal_build')
#+bld.RECURSE('source4/kdc')
#--- wscript_build.orig	2017-03-20 13:07:54 -0500
#+++ wscript_build	2017-03-20 13:08:01 -0500
#@@ -138,7 +138,6 @@
# bld.RECURSE('libcli/smbreadline')
# if bld.AD_DC_BUILD_IS_ENABLED():
#     bld.RECURSE('source4/setup')
#-    bld.RECURSE('source4/kdc')
# if bld.env.with_ctdb:
#     bld.RECURSE('ctdb')
# bld.RECURSE('source4/scripting')
#--- lib/replace/system/filesys.h.orig	2017-03-20 13:12:12 -0500
#+++ lib/replace/system/filesys.h	2017-03-20 13:12:30 -0500
#@@ -125,7 +125,6 @@
# #if HAVE_ATTR_XATTR_H
# #include <attr/xattr.h>
# #elif HAVE_SYS_XATTR_H
#-#include <sys/xattr.h>
# #endif
 
# #ifdef HAVE_SYS_EA_H
--- source3/winbindd/idmap_ad_nss.c.orig	2017-03-21 11:52:01 -0500
+++ source3/winbindd/idmap_ad_nss.c	2017-03-21 11:53:03 -0500
@@ -34,7 +34,7 @@
 #include "idmap.h"
 #include "../libcli/ldap/ldap_ndr.h"
 #include "../libcli/security/security.h"
-
+#include "../source3/libads/ads_ldap_protos.h"
 #undef DBGC_CLASS
 #define DBGC_CLASS DBGC_IDMAP
 
