summaryrefslogtreecommitdiff
path: root/source4/dsdb/samdb/ldb_modules/wscript_build
blob: abac6f498ba2c72e3b2e0f66eaa802937d7cdcae (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
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
#!/usr/bin/env python

bld.SAMBA_LIBRARY('DSDB_MODULE',
                  source=[],
                  deps='DSDB_MODULE_HELPERS DSDB_MODULE_HELPER_SCHEMA DSDB_MODULE_HELPER_RIDALLOC',
                  private_library=True,
                  grouping_library=True)

bld.SAMBA_SUBSYSTEM('DSDB_MODULE_HELPERS',
	source='util.c acl_util.c schema_util.c',
	autoproto='util_proto.h',
	deps='ldb LIBNDR SAMDB_COMMON LIBSECURITY_SESSION'
	)

bld.SAMBA_SUBSYSTEM('DSDB_MODULE_HELPER_RIDALLOC',
	source='ridalloc.c',
	autoproto='ridalloc.h',
	deps='MESSAGING',
	)

bld.SAMBA_SUBSYSTEM('DSDB_MODULE_HELPER_SCHEMA',
	source='schema.c',
	autoproto='schema.h',
	deps='SAMDB_SCHEMA'
	)

bld.SAMBA_MODULE('ldb_samba_dsdb',
	source='samba_dsdb.c',
	subsystem='ldb',
	init_function='LDB_MODULE(samba_dsdb)',
	deps='SAMDB talloc LIBEVENTS LIBNDR DSDB_MODULE_HELPERS',
	internal_module=False,
	)


bld.SAMBA_MODULE('ldb_samba_secrets',
	source='samba_secrets.c',
	subsystem='ldb',
	init_function='LDB_MODULE(samba_secrets)',
	internal_module=False,
	deps='SAMDB talloc LIBEVENTS LIBNDR'
	)


bld.SAMBA_MODULE('ldb_objectguid',
	source='objectguid.c',
	subsystem='ldb',
	init_function='LDB_MODULE(objectguid)',
	internal_module=False,
	deps='SAMDB talloc LIBEVENTS LIBNDR'
	)


bld.SAMBA_MODULE('ldb_repl_meta_data',
	source='repl_meta_data.c',
	subsystem='ldb',
	init_function='LDB_MODULE(repl_meta_data)',
	internal_module=False,
	deps='SAMDB talloc LIBEVENTS LIBNDR NDR_DRSUAPI NDR_DRSBLOBS LIBNDR DSDB_MODULE_HELPERS LIBSECURITY_SESSION'
	)


bld.SAMBA_MODULE('ldb_dsdb_cache',
	source='dsdb_cache.c',
	subsystem='ldb',
	init_function='LDB_MODULE(dsdb_cache)',
	internal_module=False,
	deps='SAMDB talloc LIBEVENTS'
	)


bld.SAMBA_MODULE('ldb_schema_load',
	source='schema_load.c',
	subsystem='ldb',
	init_function='LDB_MODULE(schema_load)',
	internal_module=False,
	deps='SAMDB talloc LIBEVENTS DSDB_MODULE_HELPERS'
	)


bld.SAMBA_MODULE('ldb_schema_data',
	source='schema_data.c',
	subsystem='ldb',
	init_function='LDB_MODULE(schema_data)',
	internal_module=False,
	deps='SAMDB talloc LIBEVENTS DSDB_MODULE_HELPERS'
	)


bld.SAMBA_MODULE('ldb_naming_fsmo',
	source='naming_fsmo.c',
	subsystem='ldb',
	init_function='LDB_MODULE(naming_fsmo)',
	internal_module=False,
	deps='SAMDB talloc LIBEVENTS DSDB_MODULE_HELPERS'
	)


bld.SAMBA_MODULE('ldb_pdc_fsmo',
	source='pdc_fsmo.c',
	subsystem='ldb',
	init_function='LDB_MODULE(pdc_fsmo)',
	internal_module=False,
	deps='SAMDB talloc LIBEVENTS DSDB_MODULE_HELPERS'
	)


bld.SAMBA_MODULE('ldb_samldb',
	source='samldb.c',
	subsystem='ldb',
	init_function='LDB_MODULE(samldb)',
	internal_module=False,
	deps='talloc LIBEVENTS SAMDB DSDB_MODULE_HELPERS DSDB_MODULE_HELPER_RIDALLOC'
	)


bld.SAMBA_MODULE('ldb_samba3sam',
	source='samba3sam.c',
	subsystem='ldb',
	init_function='LDB_MODULE(samba3sam)',
	internal_module=False,
	deps='talloc LIBEVENTS ldb SMBPASSWD NSS_WRAPPER LIBSECURITY NDR_SECURITY'
	)


bld.SAMBA_MODULE('ldb_samba3sid',
	source='samba3sid.c',
	subsystem='ldb',
	init_function='LDB_MODULE(samba3sid)',
	internal_module=False,
	deps='talloc LIBEVENTS ldb SMBPASSWD NSS_WRAPPER LIBSECURITY NDR_SECURITY LDBSAMBA DSDB_MODULE_HELPERS'
	)


bld.SAMBA_MODULE('ldb_simple_ldap_map',
	source='simple_ldap_map.c',
	aliases='ldb_entryuuid ldb_nsuniqueid',
	subsystem='ldb',
	init_function='LDB_MODULE(entryuuid),LDB_MODULE(nsuniqueid)',
	internal_module=False,
	deps='talloc LIBEVENTS ldb LIBNDR LDBSAMBA'
	)


bld.SAMBA_MODULE('ldb_rootdse',
	source='rootdse.c',
	subsystem='ldb',
	init_function='LDB_MODULE(rootdse)',
	internal_module=False,
	deps='talloc LIBEVENTS SAMDB MESSAGING LIBSECURITY_SESSION DSDB_MODULE_HELPERS'
	)


bld.SAMBA_MODULE('ldb_password_hash',
	source='password_hash.c',
	subsystem='ldb',
	init_function='LDB_MODULE(password_hash)',
	internal_module=False,
	deps='talloc LIBEVENTS SAMDB LIBCLI_AUTH NDR_DRSBLOBS KERBEROS hdb krb5 com_err'
	)


bld.SAMBA_MODULE('ldb_local_password',
	source='local_password.c',
	subsystem='ldb',
	init_function='LDB_MODULE(local_password)',
	internal_module=False,
	deps='talloc LIBEVENTS LIBNDR SAMDB'
	)

bld.SAMBA_MODULE('ldb_extended_dn_in',
	source='extended_dn_in.c',
	subsystem='ldb',
	init_function='LDB_MODULE(extended_dn_in)',
	internal_module=False,
	deps='talloc LIBEVENTS LIBSAMBA-UTIL'
	)


bld.SAMBA_MODULE('ldb_extended_dn_out',
	source='extended_dn_out.c',
	aliases='ldb_extended_dn_out_ldb ldb_extended_dn_out_openldap ldb_extended_dn_out_fds',
	subsystem='ldb',
	deps='talloc LIBEVENTS LIBNDR LIBSAMBA-UTIL SAMDB',
	internal_module=False,
	init_function='LDB_MODULE(extended_dn_out_ldb),LDB_MODULE(extended_dn_out_openldap),LDB_MODULE(extended_dn_out_fds)'
	)


bld.SAMBA_MODULE('ldb_extended_dn_store',
	source='extended_dn_store.c',
	subsystem='ldb',
	init_function='LDB_MODULE(extended_dn_store)',
	internal_module=False,
	deps='talloc LIBEVENTS LIBSAMBA-UTIL SAMDB DSDB_MODULE_HELPERS'
	)


bld.SAMBA_MODULE('ldb_show_deleted',
	source='show_deleted.c',
	subsystem='ldb',
	init_function='LDB_MODULE(show_deleted)',
	internal_module=False,
	deps='talloc LIBEVENTS LIBSAMBA-UTIL DSDB_MODULE_HELPERS'
	)


bld.SAMBA_MODULE('ldb_partition',
	source='partition.c partition_init.c',
	autoproto='partition_proto.h',
	subsystem='ldb',
	init_function='LDB_MODULE(partition)',
	internal_module=False,
	deps='talloc LIBEVENTS SAMDB DSDB_MODULE_HELPERS'
	)


bld.SAMBA_MODULE('ldb_new_partition',
	source='new_partition.c',
	subsystem='ldb',
	init_function='LDB_MODULE(new_partition)',
	internal_module=False,
	deps='talloc LIBEVENTS SAMDB DSDB_MODULE_HELPERS'
	)


bld.SAMBA_MODULE('ldb_update_keytab',
	source='update_keytab.c',
	subsystem='ldb',
	init_function='LDB_MODULE(update_keytab)',
	internal_module=False,
	deps='talloc LIBEVENTS CREDENTIALS ldb com_err KERBEROS_UTIL'
	)


bld.SAMBA_MODULE('ldb_objectclass',
	source='objectclass.c',
	subsystem='ldb',
	init_function='LDB_MODULE(objectclass)',
	internal_module=False,
	deps='talloc LIBEVENTS LIBSECURITY NDR_SECURITY SAMDB DSDB_MODULE_HELPERS LIBSAMBA-UTIL DSDB_MODULE_HELPER_SCHEMA'
	)


bld.SAMBA_MODULE('ldb_objectclass_attrs',
	source='objectclass_attrs.c',
	subsystem='ldb',
	init_function='LDB_MODULE(objectclass_attrs)',
	deps='talloc SAMDB LIBSAMBA-UTIL',
	internal_module=False,
	)


bld.SAMBA_MODULE('ldb_subtree_rename',
	source='subtree_rename.c',
	subsystem='ldb',
	init_function='LDB_MODULE(subtree_rename)',
	internal_module=False,
	deps='talloc LIBEVENTS LIBSAMBA-UTIL ldb SAMDB_COMMON'
	)


bld.SAMBA_MODULE('ldb_subtree_delete',
	source='subtree_delete.c',
	subsystem='ldb',
	init_function='LDB_MODULE(subtree_delete)',
	internal_module=False,
	deps='talloc LIBEVENTS LIBSAMBA-UTIL DSDB_MODULE_HELPERS'
	)


bld.SAMBA_MODULE('ldb_linked_attributes',
	source='linked_attributes.c',
	subsystem='ldb',
	init_function='LDB_MODULE(linked_attributes)',
	internal_module=False,
	deps='talloc LIBEVENTS SAMDB DSDB_MODULE_HELPERS'
	)


bld.SAMBA_MODULE('ldb_ranged_results',
	source='ranged_results.c',
	subsystem='ldb',
	init_function='LDB_MODULE(ranged_results)',
	internal_module=False,
	deps='talloc LIBEVENTS LIBSAMBA-UTIL ldb'
	)


bld.SAMBA_MODULE('ldb_anr',
	source='anr.c',
	subsystem='ldb',
	init_function='LDB_MODULE(anr)',
	internal_module=False,
	deps='talloc LIBEVENTS LIBSAMBA-UTIL SAMDB'
	)


bld.SAMBA_MODULE('ldb_instancetype',
	source='instancetype.c',
	subsystem='ldb',
	init_function='LDB_MODULE(instancetype)',
	internal_module=False,
	deps='talloc LIBEVENTS LIBSAMBA-UTIL SAMDB DSDB_MODULE_HELPERS'
	)


bld.SAMBA_MODULE('ldb_operational',
	source='operational.c',
	subsystem='ldb',
	init_function='LDB_MODULE(operational)',
	internal_module=False,
	deps='talloc tevent LIBSAMBA-UTIL SAMDB_COMMON DSDB_MODULE_HELPERS auth auth_session'
	)


bld.SAMBA_MODULE('ldb_descriptor',
	source='descriptor.c',
	subsystem='ldb',
	init_function='LDB_MODULE(descriptor)',
	internal_module=False,
	deps='talloc LIBEVENTS LIBSECURITY NDR_SECURITY SAMDB DSDB_MODULE_HELPERS DSDB_MODULE_HELPER_SCHEMA'
	)


bld.SAMBA_MODULE('ldb_resolve_oids',
	source='resolve_oids.c',
	subsystem='ldb',
	init_function='LDB_MODULE(resolve_oids)',
	internal_module=False,
	deps='SAMDB talloc LIBEVENTS LIBNDR'
	)


bld.SAMBA_MODULE('ldb_acl',
	source='acl.c',
	subsystem='ldb',
	init_function='LDB_MODULE(acl)',
	internal_module=False,
	deps='talloc LIBEVENTS LIBSECURITY SAMDB DSDB_MODULE_HELPERS DSDB_MODULE_HELPER_SCHEMA'
	)


bld.SAMBA_MODULE('ldb_lazy_commit',
	source='lazy_commit.c',
	subsystem='ldb',
	internal_module=False,
	init_function='LDB_MODULE(lazy_commit)',
	deps='SAMDB DSDB_MODULE_HELPERS'
	)

bld.SAMBA_MODULE('ldb_aclread',
	source='acl_read.c',
	subsystem='ldb',
	init_function='LDB_MODULE(aclread)',
	internal_module=False,
	deps='talloc LIBEVENTS LIBSECURITY SAMDB DSDB_MODULE_HELPERS',
	)

bld.SAMBA_MODULE('ldb_simple_dn',
	source='simple_dn.c',
	subsystem='ldb',
	init_function='LDB_MODULE(simple_dn)',
	internal_module=False,
	deps='talloc DSDB_MODULE_HELPERS'
	)