3 bld
.SAMBA3_SUBSYSTEM('PASSWD_UTIL',
4 source
='passwd_util.c',
7 bld
.SAMBA3_SUBSYSTEM('CONN_TDB',
10 bld
.SAMBA3_SUBSYSTEM('DNS_UTIL',
11 source
='net_dns.c net_ads_join_dns.c',
14 bld
.SAMBA3_BINARY('profiles',
22 bld
.SAMBA3_BINARY('smbcontrol',
23 source
='smbcontrol.c',
31 bld
.SAMBA3_BINARY('smbtree',
41 bld
.SAMBA3_BINARY('smbpasswd',
52 bld
.SAMBA3_BINARY('pdbedit',
62 bld
.SAMBA3_BINARY('smbget',
69 bld
.SAMBA3_BINARY('nmblookup',
77 bld
.SAMBA3_BINARY('smbcacls',
78 source
='smbcacls.c ../lib/util_sd.c',
86 bld
.SAMBA3_BINARY('smbcquotas',
87 source
='smbcquotas.c',
95 bld
.SAMBA3_BINARY('eventlogadm',
96 source
='eventlogadm.c',
102 install_path
='${SBINDIR}')
104 bld
.SAMBA3_BINARY('sharesec',
105 source
='sharesec.c ../lib/util_sd.c',
114 bld
.SAMBA3_BINARY('log2pcap',
115 source
='log2pcaphex.c',
116 deps
='''talloc popt''',
119 bld
.SAMBA3_BINARY('smbfilter',
120 source
='smbfilter.c',
127 bld
.SAMBA3_BINARY('ntlm_auth',
128 source
='''ntlm_auth.c ntlm_auth_diagnostics.c''',
139 bld
.SAMBA3_BINARY('dbwrap_tool',
140 source
='dbwrap_tool.c',
147 bld
.SAMBA3_BINARY('dbwrap_torture',
148 source
='dbwrap_torture.c',
156 bld
.SAMBA3_BINARY('split_tokens',
157 source
='split_tokens.c',
165 bld
.SAMBA3_BINARY('samba-regedit',
166 source
="""regedit.c regedit_samba3.c
167 regedit_wrap.c regedit_treeview.c
168 regedit_valuelist.c regedit_dialog.c
169 regedit_hexedit.c regedit_list.c""",
179 enabled
=bld
.env
.build_regedit
)
181 bld
.SAMBA3_BINARY('testparm',
191 bld
.SAMBA3_BINARY('net',
240 ../registry/reg_format.c
241 ../registry/reg_import.c
244 net_help_common.c''',
290 bld
.SAMBA3_BINARY('mvxattr',
297 enabled
=bld
.env
.build_mvxattr
)
299 bld
.SAMBA3_BINARY('destroy_netlogon_creds_cli',
300 source
='destroy_netlogon_creds_cli.c',
308 smbstatus_source
= 'status.c'
310 if bld
.CONFIG_GET("WITH_PROFILE"):
311 smbstatus_source
+= ' status_profile.c'
313 smbstatus_source
+= ' status_profile_dummy.c'
315 if bld
.CONFIG_GET("HAVE_JANSSON"):
316 smbstatus_source
+= ' status_json.c'
318 smbstatus_source
+= ' status_json_dummy.c'
320 bld
.SAMBA3_BINARY('smbstatus',
321 source
=smbstatus_source
,
333 bld
.SAMBA3_BINARY('mdsearch',
347 pytalloc_util
= bld
.pyembed_libname('pytalloc-util')
348 pyrpc_util
= bld
.pyembed_libname('pyrpc_util')
349 bld
.SAMBA3_PYTHON('python_net_s3',
351 deps
='LIBNET DNS_UTIL cmdline_contexts %s %s' % (pytalloc_util
, pyrpc_util
),
352 realname
='samba/net_s3.so'