aboutsummaryrefslogtreecommitdiffstats
path: root/testing/openvas-smb/fix-missing-includes-path.patch
blob: 3d634f15cb66b3ff761a0386354bdba5ebc87ece (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
diff --git a/samba/auth/auth_util.c b/samba/auth/auth_util.c
index b1e1672..7068cdf 100644
--- a/samba/auth/auth_util.c
+++ b/samba/auth/auth_util.c
@@ -23,7 +23,7 @@
 */
 
 #include "includes.h"
-#include <heimdal/gssapi/gssapi.h>
+#include <gssapi/gssapi.h>
 #include "auth/auth.h"
 #include "libcli/security/security.h"
 #include "libcli/auth/libcli_auth.h"
diff --git a/samba/auth/credentials/credentials_krb5.h b/samba/auth/credentials/credentials_krb5.h
index a7a05d2..4a23954 100644
--- a/samba/auth/credentials/credentials_krb5.h
+++ b/samba/auth/credentials/credentials_krb5.h
@@ -21,7 +21,7 @@
    Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
 */
 
-#include <heimdal/gssapi/gssapi.h>
+#include <gssapi/gssapi.h>
 
 struct ccache_container;
 
diff --git a/samba/lib/replace/system/kerberos.h b/samba/lib/replace/system/kerberos.h
index 496eec9..88d1d99 100644
--- a/samba/lib/replace/system/kerberos.h
+++ b/samba/lib/replace/system/kerberos.h
@@ -125,7 +125,7 @@
 /* Whether krb5_princ_realm returns krb5_realm or krb5_data */
 #define KRB5_PRINC_REALM_RETURNS_REALM 1
 
-#include <heimdal/krb5.h>
+#include <krb5.h>
 #include <com_err.h>
 #endif
 
diff --git a/samba/auth/kerberos/krb5_init_context.h b/samba/auth/kerberos/krb5_init_context.h
index 4b7cc3a..d318149 100644
--- a/samba/auth/kerberos/krb5_init_context.h
+++ b/samba/auth/kerberos/krb5_init_context.h
@@ -17,7 +17,7 @@
    along with this program; if not, write to the Free Software
    Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
 */
-#include <heimdal/krb5.h>
+#include <krb5.h>
 
 struct smb_krb5_context {
 	struct krb5_context_data *krb5_context;

diff --git a/samba/include/config.h b/samba/include/config.h
index a555fbb..b99c4d5 100644
--- a/samba/include/config.h
+++ b/samba/include/config.h
@@ -454,7 +454,7 @@
 /* #undef HAVE_NSS_COMMON_H */
 
 /* Define to 1 if you have the <nss.h> header file. */
-#define HAVE_NSS_H 1
+#define HAVE_NSS_H 0
 
 /* Define to 1 if you have the <ns_api.h> header file. */
 /* #undef HAVE_NS_API_H */
diff --git a/samba/auth/gensec/gensec_gssapi.c b/samba/auth/gensec/gensec_gssapi.c
index 5f92e78..daecb7a 100644
--- a/samba/auth/gensec/gensec_gssapi.c
+++ b/samba/auth/gensec/gensec_gssapi.c
@@ -23,7 +23,7 @@
 */
 
 #include "includes.h"
-#include <heimdal/gssapi/gssapi_krb5.h>
+#include <gssapi/gssapi_krb5.h>
 #include "system/kerberos.h"
 #include <heimdal/gssapi/gssapi.h>
 #include "auth/kerberos/kerberos.h"
diff --git a/samba/auth/gensec/gensec_gssapi.c b/samba/auth/gensec/gensec_gssapi.c
index daecb7a..0139f8d 100644
--- a/samba/auth/gensec/gensec_gssapi.c
+++ b/samba/auth/gensec/gensec_gssapi.c
@@ -25,7 +25,7 @@
 #include "includes.h"
 #include <gssapi/gssapi_krb5.h>
 #include "system/kerberos.h"
-#include <heimdal/gssapi/gssapi.h>
+#include <gssapi/gssapi.h>
 #include "auth/kerberos/kerberos.h"
 #include "librpc/gen_ndr/krb5pac.h"
 #include "auth/auth.h"
diff --git a/samba/auth/kerberos/kerberos.c b/samba/auth/kerberos/kerberos.c
index 1f190c1..37a9773 100644
--- a/samba/auth/kerberos/kerberos.c
+++ b/samba/auth/kerberos/kerberos.c
@@ -24,7 +24,7 @@
 
 #include "includes.h"
 #include "system/kerberos.h"
-#include <heimdal/roken.h>
+#include <roken.h>
 
 #ifdef HAVE_KRB5
 
diff --git a/samba/auth/kerberos/krb5_init_context.c b/samba/auth/kerberos/krb5_init_context.c
index f7230e4..20d65c6 100644
--- a/samba/auth/kerberos/krb5_init_context.c
+++ b/samba/auth/kerberos/krb5_init_context.c
@@ -27,9 +27,9 @@
 #include "lib/socket/socket.h"
 #include "system/network.h"
 #include "lib/events/events.h"
-#include <heimdal/roken.h>
+#include <roken.h>
 
-#include <heimdal/krb5.h>
+#include <krb5.h>
 
 /*
   context structure for operations on cldap packets
diff --git a/samba/dsdb/samdb/ldb_modules/password_hash.c b/samba/dsdb/samdb/ldb_modules/password_hash.c
index 26101b9..3467d8e 100644
--- a/samba/dsdb/samdb/ldb_modules/password_hash.c
+++ b/samba/dsdb/samdb/ldb_modules/password_hash.c
@@ -43,7 +43,7 @@
 #include "system/time.h"
 #include "dsdb/samdb/samdb.h"
 #include "dsdb/common/flags.h"
-#include <heimdal/hdb.h>
+#include <hdb.h>
 #include "dsdb/samdb/ldb_modules/password_modules.h"
 
 /* If we have decided there is reason to work on this request, then
diff --git a/winexe/winexe.c b/winexe/winexe.c
index 25eecb2..075442b 100644
--- a/winexe/winexe.c
+++ b/winexe/winexe.c
@@ -6,7 +6,7 @@
 #include "includes.h"
 
 #include <sys/fcntl.h>
-#include <sys/unistd.h>
+#include <unistd.h>
 #include <sys/termios.h>
 #include <signal.h>
 #include <stdint.h>
diff --git a/winexe/wincmd.c b/winexe/wincmd.c
index df61593..0bdf9ff 100644
--- a/winexe/wincmd.c
+++ b/winexe/wincmd.c
@@ -47,7 +47,7 @@
 #include <glib.h> /* for g_malloc0 */
 
 #include <sys/fcntl.h>
-#include <sys/unistd.h>
+#include <unistd.h>
 #include <sys/termios.h>
 #include <signal.h>