r25026: Move param/param.h out of includes.h
authorJelmer Vernooij <jelmer@samba.org>
Sat, 8 Sep 2007 12:42:09 +0000 (12:42 +0000)
committerGerald (Jerry) Carter <jerry@samba.org>
Wed, 10 Oct 2007 20:05:38 +0000 (15:05 -0500)
205 files changed:
source/auth/auth.c
source/auth/auth_sam.c
source/auth/auth_unix.c
source/auth/auth_util.c
source/auth/credentials/credentials.c
source/auth/credentials/credentials_files.c
source/auth/gensec/gensec.c
source/auth/gensec/gensec_gssapi.c
source/auth/gensec/gensec_krb5.c
source/auth/gensec/schannel_state.c
source/auth/kerberos/krb5_init_context.c
source/auth/ntlm_check.c
source/auth/ntlmssp/ntlmssp_client.c
source/auth/ntlmssp/ntlmssp_server.c
source/auth/sam.c
source/cldap_server/cldap_server.c
source/cldap_server/netlogon.c
source/client/cifsdd.c
source/client/client.c
source/cluster/ctdb/ctdb_cluster.c
source/cluster/ctdb/opendb_ctdb.c
source/cluster/local.c
source/dsdb/repl/drepl_service.c
source/dsdb/samdb/ldb_modules/password_hash.c
source/dsdb/samdb/samdb.c
source/include/includes.h
source/kdc/hdb-ldb.c
source/kdc/kdc.c
source/ldap_server/ldap_backend.c
source/ldap_server/ldap_server.c
source/lib/charset/charcnv.c
source/lib/charset/iconv.c
source/lib/cmdline/popt_common.c
source/lib/cmdline/popt_credentials.c
source/lib/db_wrap.c
source/lib/dbwrap/dbwrap.c
source/lib/dbwrap/dbwrap_tdb.c
source/lib/events/events.c
source/lib/ldb/tools/ad2oLschema.c
source/lib/messaging/messaging.c
source/lib/registry/samba.c
source/lib/socket/connect.c
source/lib/socket/connect_multi.c
source/lib/socket/interface.c
source/lib/socket/socket.c
source/libcli/cldap/cldap.c
source/libcli/cliconnect.c
source/libcli/dgram/browse.c
source/libcli/dgram/mailslot.c
source/libcli/dgram/netlogon.c
source/libcli/dgram/ntlogon.c
source/libcli/finddcs.c
source/libcli/nbt/namequery.c
source/libcli/nbt/namerefresh.c
source/libcli/nbt/nameregister.c
source/libcli/nbt/namerelease.c
source/libcli/nbt/nbtsocket.c
source/libcli/raw/clisocket.c
source/libcli/raw/clitransport.c
source/libcli/raw/clitree.c
source/libcli/raw/rawnegotiate.c
source/libcli/raw/smb_signing.c
source/libcli/resolve/nbtlist.c
source/libcli/resolve/resolve.c
source/libcli/resolve/wins.c
source/libcli/smb2/connect.c
source/libcli/smb_composite/connect.c
source/libcli/smb_composite/sesssetup.c
source/libcli/util/errormap.c
source/libnet/libnet.c
source/libnet/libnet_become_dc.c
source/libnet/libnet_join.c
source/libnet/libnet_samsync_ldb.c
source/librpc/rpc/dcerpc_connect.c
source/librpc/rpc/dcerpc_sock.c
source/librpc/rpc/dcerpc_util.c
source/nbt_server/dgram/netlogon.c
source/nbt_server/dgram/ntlogon.c
source/nbt_server/dgram/request.c
source/nbt_server/interfaces.c
source/nbt_server/packet.c
source/nbt_server/query.c
source/nbt_server/register.c
source/nbt_server/wins/wins_hook.c
source/nbt_server/wins/wins_ldb.c
source/nbt_server/wins/winsclient.c
source/nbt_server/wins/winsdb.c
source/nbt_server/wins/winsserver.c
source/nsswitch/wbinfo.c
source/ntptr/ntptr_base.c
source/ntptr/simple_ldb/ntptr_simple_ldb.c
source/ntvfs/cifs/vfs_cifs.c
source/ntvfs/common/opendb.c
source/ntvfs/common/opendb_tdb.c
source/ntvfs/ntvfs_base.c
source/ntvfs/posix/pvfs_shortname.c
source/ntvfs/print/vfs_print.c
source/ntvfs/sysdep/inotify.c
source/ntvfs/sysdep/sys_notify.c
source/param/loadparm.c
source/param/share.c
source/param/share_classic.c
source/param/share_ldb.c
source/param/util.c
source/rpc_server/common/server_info.c
source/rpc_server/dcerpc_server.c
source/rpc_server/lsa/dcesrv_lsa.c
source/rpc_server/netlogon/dcerpc_netlogon.c
source/rpc_server/remote/dcesrv_remote.c
source/rpc_server/samr/dcesrv_samr.c
source/rpc_server/service_rpc.c
source/rpc_server/spoolss/dcesrv_spoolss.c
source/rpc_server/srvsvc/dcesrv_srvsvc.c
source/scripting/ejs/smbcalls.c
source/scripting/ejs/smbcalls.h
source/scripting/ejs/smbcalls_cli.c
source/scripting/ejs/smbcalls_config.c
source/scripting/ejs/smbcalls_param.c
source/smb_server/smb/negprot.c
source/smb_server/smb/receive.c
source/smb_server/smb/service.c
source/smb_server/smb/sesssetup.c
source/smb_server/smb/signing.c
source/smb_server/smb2/receive.c
source/smb_server/smb_server.c
source/smbd/pidfile.c
source/smbd/process_model.c
source/smbd/server.c
source/smbd/service_stream.c
source/torture/basic/base.c
source/torture/basic/misc.c
source/torture/basic/secleak.c
source/torture/gentest.c
source/torture/libnet/domain.c
source/torture/libnet/groupinfo.c
source/torture/libnet/libnet_domain.c
source/torture/libnet/libnet_group.c
source/torture/libnet/libnet_lookup.c
source/torture/libnet/libnet_rpc.c
source/torture/libnet/libnet_user.c
source/torture/libnet/userinfo.c
source/torture/libnet/userman.c
source/torture/local/iconv.c
source/torture/local/irpc.c
source/torture/local/messaging.c
source/torture/locktest.c
source/torture/masktest.c
source/torture/nbt/dgram.c
source/torture/nbt/winsreplication.c
source/torture/raw/composite.c
source/torture/raw/context.c
source/torture/raw/eas.c
source/torture/raw/lock.c
source/torture/raw/lockbench.c
source/torture/raw/mkdir.c
source/torture/raw/notify.c
source/torture/raw/open.c
source/torture/raw/openbench.c
source/torture/raw/pingpong.c
source/torture/raw/read.c
source/torture/raw/samba3misc.c
source/torture/raw/unlink.c
source/torture/rpc/bench.c
source/torture/rpc/countcalls.c
source/torture/rpc/dfs.c
source/torture/rpc/drsuapi.c
source/torture/rpc/drsuapi_cracknames.c
source/torture/rpc/dssync.c
source/torture/rpc/lsa.c
source/torture/rpc/mgmt.c
source/torture/rpc/netlogon.c
source/torture/rpc/samba3rpc.c
source/torture/rpc/samlogon.c
source/torture/rpc/samr.c
source/torture/rpc/samsync.c
source/torture/rpc/scanner.c
source/torture/rpc/schannel.c
source/torture/rpc/session_key.c
source/torture/rpc/spoolss_notify.c
source/torture/rpc/testjoin.c
source/torture/smb2/connect.c
source/torture/smb2/getinfo.c
source/torture/smb2/util.c
source/torture/smbtorture.c
source/torture/torture.c
source/torture/ui.c
source/torture/unix/whoami.c
source/torture/util_smb.c
source/utils/net/net_join.c
source/utils/ntlm_auth.c
source/utils/testparm.c
source/web_server/http.c
source/web_server/web_server.c
source/winbind/wb_cmd_getpwnam.c
source/winbind/wb_cmd_getpwuid.c
source/winbind/wb_dom_info.c
source/winbind/wb_dom_info_trusted.c
source/winbind/wb_init_domain.c
source/winbind/wb_pam_auth.c
source/winbind/wb_samba3_cmd.c
source/winbind/wb_server.c
source/winbind/wb_sid2domain.c
source/winbind/wb_utils.c
source/wrepl_server/wrepl_in_connection.c
source/wrepl_server/wrepl_server.c

index b74bbc33714acb62f71fd27451f8fb648ac91d05..8cd46cd6fe551b789461dd3f4450d06b7721f620 100644 (file)
@@ -23,6 +23,7 @@
 #include "auth/auth.h"
 #include "lib/events/events.h"
 #include "build.h"
+#include "param/param.h"
 
 /***************************************************************************
  Set a fixed challenge
index 840db3ede69adb9571edc9262a2044d59fd56550..e9b24d5f60bd23e002a2d54f2a559a5664e765b4 100644 (file)
@@ -29,6 +29,7 @@
 #include "dsdb/samdb/samdb.h"
 #include "libcli/security/security.h"
 #include "libcli/ldap/ldap.h"
+#include "param/param.h"
 
 extern const char *user_attrs[];
 extern const char *domain_ref_attrs[];
index 61e004f5926a648be794689b8b40ac5fbe5e7244..dd000e94459690ffc2d0a41b8e5a18a6427b24ca 100644 (file)
@@ -24,6 +24,7 @@
 #include "system/passwd.h" /* needed by some systems for struct passwd */
 #include "lib/socket/socket.h" 
 #include "auth/pam_errors.h"
+#include "param/param.h"
 
 /* TODO: look at how to best fill in parms retrieveing a struct passwd info
  * except in case USER_INFO_DONT_CHECK_UNIX_ACCOUNT is set
index 693ec35f866487bff90157f32b772983c49126ff..8398bbfaf47a0a7f057fbf22dfc46f706736661e 100644 (file)
@@ -27,6 +27,7 @@
 #include "libcli/auth/libcli_auth.h"
 #include "dsdb/samdb/samdb.h"
 #include "auth/credentials/credentials.h"
+#include "param/param.h"
 
 /* this default function can be used by mostly all backends
  * which don't want to set a challenge
index c32efb045f17551e57cfdb6c525cbb2fd27bf706..2899bc56052228ddefde251fc7c398cbf816eca3 100644 (file)
@@ -27,6 +27,7 @@
 #include "auth/credentials/credentials_krb5.h"
 #include "libcli/auth/libcli_auth.h"
 #include "lib/events/events.h"
+#include "param/param.h"
 
 /**
  * Create a new credentials structure
index 2b6bc4f9d6c7f1ea0a0042a0ee1de68f2bf856f8..5770dbf05706809a13a3b075fd496edbab144562 100644 (file)
@@ -29,6 +29,7 @@
 #include "db_wrap.h"
 #include "auth/credentials/credentials.h"
 #include "auth/credentials/credentials_krb5.h"
+#include "param/param.h"
 
 /**
  * Read a file descriptor, and parse it for a password (eg from a file or stdin)
index 51d0056920acefa97085adff14009b6d87e0765a..a974cd51381e43a36781cb4f53b233a14a084920 100644 (file)
@@ -27,6 +27,7 @@
 #include "librpc/rpc/dcerpc.h"
 #include "auth/credentials/credentials.h"
 #include "auth/gensec/gensec.h"
+#include "param/param.h"
 
 /* the list of currently registered GENSEC backends */
 static struct gensec_security_ops **generic_security_ops;
index dd9f19ac437298824ecb16108b5ad7235df1daf7..a3351f75a846670ad86e4ef50af7bc8a0b1d0fc1 100644 (file)
@@ -34,6 +34,7 @@
 #include "auth/credentials/credentials.h"
 #include "auth/credentials/credentials_krb5.h"
 #include "auth/gensec/gensec.h"
+#include "param/param.h"
 
 enum gensec_gssapi_sasl_state 
 {
index 811e562353e03274806b165ed6b9cad63e5d26d6..81b4181ce72d4579ca7e7c92d856d456bf6165e4 100644 (file)
@@ -36,6 +36,7 @@
 #include "auth/credentials/credentials.h"
 #include "auth/credentials/credentials_krb5.h"
 #include "auth/gensec/gensec.h"
+#include "param/param.h"
 
 enum GENSEC_KRB5_STATE {
        GENSEC_KRB5_SERVER_START,
index a911ed92889cd9212f0e01b0c0d23953f3c0b898..afbbd618eb8efa1685a5eb0f3727b2e4d57d709b 100644 (file)
@@ -26,6 +26,7 @@
 #include "db_wrap.h"
 #include "libcli/auth/libcli_auth.h"
 #include "auth/auth.h"
+#include "param/param.h"
 
 /**
   connect to the schannel ldb
index c11d93f44adfb7da2a7291663829fb97f3367e44..000e715305a17e1d34a73f165376474e351b1f0b 100644 (file)
@@ -29,6 +29,7 @@
 #include "system/network.h"
 #include "lib/events/events.h"
 #include "roken.h"
+#include "param/param.h"
 
 /*
   context structure for operations on cldap packets
index 5c5ad1f3ca82cf43d2b1dbc9cd9e7dcb3c6a7589..d3dbc3ce663e37c3847deeb27c1ef9962ec6a9ff 100644 (file)
@@ -23,6 +23,7 @@
 #include "lib/crypto/crypto.h"
 #include "librpc/gen_ndr/netlogon.h"
 #include "libcli/auth/libcli_auth.h"
+#include "param/param.h"
 
 /****************************************************************************
  Core of smb password checking routine.
index 003394a21b05e1bba1e793a99201f43e8431468f..a98918a54b7dfcaca2fb31ddc3cfc29e855bcca2 100644 (file)
@@ -28,6 +28,7 @@
 #include "libcli/auth/libcli_auth.h"
 #include "auth/credentials/credentials.h"
 #include "auth/gensec/gensec.h"
+#include "param/param.h"
 
 /*********************************************************************
  Client side NTLMSSP
index 52b3bfcfc595cf92ed31c9d8004f26b481ffff3f..8b6920c97817e49bc3391600a094d31b63f53c3f 100644 (file)
@@ -30,6 +30,7 @@
 #include "auth/credentials/credentials.h"
 #include "auth/gensec/gensec.h"
 #include "auth/auth.h"
+#include "param/param.h"
 
 /** 
  * Set a username on an NTLMSSP context - ensures it is talloc()ed 
index 6e160941d8684b7028eb99f73497aae0028a9f30..ed01c0bd9356621c2f1625f3d584eccbc19ef8f3 100644 (file)
@@ -27,6 +27,7 @@
 #include "libcli/security/security.h"
 #include "libcli/ldap/ldap.h"
 #include "librpc/gen_ndr/ndr_netlogon.h"
+#include "param/param.h"
 
 const char *user_attrs[] = {
        /* required for the krb5 kdc */
index a1a1414c98d9a7c66fe61f3800111f613b9b3778..fbf6f786dbac3b3a8654218e7662df9cd1d356e4 100644 (file)
@@ -33,6 +33,7 @@
 #include "dsdb/samdb/samdb.h"
 #include "db_wrap.h"
 #include "auth/auth.h"
+#include "param/param.h"
 
 /*
   handle incoming cldap requests
index 1dec27990589365f1119e023f860b98d1687737b..5eef4de4cdfc301a602428a64f3c5a7475ac0eaf 100644 (file)
@@ -33,6 +33,7 @@
 #include "db_wrap.h"
 #include "system/network.h"
 #include "lib/socket/netif.h"
+#include "param/param.h"
 
 /*
   fill in the cldap netlogon union for a given version
index 28c9059efaa00d5d4fc099a490bbc8b41ab8f482..2663184c837623c4b8fdbd0d7efcac7b4bb20d02 100644 (file)
@@ -24,6 +24,7 @@
 #include "lib/cmdline/popt_common.h"
 
 #include "cifsdd.h"
+#include "param/param.h"
 
 const char * const PROGNAME = "cifsdd";
 
index 0a3cb21752adb2f9c3aa555d7505373f27392ea3..eaa8fe48a0dd5703604320452d4de31b7759d84e 100644 (file)
@@ -40,6 +40,7 @@
 #include "libcli/security/security.h"
 #include "lib/smbreadline/smbreadline.h"
 #include "librpc/gen_ndr/ndr_nbt.h"
+#include "param/param.h"
 
 static int io_bufsize = 64512;
 
index d416a63374247a1dcc69a985e47c2057dc2b2cff..693de9fef38fb76f0325f90a6393060b28e3a381 100644 (file)
@@ -28,6 +28,7 @@
 #include "include/ctdb.h"
 #include "db_wrap.h"
 #include "lib/util/dlinklist.h"
+#include "param/param.h"
 
 /* a linked list of messaging handlers, allowing incoming messages
    to be directed to the right messaging context */
index f894af839e0960a2f7866001b82f0dc242183447..738d8a1f0f7611e7408b0f28b6e721178b2078f2 100644 (file)
@@ -49,6 +49,7 @@
 #include "ntvfs/common/ntvfs_common.h"
 #include "cluster/cluster.h"
 #include "include/ctdb.h"
+#include "param/param.h"
 
 struct odb_context {
        struct ctdb_context *ctdb;
index dc4759ebae0621b4d53240877b876cc163b05263..feefe902e101a4dbc5d989773c95f0c13a085cf2 100644 (file)
@@ -25,6 +25,7 @@
 #include "lib/tdb/include/tdb.h"
 #include "db_wrap.h"
 #include "system/filesys.h"
+#include "param/param.h"
 
 /*
   server a server_id for the local node
index b26358b3a52da076a79c3e47b0c93774d6db6af1..e4e2aedcf734ec31e55bf2f0e4095643dfabff00 100644 (file)
@@ -31,6 +31,7 @@
 #include "librpc/gen_ndr/ndr_misc.h"
 #include "librpc/gen_ndr/ndr_drsuapi.h"
 #include "librpc/gen_ndr/ndr_drsblobs.h"
+#include "param/param.h"
 
 static WERROR dreplsrv_init_creds(struct dreplsrv_service *service)
 {
index a275810b12fcb9709b420c5e6a7c55a8a9d73fc8..22d04a5519a4a49a242b66d22f2eaaac24c155f6 100644 (file)
@@ -48,6 +48,7 @@
 #include "librpc/ndr/libndr.h"
 #include "librpc/gen_ndr/ndr_drsblobs.h"
 #include "lib/crypto/crypto.h"
+#include "param/param.h"
 
 /* If we have decided there is reason to work on this request, then
  * setup all the password hash types correctly.
index 31182a44d6eee3d2a667f95cf8db30e8e5883006..288ed2909d3938e39cbf3672b37745effbe6fd14 100644 (file)
@@ -35,6 +35,7 @@
 #include "db_wrap.h"
 #include "dsdb/samdb/samdb.h"
 #include "dsdb/common/flags.h"
+#include "param/param.h"
 
 /*
   connect to the SAM database
index 40cb306eb2047f5d133789cec8fbb97c65294d2e..340d0c360fb32b789f9f8396d8a7708c17defdd1 100644 (file)
 #include "libcli/util/nt_status.h"
 #include "charset/charset.h"
 #include "util/util.h"
-#include "param/param.h"
 #include "librpc/gen_ndr/misc.h"
 
 typedef bool BOOL;
index ddee8d19d1670042b0eb51b899d194b872b8b911..93f45b8cf7fb3c58698e3ec33dc5b0f531d040b3 100644 (file)
@@ -49,6 +49,7 @@
 #include "librpc/ndr/libndr.h"
 #include "librpc/gen_ndr/ndr_drsblobs.h"
 #include "libcli/auth/libcli_auth.h"
+#include "param/param.h"
 
 enum hdb_ldb_ent_type 
 { HDB_LDB_ENT_TYPE_CLIENT, HDB_LDB_ENT_TYPE_SERVER, 
index f26e5a7e9b7490cde38f7d9cdfa1dec4d69bbfe8..b3d5ccdb5e6ef263e9240def585bfd06e6606a49 100644 (file)
@@ -38,6 +38,7 @@
 #include "heimdal/kdc/windc_plugin.h"
 #include "heimdal/lib/krb5/krb5_locl.h"
 #include "heimdal/kdc/kdc_locl.h"
+#include "param/param.h"
 
 
 /* Disgusting hack to get a mem_ctx into the hdb plugin, when used as a keytab */
index c8ae293a2af45d399a3757bf6d5ae0d2d08b672b..5afcf8cd12595e9191a4524afd333bac6d7a4196 100644 (file)
@@ -26,6 +26,7 @@
 #include "lib/db_wrap.h"
 #include "auth/credentials/credentials.h"
 #include "auth/gensec/gensec.h"
+#include "param/param.h"
 
 #define VALID_DN_SYNTAX(dn,i) do {\
        if (!(dn)) {\
index 2ea1a96ae7b510730bca2f7543bb4dc33c130cd2..a6753d46fa737cdc9407cecf67da5d1139430814 100644 (file)
@@ -40,6 +40,7 @@
 #include "system/network.h"
 #include "lib/socket/netif.h"
 #include "dsdb/samdb/samdb.h"
+#include "param/param.h"
 /*
   close the socket and shutdown a server_context
 */
index fcf29d46475dd05ac048e88a59889ba9f5a2b0fe..dda9f754b1155775b78191ba638cc8310476f907 100644 (file)
@@ -21,6 +21,7 @@
 */
 #include "includes.h"
 #include "system/iconv.h"
+#include "param/param.h"
 
 /**
  * @file
index 062b4ddfc869bcfb87dcc14f0c926522894f7e0b..8510f70d96952aaeb9e3f0cb3ca36a79997fb702 100644 (file)
@@ -22,6 +22,7 @@
 #include "lib/util/dlinklist.h"
 #include "system/iconv.h"
 #include "system/filesys.h"
+#include "param/param.h"
 
 
 /**
index 413c8e7cc3d44476711f87e2d076aa8a3662686f..6f91c3a26a454dbe6d53ed69608dadd9cb26974d 100644 (file)
@@ -22,6 +22,7 @@
 #include "includes.h"
 #include "version.h"
 #include "lib/cmdline/popt_common.h"
+#include "param/param.h"
 
 /* Handle command line options:
  *             -d,--debuglevel 
index 259dbf8ee14a20ef40fe54c4759d1e0ef877f291..9abd7f53d246e9c21a4c2487b9bf22bb33a83bc6 100644 (file)
@@ -23,6 +23,7 @@
 #include "lib/cmdline/credentials.h"
 #include "auth/credentials/credentials.h"
 #include "auth/gensec/gensec.h"
+#include "param/param.h"
 
 /* Handle command line options:
  *             -U,--user
index 0e026f84e1d8011e7b4906442e051576dbe0df51..f91006b46c0bf1bdb0b9dd3081b50e0500825ff9 100644 (file)
@@ -35,6 +35,7 @@
 #include "lib/ldb/samba/ldif_handlers.h"
 #include "db_wrap.h"
 #include "dsdb/samdb/samdb.h"
+#include "param/param.h"
 
 static struct tdb_wrap *tdb_list;
 
index c0bac672aa9b24765f1f86cbdfe030b004a0fa9c..02e82c77a70ba3403340575930a1f325664e6fd5 100644 (file)
@@ -23,6 +23,7 @@
 #include "includes.h"
 #include "lib/tdb/include/tdb.h"
 #include "lib/dbwrap/dbwrap.h"
+#include "param/param.h"
 
 /*
   open a temporary database
index dedb344e0b13c0aca31d0b1d8c7c0c5e4877f823..b6af8abadd8da8f0ffc1df228a512f5db77b4e71 100644 (file)
@@ -25,6 +25,7 @@
 #include "lib/dbwrap/dbwrap.h"
 #include "system/filesys.h"
 #include "db_wrap.h"
+#include "param/param.h"
 
 struct db_tdb_ctx {
        struct tdb_wrap *wtdb;
index 9ba3254190c28b6138faeab2b3dba02cbb4c382c..77225b9ddf34af4643c37111e74cd4b295d332a8 100644 (file)
@@ -57,6 +57,7 @@
 #include "lib/events/events.h"
 #include "lib/events/events_internal.h"
 #include "lib/util/dlinklist.h"
+#include "param/param.h"
 #if _SAMBA_BUILD_
 #include "build.h"
 #endif
index 761339b96f74daa3255d8dc9ca68a4a089863f4a..ec72d01121058a2d8f9c71bdc6326db4a39b3b86 100644 (file)
@@ -36,6 +36,7 @@
 #include "system/locale.h"
 #include "tools/cmdline.h"
 #include "tools/convert.h"
+#include "param/param.h"
 
 struct schema_conv {
        int count;
index 4b609b09e9756a811335bc2799dacd7eac70caa5..2ad5e3bed089387e5b38c32046d61672df3ed9e8 100644 (file)
@@ -34,6 +34,7 @@
 #include "lib/util/util_tdb.h"
 #include "lib/util/util_tdb.h"
 #include "cluster/cluster.h"
+#include "param/param.h"
 
 /* change the message version with any incompatible changes in the protocol */
 #define MESSAGING_VERSION 1
index a5d6f764591d931a9bbcca4b8391b16a61e8f18f..dfb69abb3385f8d30261d73a271b620874572a89 100644 (file)
@@ -18,6 +18,7 @@
 
 #include "includes.h"
 #include "registry.h"
+#include "param/param.h"
 
 /**
  * @file
index dd2440b0a81b1b3cdc73149b65325ef418477693..fe8bc5cf13244ee4e0070f04c524f62e0c1861ca 100644 (file)
@@ -26,6 +26,7 @@
 #include "lib/events/events.h"
 #include "libcli/composite/composite.h"
 #include "libcli/resolve/resolve.h"
+#include "param/param.h"
 
 
 struct connect_state {
index 6bf7ca4d3e2976cb3e1e7238d16b80893fae6079..445a1da7825f9e9835fae02a5a8be212ce6598fd 100644 (file)
@@ -26,6 +26,7 @@
 #include "lib/events/events.h"
 #include "libcli/composite/composite.h"
 #include "libcli/resolve/resolve.h"
+#include "param/param.h"
 
 #define MULTI_PORT_DELAY 2000 /* microseconds */
 
index 58d00ba614874820064db9f744cfba1a2a1548a6..00b1f6c63554cab020606f48ca64481d3ac5a946 100644 (file)
@@ -23,6 +23,7 @@
 #include "system/network.h"
 #include "lib/socket/netif.h"
 #include "lib/util/dlinklist.h"
+#include "param/param.h"
 
 /** used for network interfaces */
 struct interface {
index 5e19485ec6876116996040d7000eff2841d27ad9..640d195d276d933444b1788c4ab2b9ac66e8f64d 100644 (file)
@@ -23,6 +23,7 @@
 #include "lib/socket/socket.h"
 #include "system/filesys.h"
 #include "system/network.h"
+#include "param/param.h"
 
 /*
   auto-close sockets on free
index a5c4cc66a18fbb57103bf21a87223b0d4d2a73b1..4c41e1301452bf45fe589045bf8acafc4b5d1713 100644 (file)
@@ -39,6 +39,7 @@
 #include "lib/socket/socket.h"
 #include "libcli/security/security.h"
 #include "librpc/gen_ndr/ndr_nbt.h"
+#include "param/param.h"
 
 /*
   destroy a pending request
index 50fe41c2bc048aa9c1aaa2ff5fe123474a93366b..a91157cf5dc8d9c8cd97fb06b1f02282d1fe4629 100644 (file)
@@ -25,6 +25,7 @@
 #include "libcli/raw/libcliraw.h"
 #include "libcli/auth/libcli_auth.h"
 #include "libcli/smb_composite/smb_composite.h"
+#include "param/param.h"
 
 /*
   wrapper around smbcli_sock_connect()
index 84a2a7e534e215efa6ef5b83fcdb714cc4a3c88b..78bd4319ee08df551eb47d12ef9ec3dbabb35a9c 100644 (file)
@@ -25,6 +25,7 @@
 #include "lib/socket/socket.h"
 #include "libcli/resolve/resolve.h"
 #include "librpc/gen_ndr/ndr_nbt.h"
+#include "param/param.h"
 
 NTSTATUS dgram_mailslot_browse_send(struct nbt_dgram_socket *dgmsock,
                                    struct nbt_name *dest_name,
index 14eb7b931b84567b64104096b78508bce2be6738..7a325ebe38d1d32956783015a60c4fd555c1010a 100644 (file)
@@ -36,6 +36,7 @@
 #include "lib/util/dlinklist.h"
 #include "libcli/dgram/libdgram.h"
 #include "lib/socket/socket.h"
+#include "param/param.h"
 
 /*
   destroy a mailslot handler
index df47a34a0e9d0026eed99fa309b7294f6156c4d2..79acf609f61469e0c1bc9513472bcb54648986e3 100644 (file)
@@ -24,6 +24,7 @@
 #include "lib/socket/socket.h"
 #include "libcli/resolve/resolve.h"
 #include "librpc/gen_ndr/ndr_nbt.h"
+#include "param/param.h"
 
 /* 
    send a netlogon mailslot request 
index 5881dcf7021ae05df5343a74c7ea0411cb99f7ad..6b9b17485dec7f13c026130bf16310a5e30a71c8 100644 (file)
@@ -24,6 +24,7 @@
 #include "lib/socket/socket.h"
 #include "libcli/resolve/resolve.h"
 #include "librpc/gen_ndr/ndr_nbt.h"
+#include "param/param.h"
 
 /* 
    send a ntlogon mailslot request 
index a159ab6dfcc0ed390c82364ddae7bf4b15ca11f7..46cca3600919672be3bad69ce1fc3596ba94dedd 100644 (file)
@@ -27,6 +27,7 @@
 #include "libcli/composite/composite.h"
 #include "libcli/libcli.h"
 #include "libcli/resolve/resolve.h"
+#include "param/param.h"
 
 struct finddcs_state {
        struct composite_context *ctx;
index 32de9723b9ec040eb719e1cff4ef0a6499432024..ab26a7b2d2d6afedab9b294da7648fb8c26b4fa2 100644 (file)
@@ -22,6 +22,7 @@
 #include "includes.h"
 #include "libcli/nbt/libnbt.h"
 #include "lib/socket/socket.h"
+#include "param/param.h"
 
 /**
   send a nbt name query
index afa80d68f84978a95cc97ccd1e605d0323d4df57..d68cdb536580d25394dbd416bd0871bb530439cf 100644 (file)
@@ -23,6 +23,7 @@
 #include "libcli/nbt/libnbt.h"
 #include "libcli/composite/composite.h"
 #include "lib/socket/socket.h"
+#include "param/param.h"
 
 /*
   send a nbt name refresh request
index 7b03667fec7fc55756e807a267c0d104b6889881..62c4a19b291d63d1c0f6238df3d0d857a9fc0998 100644 (file)
@@ -24,6 +24,7 @@
 #include "libcli/composite/composite.h"
 #include "lib/socket/socket.h"
 #include "librpc/gen_ndr/ndr_nbt.h"
+#include "param/param.h"
 
 /*
   send a nbt name registration request
index fd3967d1e6d16fa2908d1b67f885523db46cbc79..efc31b1501b63f3ef098baa1d4439c1dc2371203 100644 (file)
@@ -22,6 +22,7 @@
 #include "includes.h"
 #include "libcli/nbt/libnbt.h"
 #include "lib/socket/socket.h"
+#include "param/param.h"
 
 /*
   send a nbt name release request
index bb3e15d5de420ad0f1ce43671d4db27754c0f38f..b44b50efd8c368de914ec10fdb2e55a1684fb366 100644 (file)
@@ -25,6 +25,7 @@
 #include "libcli/nbt/libnbt.h"
 #include "lib/socket/socket.h"
 #include "librpc/gen_ndr/ndr_nbt.h"
+#include "param/param.h"
 
 #define NBT_MAX_REPLIES 1000
 
index 0aa6ec56169336048ac1173262d2d35383be3bf1..51f631eb67fe1ea74eee2f206519b699b648256c 100644 (file)
@@ -26,6 +26,7 @@
 #include "libcli/composite/composite.h"
 #include "lib/socket/socket.h"
 #include "libcli/resolve/resolve.h"
+#include "param/param.h"
 
 struct sock_connect_state {
        struct composite_context *ctx;
index 0482b04f244c826a3dfa3fe31b63358d7821f457..90f51b296959d7dfb5d3c5f50ef917e6b962398f 100644 (file)
@@ -26,6 +26,7 @@
 #include "lib/events/events.h"
 #include "lib/stream/packet.h"
 #include "librpc/gen_ndr/ndr_nbt.h"
+#include "param/param.h"
 
 
 /*
index a5217d74b2a1a6eb2c7d62372ad548f1387ab51d..6a15c25eb9fa8363b78aaedfba369ef56a88a308 100644 (file)
@@ -23,6 +23,7 @@
 #include "includes.h"
 #include "libcli/raw/libcliraw.h"
 #include "libcli/smb_composite/smb_composite.h"
+#include "param/param.h"
 
 #define SETUP_REQUEST_TREE(cmd, wct, buflen) do { \
        req = smbcli_request_setup(tree, cmd, wct, buflen); \
index c2dc39348169ccd97d5d28ecbff42312e3f15a41..eff22ee8bcec39309be0c49114d45570e0f1d652 100644 (file)
@@ -23,6 +23,7 @@
 #include "includes.h"
 #include "libcli/raw/libcliraw.h"
 #include "system/time.h"
+#include "param/param.h"
 
 static const struct {
        enum protocol_types prot;
index a37c9a7836ed1a545115da71385b150430263118..1a82ea053695a2e6b9277232c69c43936e5774f3 100644 (file)
@@ -23,6 +23,7 @@
 #include "smb.h"
 #include "libcli/raw/libcliraw.h"
 #include "lib/crypto/crypto.h"
+#include "param/param.h"
 
 /***********************************************************
  SMB signing - Common code before we set a new signing implementation
index ad331c872d832eabe4b5bc4f70b869ddf1ef81e7..faa2962d5adcd94e74499eeb056c16525d61fff0 100644 (file)
@@ -29,6 +29,7 @@
 #include "lib/socket/netif.h"
 #include "librpc/gen_ndr/ndr_nbt.h"
 #include "libcli/nbt/libnbt.h"
+#include "param/param.h"
 
 struct nbtlist_state {
        struct nbt_name name;
index ee9b8df14896f05c1b2fc7ef22c8b2f61c5804df..9315c0f354387aae5d976aedd8e597f5e8ea2bc4 100644 (file)
@@ -24,6 +24,7 @@
 #include "libcli/composite/composite.h"
 #include "libcli/resolve/resolve.h"
 #include "librpc/gen_ndr/ndr_nbt.h"
+#include "param/param.h"
 
 struct resolve_state {
        struct nbt_name name;
index f7bfdc340500a417004d44ed4c1a98db81212617..8c88950f53210d300ec3e56f809b0bded7544e0d 100644 (file)
@@ -22,6 +22,7 @@
 #include "includes.h"
 #include "libcli/nbt/libnbt.h"
 #include "libcli/resolve/resolve.h"
+#include "param/param.h"
 
 /*
   wins name resolution method - async send
index a365f25d4957286ec34aa4a5e4b0f96eae4dc385..0edf64c5df5c4d14fd28eacd8d2a99a4c177644d 100644 (file)
@@ -25,6 +25,7 @@
 #include "libcli/smb2/smb2_calls.h"
 #include "libcli/composite/composite.h"
 #include "libcli/resolve/resolve.h"
+#include "param/param.h"
 
 struct smb2_connect_state {
        struct cli_credentials *credentials;
index 026fe0b029f7fb65aaa75268646bc22e857a0e35..27b16ecc41e7ea8cdd190d2c3194453b72911de1 100644 (file)
@@ -28,6 +28,7 @@
 #include "libcli/resolve/resolve.h"
 #include "auth/credentials/credentials.h"
 #include "librpc/gen_ndr/ndr_nbt.h"
+#include "param/param.h"
 
 /* the stages of this call */
 enum connect_stage {CONNECT_RESOLVE, 
index 579706261ab933c99eb0b4a6fd616da81a799626..6a14e57ad070f883771440d2fddb5b4ad3233079 100644 (file)
@@ -29,6 +29,7 @@
 #include "auth/gensec/gensec.h"
 #include "auth/credentials/credentials.h"
 #include "version.h"
+#include "param/param.h"
 
 struct sesssetup_state {
        union smb_sesssetup setup;
index 711f02a626429782f4186c329ea40cb481b2de07..347d513e9c7a313cb420d67eac00455e5a7b78c6 100644 (file)
@@ -20,6 +20,7 @@
  */
 
 #include "includes.h"
+#include "param/param.h"
 
 /* This map was extracted by the ERRMAPEXTRACT smbtorture command. 
    The setup was a Samba HEAD (2002-01-03) PDC and an Win2k member 
index a628a07a99de8c833a1e7cee77516e819543a555..1994b68df035e6c177f9ed4d33f1e97c5369bd12 100644 (file)
@@ -20,6 +20,7 @@
 #include "includes.h"
 #include "libnet/libnet.h"
 #include "lib/events/events.h"
+#include "param/param.h"
 
 struct libnet_context *libnet_context_init(struct event_context *ev)
 {
index e2f4f03c606804d9e737bf3be029729d4bac6463..47a250a5f2bb18fa90feddf3107cc6e3e61c7a8d 100644 (file)
@@ -32,6 +32,7 @@
 #include "librpc/gen_ndr/ndr_security.h"
 #include "librpc/gen_ndr/ndr_drsuapi.h"
 #include "auth/gensec/gensec.h"
+#include "param/param.h"
 
 /*****************************************************************************
  * Windows 2003 (w2k3) does the following steps when changing the server role
index 40debc63dc6be32f838c56264ef84304537ff295..9404bc874d9077921a17152bd13e1fd3d1123de4 100644 (file)
@@ -31,6 +31,7 @@
 #include "auth/credentials/credentials.h"
 #include "auth/credentials/credentials_krb5.h"
 #include "librpc/gen_ndr/ndr_samr_c.h"
+#include "param/param.h"
 
 /*
  * complete a domain join, when joining to a AD domain:
index 1947eadddcedc3b0626c6130614cdcd0ae7d827a..2c30128b16bc11ab356b4f1e6a3e75f2be7f0baf 100644 (file)
@@ -31,6 +31,7 @@
 #include "db_wrap.h"
 #include "libcli/security/security.h"
 #include "librpc/rpc/dcerpc.h"
+#include "param/param.h"
 
 struct samsync_ldb_secret {
        struct samsync_ldb_secret *prev, *next;
index 114725880cff1ee87b0cb59cbdb5c76a8dc6d3a8..7403dd90fe82051af79cf9e3c7cd7d933f7a261a 100644 (file)
@@ -31,6 +31,7 @@
 #include "libcli/smb2/smb2_calls.h"
 #include "librpc/rpc/dcerpc.h"
 #include "auth/credentials/credentials.h"
+#include "param/param.h"
 
 
 struct pipe_np_smb_state {
index 6b47e439cf4c25f3b46840f838dc3710ff57c0cc..c946d0b0390a7b253b910246d723f9db8c6429e2 100644 (file)
@@ -28,6 +28,7 @@
 #include "libcli/composite/composite.h"
 #include "librpc/rpc/dcerpc.h"
 #include "libcli/resolve/resolve.h"
+#include "param/param.h"
 
 /* transport private information used by general socket pipe transports */
 struct sock_private {
index 440625715b4fc2a53abddc98c1add5ed5efacb3a..e82302585c66afcd60451baeca7a3a04d389ba7d 100644 (file)
@@ -29,6 +29,7 @@
 #include "librpc/gen_ndr/ndr_dcerpc.h"
 #include "librpc/gen_ndr/ndr_misc.h"
 #include "auth/credentials/credentials.h"
+#include "param/param.h"
 
 /*
   find a dcerpc call on an interface by name
index c255238913defc31d04bf1a73d633c8ed39225d3..eb06abd74ac022707321bfa52ba8e8b03715dd9d 100644 (file)
@@ -27,6 +27,7 @@
 #include "auth/auth.h"
 #include "db_wrap.h"
 #include "librpc/gen_ndr/ndr_nbt.h"
+#include "param/param.h"
 
 /*
   reply to a GETDC request
index 51888ceab42e2734b3139a87cea1f59f9e96c666..e24dffb4f4a89dbdf8ba9a07899e649fb4a46aa4 100644 (file)
@@ -23,6 +23,7 @@
 #include "nbt_server/nbt_server.h"
 #include "lib/socket/socket.h"
 #include "librpc/gen_ndr/ndr_nbt.h"
+#include "param/param.h"
 
 /*
   reply to a SAM LOGON request
index bea1e84213897b276e8a71fab6ae1f858fbe5c07..da15340305354362b1074e263b663b21d75affff 100644 (file)
@@ -26,6 +26,7 @@
 #include "libcli/resolve/resolve.h"
 #include "nbt_server/dgram/proto.h"
 #include "librpc/gen_ndr/ndr_nbt.h"
+#include "param/param.h"
 
 /*
   a list of mailslots that we have static handlers for
index b0bc55c05b089511a63b6fc52d3e46d6aa7a934d..40fa605e114650b0e106901086a5026628593c25 100644 (file)
@@ -28,6 +28,7 @@
 #include "nbt_server/dgram/proto.h"
 #include "system/network.h"
 #include "lib/socket/netif.h"
+#include "param/param.h"
 
 
 /*
index 09b2549956e2ae3951faf54c6163fb4c37d3b7a3..f53d355daf54821598fdc4fa27e707338ecf2b6e 100644 (file)
@@ -23,6 +23,7 @@
 #include "nbt_server/nbt_server.h"
 #include "lib/socket/socket.h"
 #include "librpc/gen_ndr/ndr_nbt.h"
+#include "param/param.h"
 
 /*
   we received a badly formed packet - log it
index 4f42ec517d528f6bfd1caee677658f67fb983524..30b3c5f9ce11e53f7c94564b59d77a151e62a805 100644 (file)
@@ -26,6 +26,7 @@
 #include "nbt_server/wins/winsserver.h"
 #include "librpc/gen_ndr/ndr_nbt.h"
 #include "lib/socket/socket.h"
+#include "param/param.h"
 
 /*
   answer a name query
index 6b592624c36229c9484b2f126d02f7c60929a268..3b81d65bd2f990d8641fe6c4152ef9088e8dfcd8 100644 (file)
@@ -29,6 +29,7 @@
 #include "nbt_server/wins/winsserver.h"
 #include "librpc/gen_ndr/ndr_nbt.h"
 #include "dsdb/samdb/samdb.h"
+#include "param/param.h"
 
 
 static void nbtd_start_refresh_timer(struct nbtd_iface_name *iname);
index e5d8b39062014910730d7a7c8e81166d77e3e162..e89e6b8d26badd4e712d732c76b13a64ade4ee06 100644 (file)
@@ -24,6 +24,7 @@
 #include "nbt_server/nbt_server.h"
 #include "nbt_server/wins/winsdb.h"
 #include "system/filesys.h"
+#include "param/param.h"
 
 static const char *wins_hook_action_string(enum wins_hook_action action)
 {
index 0b8856fd3b41479e37bfc7967b2d0ca27cc66fad..1fa073dc0d92aa4a912b551dc41d99615a2b6bde 100644 (file)
@@ -35,6 +35,7 @@
 #include "lib/ldb/include/ldb_private.h"
 #include "system/network.h"
 #include "lib/socket/netif.h"
+#include "param/param.h"
 
 static int wins_ldb_verify(struct ldb_module *module, struct ldb_request *req)
 {
index 3c599022d416e08c4a65cfd39b3b47e749792d1f..279462289d241df382fc320a0ee4c87cd8ca1303 100644 (file)
@@ -26,6 +26,7 @@
 #include "lib/events/events.h"
 #include "librpc/gen_ndr/ndr_nbt.h"
 #include "smbd/service_task.h"
+#include "param/param.h"
 
 static void nbtd_wins_refresh_handler(struct composite_context *c);
 
index 7b281ff831bafc08e5b7eeefade27dff257a56b1..cfaee05020ddfafc96c6cce54d6e1435e0534860 100644 (file)
@@ -30,6 +30,7 @@
 #include "db_wrap.h"
 #include "system/network.h"
 #include "lib/socket/netif.h"
+#include "param/param.h"
 
 uint64_t winsdb_get_maxVersion(struct winsdb_handle *h)
 {
index f75250ee41326712d69cebd1abc2329f2e6368cc..47d25403864e88dc4287bf25cdd21b096c3b2ff7 100644 (file)
@@ -32,6 +32,7 @@
 #include "lib/socket/socket.h"
 #include "lib/socket/netif.h"
 #include "lib/ldb/include/ldb.h"
+#include "param/param.h"
 
 /*
   work out the ttl we will use given a client requested ttl
index 7e674fde1f72b91d6eb50a011164da09482f1cba..120a475bc17073df6c8b35c51dd619b48fa3d962 100644 (file)
@@ -30,6 +30,7 @@
 #include "libcli/security/security.h"
 #include "lib/cmdline/popt_common.h"
 #include "dynconfig.h"
+#include "param/param.h"
 
 extern int winbindd_fd;
 
index d63bdb1546306aff96e61d969592a9551d79f2a4..5735dbe9363c987d44d72c6c0eb9dcb7694239f8 100644 (file)
@@ -25,6 +25,7 @@
 #include "includes.h"
 #include "ntptr/ntptr.h"
 #include "build.h"
+#include "param/param.h"
 
 /* the list of currently registered NTPTR backends */
 static struct ntptr_backend {
index dcdaa5e94e086c17f870eb9d296fe5436fb54d79..f0edd4720670e6223805caf66f3bafaf4583e26c 100644 (file)
@@ -35,6 +35,7 @@
 #include "dsdb/samdb/samdb.h"
 #include "db_wrap.h"
 #include "rpc_server/common/common.h"
+#include "param/param.h"
 
 /*
   connect to the SPOOLSS database
index 4c079b36fc394c59a340fe3502bf5b84e2daeace..d248bd75526df022f6935e7d0e5e2971e72130af 100644 (file)
@@ -31,6 +31,7 @@
 #include "auth/credentials/credentials.h"
 #include "ntvfs/ntvfs.h"
 #include "lib/util/dlinklist.h"
+#include "param/param.h"
 
 struct cvfs_file {
        struct cvfs_file *prev, *next;
index 69282dd12e7046f6920078cc2a659afaa23cecff..63c6abd3deef41be8211ad6152e9d668d4891885 100644 (file)
@@ -41,6 +41,7 @@
 #include "ntvfs/ntvfs.h"
 #include "ntvfs/common/ntvfs_common.h"
 #include "cluster/cluster.h"
+#include "param/param.h"
 
 static const struct opendb_ops *ops;
 
index 0bfe6e4eb354d849ea67751bf5d4888f0fe00819..0a79b791250f6a5982e3f861fa5639150d14cae9 100644 (file)
@@ -47,6 +47,7 @@
 #include "ntvfs/ntvfs.h"
 #include "ntvfs/common/ntvfs_common.h"
 #include "cluster/cluster.h"
+#include "param/param.h"
 
 struct odb_context {
        struct tdb_wrap *w;
index 03c5aff01c7cb9310063ec08f0989d9e4430b716..39e4ca73ea7298abfafddbcb80aed2d9b466af68 100644 (file)
@@ -26,6 +26,7 @@
 #include "lib/util/dlinklist.h"
 #include "build.h"
 #include "ntvfs/ntvfs.h"
+#include "param/param.h"
 
 /* the list of currently registered NTVFS backends, note that there
  * can be more than one backend with the same name, as long as they
index 5df4a57f9cbad0ec3db073c582edce6903420e36..75e474a94e7cf102a4dfb101a3178cc01539e271 100644 (file)
@@ -22,6 +22,7 @@
 #include "includes.h"
 #include "system/locale.h"
 #include "vfs_posix.h"
+#include "param/param.h"
 
 /*
   this mangling scheme uses the following format
index 30bb530ee908705fb0becaa1c4d61168a1eeef79..120f88373cd492660ec5a33b4b4bdf5c14cd781e 100644 (file)
@@ -24,6 +24,7 @@
 #include "includes.h"
 #include "libcli/raw/ioctl.h"
 #include "ntvfs/ntvfs.h"
+#include "param/param.h"
 
 /*
   connect to a share - used when a tree_connect operation comes
index afeb319b353286b7dbc7ca0c3ca23a97b0676f11..6fab1018ca5b253573b8215a06970ff8e2bd9fa3 100644 (file)
@@ -27,6 +27,7 @@
 #include "lib/events/events.h"
 #include "lib/util/dlinklist.h"
 #include "libcli/raw/smb.h"
+#include "param/param.h"
 
 #include <linux/inotify.h>
 #include <asm/unistd.h>
index 8d2aed7fa0c8219b31aec6165bcf03b9f1bd7ff2..53ac7faa7e2eb985f83b4fa7a0b8b39da0af9a78 100644 (file)
@@ -27,6 +27,7 @@
 #include "ntvfs/sysdep/sys_notify.h"
 #include "lib/events/events.h"
 #include "lib/util/dlinklist.h"
+#include "param/param.h"
 #include "build.h"
 
 /* list of registered backends */
index 3d121189920708a6c06d975772c5310174238273..83c852ace701d4606e7141cc545cc89389466663 100644 (file)
@@ -61,6 +61,7 @@
 #include "smb_server/smb_server.h"
 #include "libcli/raw/signing.h"
 #include "lib/util/dlinklist.h"
+#include "param/param.h"
 #include "param/loadparm.h"
 #include "pstring.h"
 
index 26173fb8767dec5893c4d9c3404f5c040beed239..e7c00f5b350f5c417fdcc5c8eb68fddf70540e81 100644 (file)
@@ -22,6 +22,7 @@
 #include "includes.h"
 #include "param/share.h"
 #include "build.h"
+#include "param/param.h"
 
 const char *share_string_option(struct share_config *scfg, const char *opt_name, const char *defval)
 {
index c38e5d78dfce81b67ce9cd1b958091d631390169..15f52eb9f1c0e40a8047e54d71649733e8477d9b 100644 (file)
@@ -21,6 +21,7 @@
 
 #include "includes.h"
 #include "param/share.h"
+#include "param/param.h"
 
 struct sclassic_snum {
        int snum;
index fe65cb7a580362d936ec22ed6fa199152b90ab2a..586000f50320eb360be38bb7f458417ae50c2fd2 100644 (file)
@@ -25,6 +25,7 @@
 #include "auth/auth.h"
 #include "db_wrap.h"
 #include "param/share.h"
+#include "param/param.h"
 
 static NTSTATUS sldb_init(TALLOC_CTX *mem_ctx, const struct share_ops *ops, struct share_context **ctx)
 {
index 6e6e12596bd932df940b43062816531b17d10da8..308d4bfc2bf57702421c11fc50b114afd69f0145 100644 (file)
@@ -27,6 +27,7 @@
 #include "system/network.h"
 #include "system/filesys.h"
 #include "system/dir.h"
+#include "param/param.h"
 
 /**
  * @file
@@ -38,7 +39,7 @@
   see if a string matches either our primary or one of our secondary 
   netbios aliases. do a case insensitive match
 */
-_PUBLIC_ BOOL is_myname(const char *name)
+_PUBLIC_ bool is_myname(const char *name)
 {
        const char **aliases;
        int i;
index ccd2bdbad42c0ef79ac8c1356d635f407c75d39d..7ca13fcf9451a2ad611bf273d71d7ee0febb7f62 100644 (file)
@@ -25,6 +25,7 @@
 #include "rpc_server/dcerpc_server.h"
 #include "dsdb/samdb/samdb.h"
 #include "auth/auth.h"
+#include "param/param.h"
 
 /* 
     Here are common server info functions used by some dcerpc server interfaces
index 466d35c3732f92dca65a77a02f09f4fbab3ccd9f..c3de00d8d0c87135062b0cb5cc6eac14285babab 100644 (file)
@@ -33,6 +33,7 @@
 #include "system/filesys.h"
 #include "libcli/security/security.h"
 #include "build.h"
+#include "param/param.h"
 
 extern const struct dcesrv_interface dcesrv_mgmt_interface;
 
index 326217e63fbebc7658f0d07cd0c262b04e129aab..144e61cd75dedf4c35e947ca87fac0ce24e1558d 100644 (file)
@@ -32,6 +32,7 @@
 #include "param/secrets.h"
 #include "db_wrap.h"
 #include "librpc/gen_ndr/ndr_dssetup.h"
+#include "param/param.h"
 
 /*
   this type allows us to distinguish handle types
index 2198dc5ebc303d34cd87c09350d5e88d68420687..14a724a6f681620470d64ca16054d33076110053 100644 (file)
@@ -32,6 +32,7 @@
 #include "libcli/auth/libcli_auth.h"
 #include "auth/gensec/schannel_state.h"
 #include "libcli/security/security.h"
+#include "param/param.h"
 
 struct server_pipe_state {
        struct netr_Credential client_challenge;
index 6ddffa1d6cae0d6c70b1f0b2bfc5008c636deb01..e51a847ee278d77d521a336470828d23e3235d7d 100644 (file)
@@ -23,6 +23,7 @@
 #include "auth/auth.h"
 #include "auth/credentials/credentials.h"
 #include "librpc/ndr/ndr_table.h"
+#include "param/param.h"
 
 
 struct dcesrv_remote_private {
@@ -114,7 +115,7 @@ static NTSTATUS remote_op_bind(struct dcesrv_call_state *dce_call, const struct
 
 static void remote_op_unbind(struct dcesrv_connection_context *context, const struct dcesrv_interface *iface)
 {
-       struct dcesrv_remote_private *private = context->private;
+       struct dcesrv_remote_private *private = (struct dcesrv_remote_private *)context->private;
 
        talloc_free(private->c_pipe);
 
@@ -124,7 +125,7 @@ static void remote_op_unbind(struct dcesrv_connection_context *context, const st
 static NTSTATUS remote_op_ndr_pull(struct dcesrv_call_state *dce_call, TALLOC_CTX *mem_ctx, struct ndr_pull *pull, void **r)
 {
        NTSTATUS status;
-       const struct ndr_interface_table *table = dce_call->context->iface->private;
+       const struct ndr_interface_table *table = (const struct ndr_interface_table *)dce_call->context->iface->private;
        uint16_t opnum = dce_call->pkt.u.request.opnum;
 
        dce_call->fault_code = 0;
index 3ac7934313e4549fcad69f89cb75d30092baebfc..a468dc537a6994e31908538aa3bcb2252863ba17 100644 (file)
@@ -35,6 +35,7 @@
 #include "libcli/security/security.h"
 #include "rpc_server/samr/proto.h"
 #include "db_wrap.h"
+#include "param/param.h"
 
 /* these query macros make samr_Query[User|Group]Info a bit easier to read */
 
index 6d70dd0bae6eecaf0828305f32a909d8f6226bf4..e9c56b9c171b690f3528a8cbb0e49e76324b6d41 100644 (file)
@@ -38,6 +38,7 @@
 #include "system/network.h"
 #include "lib/socket/netif.h"
 #include "build.h"
+#include "param/param.h"
 
 struct dcesrv_socket_context {
        const struct dcesrv_endpoint *endpoint;
index cd39bcda3d4249933a3c07454043e3748dd68a01..d6c8d864aacd90e408d6219f55654c04f50680e3 100644 (file)
@@ -29,6 +29,7 @@
 #include "smbd/service_stream.h"
 #include "librpc/gen_ndr/ndr_spoolss_c.h"
 #include "auth/credentials/credentials.h"
+#include "param/param.h"
 
 enum spoolss_handle {
        SPOOLSS_NOTIFY
index c0e1a0d2b4924744ff26ea54875f9b0aeb6e0abe..6e8732f7882bbda8d974f1712dfa83717e54b2d5 100644 (file)
@@ -28,6 +28,7 @@
 #include "libcli/security/security.h"
 #include "system/time.h"
 #include "rpc_server/srvsvc/proto.h"
+#include "param/param.h"
 
 #define SRVSVC_CHECK_ADMIN_ACCESS do { \
        struct security_token *t = dce_call->conn->auth_state.session_info->security_token; \
index bc7994a0074dc6055591a3552c844448f2030977..08b9eac5c1a37b3e6177ea59b535276f67b28e82 100644 (file)
@@ -21,6 +21,7 @@
 */
 
 #include "includes.h"
+#include "param/param.h"
 #include "scripting/ejs/smbcalls.h"
 #include "build.h"
 #include "version.h"
index 77d9dd33810296ae3e498180aaa5c51829e3462f..3aaf324b6e8e38a3f50037868c38558b8a036869 100644 (file)
@@ -38,4 +38,5 @@ struct ldb_context;
 struct ldb_message;
 struct cli_credentials;
 
+#include "param/param.h"
 #include "scripting/ejs/proto.h"
index fc26fddfd58a2b4b3edd8d0b49ed04c9b936a9c6..02b948182a23f3336de5e6fc2df1110533dd2244 100644 (file)
@@ -27,6 +27,7 @@
 #include "libcli/smb_composite/smb_composite.h"
 #include "libcli/libcli.h"
 #include "auth/credentials/credentials.h"
+#include "param/param.h"
 
 #if 0
 
index 6f15ee5a4a7488cbfe9bfc43556c0b0da7ece338..b31b70bda8b551c323f7559322d00cd6c93b2ae1 100644 (file)
@@ -25,6 +25,7 @@
 #include "param/loadparm.h"
 #include "system/network.h"
 #include "lib/socket/netif.h"
+#include "param/param.h"
 
 /*
   return a list of defined services
index afdee28a659c7f0a659ff1f41ba5586d3443db8b..0e7a83457abf591c91571fa1ca0911b061aaba1a 100644 (file)
@@ -20,9 +20,9 @@
 */
 
 #include "includes.h"
+#include "param/param.h"
 #include "scripting/ejs/smbcalls.h"
 #include "lib/appweb/ejs/ejs.h"
-#include "param/param.h"
 
 /*
   get parameter
index 95411943a12456fac1ee8b8aa43c4dba2c3e55e1..f5ae0aa507811591f3438e04875545b1990ec69e 100644 (file)
@@ -27,6 +27,7 @@
 #include "smb_server/service_smb_proto.h"
 #include "smbd/service_stream.h"
 #include "lib/stream/packet.h"
+#include "param/param.h"
 
 
 /* initialise the auth_context for this server and return the cryptkey */
index caa977c4f270fbc8178baab7623a0064d0ac67ff..b29b86e6ea63e61c30ef35d16668db6b88d615ff 100644 (file)
@@ -26,6 +26,7 @@
 #include "smb_server/service_smb_proto.h"
 #include "ntvfs/ntvfs.h"
 #include "system/filesys.h"
+#include "param/param.h"
 
 
 /*
index c159eb3b883bc3b717b1aea7478105c4a2dbd8c2..8a99223d8b5ef568788a34a0d04781b9edce0147 100644 (file)
@@ -21,6 +21,8 @@
 #include "smb_server/smb_server.h"
 #include "smbd/service_stream.h"
 #include "ntvfs/ntvfs.h"
+#include "param/share.h"
+#include "param/param.h"
 
 /****************************************************************************
   Make a connection, given the snum to connect to, and the vuser of the
index 647006028665312fa0396a664c6dafcaff5b9fe5..b3664ab7fe0264086c44421b9a1a1755a102b154 100644 (file)
@@ -30,6 +30,7 @@
 #include "smb_server/smb_server.h"
 #include "smbd/service_stream.h"
 #include "librpc/gen_ndr/nbt.h"
+#include "param/param.h"
 
 /*
   setup the OS, Lanman and domain portions of a session setup reply
index 7b7f03f8d36ad04d00544921b78e739d2534268e..120bc01c3e5e6bfdfd848add1bf02cc25396b444 100644 (file)
@@ -20,6 +20,7 @@
 #include "includes.h"
 #include "smb_server/smb_server.h"
 #include "libcli/raw/libcliraw.h"
+#include "param/param.h"
 
 
 /*
index a8c0e6f7862bc5061406d3a3b0bb8739b13d0178..6a36d2f3658a5e6fd54fff22e6cd498790fc61c2 100644 (file)
@@ -28,6 +28,7 @@
 #include "smbd/service_stream.h"
 #include "lib/stream/packet.h"
 #include "ntvfs/ntvfs.h"
+#include "param/param.h"
 
 static int smb2srv_request_destructor(struct smb2srv_request *req)
 {
index e4a9f982cd01a23764f1b9f43712b761fb2d3108..3ac7ca5ede9f65dffbfc7cddd378fdb1e9d65a72 100644 (file)
@@ -32,6 +32,7 @@
 #include "lib/socket/netif.h"
 #include "param/share.h"
 #include "dsdb/samdb/samdb.h"
+#include "param/param.h"
 
 static NTSTATUS smbsrv_recv_generic_request(void *private, DATA_BLOB blob)
 {
index fdb502d41d65c86872058280b53e1de5cfe2266e..167555fd28e45e55b0d5c120fdbdf42e110f5a47 100644 (file)
@@ -21,6 +21,7 @@
 
 #include "includes.h"
 #include "system/filesys.h"
+#include "param/param.h"
 
 /**
  * @file
index f83c7b784bcbee8d5da60de0db66acad2744542b..e11e6193fe8a5f592e726b272a8cbc047b89ee62 100644 (file)
@@ -21,6 +21,7 @@
 #include "includes.h"
 #include "smbd/process_model.h"
 #include "build.h"
+#include "param/param.h"
 
 /*
   setup the events for the chosen process model
index 78f39f7fa7b097ac47277baa5be11654fc294498..93f6f03be57e98404518083c9d95e6ce2bf304bc 100644 (file)
@@ -39,6 +39,7 @@
 #include "param/secrets.h"
 #include "smbd/pidfile.h"
 #include "cluster/ctdb/ctdb_cluster.h"
+#include "param/param.h"
 
 /*
   recursively delete a directory tree
index 5117697f875160e9c73bc367153694b445f23ac5..84aebc9ce9f5d3a8fd4a6e8aa1abaeee3d17c73f 100644 (file)
@@ -28,6 +28,7 @@
 #include "smbd/service_stream.h"
 #include "lib/messaging/irpc.h"
 #include "cluster/cluster.h"
+#include "param/param.h"
 
 /* the range of ports to try for dcerpc over tcp endpoints */
 #define SERVER_TCP_LOW_PORT  1024
index 8c510efab48c03899c24edccc4c46bd3cb3c0276..b6b1d021dccc7f72471c59919ed3cce904764c12 100644 (file)
@@ -29,6 +29,7 @@
 #include "librpc/gen_ndr/ndr_nbt.h"
 #include "lib/events/events.h"
 #include "lib/cmdline/popt_common.h"
+#include "param/param.h"
 
 
 #define CHECK_MAX_FAILURES(label) do { if (++failures >= torture_failures) goto label; } while (0)
index d72e3ca1cd7329886709abfc4662fed57f202cff..d493aa819ec3bdbe763f4ffea7d35fbaeb348d6e 100644 (file)
@@ -33,6 +33,7 @@
 #include "torture/util.h"
 #include "libcli/smb_composite/smb_composite.h"
 #include "libcli/composite/composite.h"
+#include "param/param.h"
 
 extern struct cli_credentials *cmdline_credentials;
        
index cb6cc84152c78f23b743f76b3cf6b47ced5f0cda..030a4f5f675e3edf3b61605d5ee274b7ecf4824b 100644 (file)
@@ -27,6 +27,7 @@
 #include "system/time.h"
 #include "libcli/smb_composite/smb_composite.h"
 #include "auth/credentials/credentials.h"
+#include "param/param.h"
 
 static BOOL try_failed_login(struct smbcli_state *cli)
 {
index d232f490169c39ddd2472c95127d8faebff6a70c..6a1c077fd5c737235d13c48b830d3d2a454b80cf 100644 (file)
@@ -26,6 +26,7 @@
 #include "librpc/gen_ndr/security.h"
 #include "auth/credentials/credentials.h"
 #include "auth/gensec/gensec.h"
+#include "param/param.h"
 
 #define NSERVERS 2
 #define NINSTANCES 2
index 17b8a94f42978d2fc78a944f95cfafc74e1e1185..cfd3c10968b7cd6916726a22860848d33c1bfad2 100644 (file)
@@ -23,6 +23,7 @@
 #include "lib/events/events.h"
 #include "libnet/libnet.h"
 #include "librpc/gen_ndr/ndr_samr_c.h"
+#include "param/param.h"
 
 static BOOL test_domainopen(struct libnet_context *net_ctx, TALLOC_CTX *mem_ctx,
                            struct lsa_String *domname,
index 0dca1519ded24c59c2d1b6d71ed5cf992bb8d6c0..9be25115655876fdd2a69b4994d8b4dc4342a85d 100644 (file)
@@ -23,6 +23,7 @@
 #include "libnet/libnet.h"
 #include "libcli/security/security.h"
 #include "librpc/gen_ndr/ndr_samr_c.h"
+#include "param/param.h"
 
 #define TEST_GROUPNAME  "libnetgroupinfotest"
 
index 675ab9f0996fe97b3e028bd81304bf5778fdc1ef..1bcbfbbe4f49ea5bc722444464f010ed0ef4359d 100644 (file)
@@ -30,6 +30,7 @@
 #include "librpc/rpc/dcerpc.h"
 #include "torture/torture.h"
 #include "torture/rpc/rpc.h"
+#include "param/param.h"
 
 
 static BOOL test_opendomain_samr(struct dcerpc_pipe *p, TALLOC_CTX *mem_ctx,
index 1f4725d6dd1dc6d2fafd36b69782df5938cefa60..bc51c4242a844095cfca76793cef93cabd05e0c1 100644 (file)
@@ -26,6 +26,7 @@
 #include "librpc/gen_ndr/ndr_lsa_c.h"
 #include "torture/torture.h"
 #include "torture/rpc/rpc.h"
+#include "param/param.h"
 
 
 #define TEST_GROUPNAME  "libnetgrouptest"
index 116816a40a78d6c18e2ed9fa23de5cd70c293721..a98781bc172d91aa43f8cb7b099b5eee0d5794c8 100644 (file)
@@ -26,6 +26,7 @@
 #include "libcli/libcli.h"
 #include "torture/rpc/rpc.h"
 #include "torture/torture.h"
+#include "param/param.h"
 
 
 BOOL torture_lookup(struct torture_context *torture)
index 07c586ebf370c4bb44e0465bda258bbb61e17ecf..1509324b659e55cb5cfcb2a165dcd3ef755c4733 100644 (file)
@@ -30,6 +30,7 @@
 #include "librpc/rpc/dcerpc.h"
 #include "torture/rpc/rpc.h"
 #include "torture/torture.h"
+#include "param/param.h"
 
 
 static BOOL test_connect_service(struct libnet_context *ctx,
index 7a3b9f19c150e3ae54ddd0a120df2436eb4315cf..186bd98aa5a7fd2f832bd7ce75384faf3b74f7bb 100644 (file)
@@ -27,6 +27,7 @@
 #include "torture/torture.h"
 #include "torture/rpc/rpc.h"
 #include "torture/libnet/usertest.h"
+#include "param/param.h"
 
 
 static BOOL test_cleanup(struct dcerpc_pipe *p, TALLOC_CTX *mem_ctx,
index ad35e8486145fdaf20ec86ac8ccfc8be98279b4b..95975e630ed44a79742a0999483ed3a234c861cb 100644 (file)
@@ -23,6 +23,7 @@
 #include "libnet/libnet.h"
 #include "libcli/security/security.h"
 #include "librpc/gen_ndr/ndr_samr_c.h"
+#include "param/param.h"
 
 #define TEST_USERNAME  "libnetuserinfotest"
 
index 90b3f41959fe4adde8ad82e292b78bfd6ec377ed..deebfd9014db2e418e3b67561e6bc727b69b2eac 100644 (file)
@@ -23,6 +23,7 @@
 #include "torture/libnet/usertest.h"
 #include "libnet/libnet.h"
 #include "librpc/gen_ndr/ndr_samr_c.h"
+#include "param/param.h"
 
 
 static BOOL test_opendomain(struct dcerpc_pipe *p, TALLOC_CTX *mem_ctx,
index c543aa7c8fe93ab348722d853f5b50bc76182466..8c2d5a305499b48216459e3f497673ed41427255 100644 (file)
@@ -25,6 +25,7 @@
 #include "system/iconv.h"
 #include "system/time.h"
 #include "libcli/raw/libcliraw.h"
+#include "param/param.h"
 #include "torture/util.h"
 
 #if HAVE_NATIVE_ICONV
index f21a050396640ae957e96a29076bcd97f94648ff..7c5de2dd5665a42346d05749168b12de64c0daf9 100644 (file)
@@ -25,6 +25,7 @@
 #include "librpc/gen_ndr/ndr_echo.h"
 #include "torture/torture.h"
 #include "cluster/cluster.h"
+#include "param/param.h"
 
 const uint32_t MSG_ID1 = 1, MSG_ID2 = 2;
 
index 724e2a54c7d2649dd39310e4fe9c33d6aa18847a..e70fd7c24dddb62c536258f9e99d5a4d11b3b285 100644 (file)
@@ -24,6 +24,7 @@
 #include "lib/messaging/irpc.h"
 #include "torture/torture.h"
 #include "cluster/cluster.h"
+#include "param/param.h"
 
 
 static uint32_t msg_pong;
index ba0ba344d9b3b3264a7423da0a08fa2c800d5493..4f0bfa8e060c9f7cea5910c94fe6b1421d284537 100644 (file)
@@ -24,6 +24,7 @@
 #include "auth/credentials/credentials.h"
 #include "auth/gensec/gensec.h"
 #include "libcli/libcli.h"
+#include "param/param.h"
 
 static int numops = 1000;
 static BOOL showall;
index 3eac50cbca4f84e91b3e2a25c824daea57b431fb..53cceb9699137bd6d6f1ab77dec2e06d0ef7c3e4 100644 (file)
@@ -26,6 +26,7 @@
 #include "pstring.h"
 #include "auth/credentials/credentials.h"
 #include "auth/gensec/gensec.h"
+#include "param/param.h"
 
 static struct cli_credentials *credentials;
 static BOOL showall = False;
index c4515ea79712e377a123a9c1209d29983369d79a..e3bfaa6db3bb48393ac606d2533bfa332afc42c1 100644 (file)
@@ -30,6 +30,7 @@
 #include "libcli/resolve/resolve.h"
 #include "system/network.h"
 #include "lib/socket/netif.h"
+#include "param/param.h"
 
 #define TEST_NAME "TORTURE_TEST"
 
index 69ef56231ba76df8a072e6442830d42fa2d6cf72..c829b36e8e517eb9a85a0dc3d056ec84c7d58642 100644 (file)
@@ -30,6 +30,7 @@
 #include "librpc/gen_ndr/ndr_nbt.h"
 #include "torture/torture.h"
 #include "torture/nbt/proto.h"
+#include "param/param.h"
 
 #define CHECK_STATUS(tctx, status, correct) \
        torture_assert_ntstatus_equal(tctx, status, correct, \
index e66ebcde023d3b786ea667a19ff3bdd03e2c741b..ea5c09c335942bfa1a55cb00cea2f5743a94d499 100644 (file)
@@ -30,6 +30,7 @@
 #include "librpc/gen_ndr/ndr_misc.h"
 #include "lib/cmdline/popt_common.h"
 #include "torture/util.h"
+#include "param/param.h"
 
 #define BASEDIR "\\composite"
 
index 11cb91768b6f3d194590333ce145a211f51f691b..79771a004d7e238e55db8b8b47bad24e4b116911 100644 (file)
@@ -27,6 +27,7 @@
 #include "libcli/libcli.h"
 #include "torture/util.h"
 #include "auth/credentials/credentials.h"
+#include "param/param.h"
 
 #define BASEDIR "\\rawcontext"
 
index b6eedbc5860fab7a6101c92f0d43508c668c3ce5..5e8056438049857d1b4cb7ec09d8d50ab74e3481 100644 (file)
@@ -25,6 +25,7 @@
 #include "libcli/raw/libcliraw.h"
 #include "libcli/libcli.h"
 #include "torture/util.h"
+#include "param/param.h"
 
 #define BASEDIR "\\testeas"
 
index 533974c9a9825c7b11c9a4f9d5a118923f83e80f..e4ab9d9e4a090808540c21931024d8b55a3c6df1 100644 (file)
@@ -27,6 +27,7 @@
 #include "libcli/composite/composite.h"
 #include "libcli/smb_composite/smb_composite.h"
 #include "lib/cmdline/popt_common.h"
+#include "param/param.h"
 
 #define CHECK_STATUS(status, correct) do { \
        if (!NT_STATUS_EQUAL(status, correct)) { \
index 44b60b8695ec06a6438619e722ac7d56a6942577..6ef33be75987c8352611a7d6ebf07c10b9375160 100644 (file)
@@ -30,6 +30,7 @@
 #include "lib/cmdline/popt_common.h"
 #include "libcli/composite/composite.h"
 #include "libcli/smb_composite/smb_composite.h"
+#include "param/param.h"
 
 #define BASEDIR "\\benchlock"
 #define FNAME BASEDIR "\\lock.dat"
index 071783a27701e51a344cc2d1f86bc5e79df3cea5..c4d7bc253466bf5465efcc97ed4e0bd585e55379 100644 (file)
@@ -22,6 +22,7 @@
 #include "libcli/raw/libcliraw.h"
 #include "libcli/libcli.h"
 #include "torture/util.h"
+#include "param/param.h"
 
 #define BASEDIR "\\mkdirtest"
 
index 7d0d46d3d1e307b96389d615f4af526fb884e4a6..d744a891e5f979c3b16b79f5e59423f8c4039edf 100644 (file)
@@ -23,6 +23,7 @@
 #include "libcli/libcli.h"
 #include "system/filesys.h"
 #include "torture/util.h"
+#include "param/param.h"
 
 #define BASEDIR "\\test_notify"
 
index f8fa4ff8febb8290de07a58444703878ae32a9f4..104a2056e30dad883a130781df1647c680b14bd9 100644 (file)
@@ -28,6 +28,7 @@
 #include "torture/util.h"
 #include "auth/credentials/credentials.h"
 #include "lib/cmdline/popt_common.h"
+#include "param/param.h"
 
 /* enum for whether reads/writes are possible on a file */
 enum rdwr_mode {RDWR_NONE, RDWR_RDONLY, RDWR_WRONLY, RDWR_RDWR};
index fffb572d50b4a77aa4f18a6e46fa8668ce86c8a6..d412a0406cf3c14e31f2d732d9f8532eb00184df 100644 (file)
@@ -30,6 +30,7 @@
 #include "lib/cmdline/popt_common.h"
 #include "libcli/composite/composite.h"
 #include "libcli/smb_composite/smb_composite.h"
+#include "param/param.h"
 
 #define BASEDIR "\\benchopen"
 
index 027034275a1c276f6573699cf40459a6d4f532ff..6841253c91ef1017ad0fa42c43154451e4c7be75 100755 (executable)
@@ -50,6 +50,7 @@
 #include "system/filesys.h"
 #include "libcli/libcli.h"
 #include "torture/util.h"
+#include "param/param.h"
 
 
 
index 3c108dce2d2a8110f1fa0cac0e390e16e0461237..b00b377c7f8908d5f13c95c90246050880d8ecf7 100644 (file)
@@ -24,6 +24,7 @@
 #include "system/filesys.h"
 #include "libcli/libcli.h"
 #include "torture/util.h"
+#include "param/param.h"
 
 #define CHECK_STATUS(status, correct) do { \
        if (!NT_STATUS_EQUAL(status, correct)) { \
index 57595dab4466a8fb5cff9a18279b0dfbc0212ebd..74c32728a1bf3bcd2921e79c38171a29cb62c943 100644 (file)
@@ -25,6 +25,7 @@
 #include "libcli/libcli.h"
 #include "torture/util.h"
 #include "lib/events/events.h"
+#include "param/param.h"
 
 #define CHECK_STATUS(status, correct) do { \
        if (!NT_STATUS_EQUAL(status, correct)) { \
index 860a09727dbb6e1f5601870626b6cef17f5bffc4..59e1aeb27c7be2daac761f71c0e787889df7b764 100644 (file)
@@ -23,6 +23,7 @@
 #include "libcli/raw/libcliraw.h"
 #include "libcli/libcli.h"
 #include "torture/util.h"
+#include "param/param.h"
 
 #define CHECK_STATUS(status, correct) do { \
        if (!NT_STATUS_EQUAL(status, correct)) { \
index 48fd0609f005a10796b89f5f26b23366585f9159..be00e0b7a6ad72355e381b0ad917620af72a084f 100644 (file)
@@ -23,6 +23,7 @@
 #include "torture/torture.h"
 #include "librpc/gen_ndr/ndr_srvsvc_c.h"
 #include "torture/rpc/rpc.h"
+#include "param/param.h"
 
 /**************************/
 /* srvsvc_NetShare        */
index e2e222d2ecb07a22c40d8645eb205b7ce2d0d1f1..c1fdc069cb0741de89d236dae064b5e320689e19 100644 (file)
@@ -25,6 +25,7 @@
 #include "librpc/ndr/libndr.h"
 #include "librpc/ndr/ndr_table.h"
 #include "torture/rpc/rpc.h"
+#include "param/param.h"
 
 
        
index 7dc600ae9377886a5bb3a1bf445fd41d0179b46b..19df14c772472e0b3d01e3eddaababf9983f7090 100644 (file)
@@ -487,7 +487,7 @@ bool torture_rpc_dfs(struct torture_context *torture)
        struct dcerpc_pipe *p;
        BOOL ret = True;
        enum dfs_ManagerVersion version;
-       const char *host = lp_parm_string(-1, "torture", "host");
+       const char *host = torture_setting_string(torture, "host", NULL);
 
        status = torture_rpc_connection(torture, &p, &ndr_table_netdfs);
        torture_assert_ntstatus_ok(torture, status, "Unable to connect");
index 08420d0d17d5b8e614654a4a10263981d0796790..c3ec54cbcdbe6ac5b6eaad921e2ad4ac767d365d 100644 (file)
@@ -26,6 +26,7 @@
 #include "librpc/gen_ndr/ndr_drsuapi_c.h"
 #include "torture/rpc/rpc.h"
 #include "dlinklist.h"
+#include "param/param.h"
 
 #define TEST_MACHINE_NAME "torturetest"
 
index b1a65179aa8199d9c8629b2e6e1b1efb067448c2..08c102c40069b17a0c3fa037674702a66423216b 100644 (file)
@@ -447,7 +447,7 @@ bool test_DsCrackNames(struct torture_context *tctx,
                                .comment = "display name for Microsoft Support Account",
                                .status = DRSUAPI_DS_NAME_STATUS_OK,
                                .alternate_status = DRSUAPI_DS_NAME_STATUS_NOT_UNIQUE,
-                               .skip = lp_parm_bool(-1, "torture", "samba4", False)
+                               .skip = torture_setting_bool(tctx, "samba4", False)
                        },
                        {
                                .format_offered = DRSUAPI_DS_NAME_FORMAT_GUID,
index 6357fa9ee52ce7a4d6fefbdb481cdc6e8c540a56..bf3e59c380b948d9159f8253bb483712e00f3def 100644 (file)
@@ -32,6 +32,7 @@
 #include "auth/credentials/credentials.h"
 #include "libcli/auth/libcli_auth.h"
 #include "auth/gensec/gensec.h"
+#include "param/param.h"
 
 struct DsSyncBindInfo {
        struct dcerpc_pipe *pipe;
index cfdf483f8d613cf4e90b827cabd3dde5510e0de4..46660231f8bfc6b665b9af701f2160af3d8ee68b 100644 (file)
@@ -27,6 +27,7 @@
 #include "libcli/security/security.h"
 #include "libcli/auth/libcli_auth.h"
 #include "torture/rpc/rpc.h"
+#include "param/param.h"
 
 static void init_lsa_String(struct lsa_String *name, const char *s)
 {
index 6d0c3d56c90d37b7c06e64bbbc734638b2494b34..40a34384927ef0472b37bd9aeead6831f8a84e04 100644 (file)
@@ -24,6 +24,7 @@
 #include "auth/gensec/gensec.h"
 #include "librpc/ndr/ndr_table.h"
 #include "torture/rpc/rpc.h"
+#include "param/param.h"
 
 
 /*
index 7a94ef764515a2c8858b7a78b66ea6f73168e903..907772ac8a59a0b535597e9aa8e8a8e7795bfbf8 100644 (file)
@@ -30,6 +30,7 @@
 #include "libcli/auth/libcli_auth.h"
 #include "librpc/gen_ndr/ndr_netlogon_c.h"
 #include "librpc/gen_ndr/ndr_lsa_c.h"
+#include "param/param.h"
 
 #define TEST_MACHINE_NAME "torturetest"
 
index 72eba40344c25e8f841bdb82452c88e21b6f24e1..73bb12de87d763ed107f9e81ea5331ad4636ba48 100644 (file)
@@ -48,6 +48,7 @@
 #include "libcli/auth/libcli_auth.h"
 #include "lib/crypto/crypto.h"
 #include "libcli/security/proto.h"
+#include "param/param.h"
 
 static struct cli_credentials *create_anon_creds(TALLOC_CTX *mem_ctx)
 {
index da74067336f989db83740b9becacec438b53fcec..b149af18597468374bd4bdcdfdda8b357b8314d5 100644 (file)
@@ -31,6 +31,7 @@
 #include "torture/rpc/rpc.h"
 #include "auth/gensec/schannel_proto.h"
 #include "libcli/auth/libcli_auth.h"
+#include "param/param.h"
 
 #define TEST_MACHINE_NAME "samlogontest"
 #define TEST_USER_NAME "samlogontestuser"
index dada316a39c55441ad22dab1b3c7e7150f5e2087..757142003ab04da539d19a799a77f4e192dc0c0b 100644 (file)
@@ -28,6 +28,7 @@
 #include "libcli/auth/libcli_auth.h"
 #include "libcli/security/security.h"
 #include "torture/rpc/rpc.h"
+#include "param/param.h"
 
 #define TEST_ACCOUNT_NAME "samrtorturetest"
 #define TEST_ALIASNAME "samrtorturetestalias"
index 358bf8791a6ce734c9c82045bce870b9946b7352..baf4edca987c5632ae8281d41f7c4a76f980a300 100644 (file)
@@ -36,6 +36,7 @@
 #include "librpc/gen_ndr/ndr_lsa_c.h"
 #include "librpc/gen_ndr/ndr_samr_c.h"
 #include "librpc/gen_ndr/ndr_security.h"
+#include "param/param.h"
 
 #define TEST_MACHINE_NAME "samsynctest"
 #define TEST_WKSTA_MACHINE_NAME "samsynctest2"
index e1d7c69676fe13ff192c65be199c2c148e15f2e8..c070a477544078cd6df552b558479148f7d398ab 100644 (file)
@@ -24,6 +24,7 @@
 #include "librpc/gen_ndr/ndr_mgmt_c.h"
 #include "librpc/ndr/ndr_table.h"
 #include "torture/rpc/rpc.h"
+#include "param/param.h"
 
 /*
   work out how many calls there are for an interface
index e6bc00312a6789ee525db51d52faa05de2d138d6..2494fbeffff96f8051e925bb5e5aff4d3b62b450 100644 (file)
@@ -30,6 +30,7 @@
 #include "libcli/auth/libcli_auth.h"
 #include "libcli/security/security.h"
 #include "system/filesys.h"
+#include "param/param.h"
 
 #define TEST_MACHINE_NAME "schannel"
 
index d35d9fd4fc01083a34e689db3460af0f2d1cfaa1..0e1c2666f8636710fe9d52091ab3b964d66ef973 100644 (file)
@@ -26,6 +26,7 @@
 #include "libcli/auth/libcli_auth.h"
 #include "torture/rpc/rpc.h"
 #include "lib/cmdline/popt_common.h"
+#include "param/param.h"
 
 static void init_lsa_String(struct lsa_String *name, const char *s)
 {
index 43955888f5c1b85e847295b5800ba64be4c78373..c6fb71c4654d9f91b898d5c7b86ea80856d0945f 100644 (file)
@@ -31,6 +31,7 @@
 #include "lib/socket/netif.h"
 #include "dlinklist.h"
 #include "ntvfs/ntvfs.h"
+#include "param/param.h"
 
 static NTSTATUS spoolss__op_bind(struct dcesrv_call_state *dce_call, const struct dcesrv_interface *iface)
 {
index 56a0fccde4cabf6b49da00aa1b630c2eea93cc32..e20699cc04bb773997a112a17f036d786d4a7b12 100644 (file)
@@ -36,6 +36,7 @@
 #include "libcli/auth/libcli_auth.h"
 #include "torture/rpc/rpc.h"
 #include "libcli/security/security.h"
+#include "param/param.h"
 
 struct test_join {
        struct dcerpc_pipe *p;
index 62d273e6230c5060f410146718ac474ab9520996..fdfc4378ab683fe1e8d18cfc86b02ec44e6cecf1 100644 (file)
@@ -25,6 +25,7 @@
 #include "libcli/smb2/smb2_calls.h"
 #include "torture/torture.h"
 #include "torture/smb2/proto.h"
+#include "param/param.h"
 
 /*
   send a close
index fc59d1ac30b4b40e7ca081e1273253af5177bac2..c5182fb553ce087731b179c38c20b6af56582397 100644 (file)
@@ -26,6 +26,8 @@
 #include "torture/torture.h"
 #include "torture/smb2/proto.h"
 
+#include "param/param.h"
+
 static struct {
        const char *name;
        uint16_t level;
index 5e680fbcecb776017b283165212c74c056165879..caa3a5fd52ae87f89666e67cc37b8dc951c4d1d0 100644 (file)
@@ -26,6 +26,7 @@
 #include "lib/events/events.h"
 #include "system/time.h"
 #include "librpc/gen_ndr/ndr_security.h"
+#include "param/param.h"
 
 
 /*
index babfb42fd8e75a9d1c2925f97f12aa43767719d7..a148081fb3b9f8300464355eae588ef1531f8aa2 100644 (file)
@@ -34,6 +34,7 @@
 #include "build.h"
 #include "lib/util/dlinklist.h"
 #include "librpc/rpc/dcerpc.h"
+#include "param/param.h"
 
 static bool run_matching(struct torture_context *torture,
                                                 const char *prefix, 
index aa3dc14d55869bf291a110135d8208b5e5b9692e..2a1e731303c431628dcb4be6109c523b3def81fd 100644 (file)
@@ -25,6 +25,7 @@
 #include "lib/util/dlinklist.h"
 #include "auth/credentials/credentials.h"
 #include "lib/cmdline/popt_common.h"
+#include "param/param.h"
 
 _PUBLIC_ int torture_numops=10;
 _PUBLIC_ int torture_entries=1000;
index bd0fb7c2bb3962cac1b2130896f7670f14e92189..6a1c2a31f35ad92f0b6f37e1ebadccc714ef42d8 100644 (file)
@@ -22,6 +22,7 @@
 #include "torture/ui.h"
 #include "torture/torture.h"
 #include "lib/util/dlinklist.h"
+#include "param/param.h"
 
 void torture_comment(struct torture_context *context, const char *comment, ...)
 {
index 8322e57bd1ff58f0713a24de3491fcf99556993a..80431f5ac553b437d1a84ab59a311d6639e5c799 100644 (file)
@@ -24,6 +24,7 @@
 #include "libcli/raw/interfaces.h"
 #include "lib/cmdline/popt_common.h"
 #include "auth/credentials/credentials.h"
+#include "param/param.h"
 
 /* Size (in bytes) of the required fields in the SMBwhoami response. */
 #define WHOAMI_REQUIRED_SIZE   40
index 8e4f3b56eeafaf77a3a28e0c4f26ded8164b0300..01826dccfc5ff7f8515ff632434e2bac62f3a5a3 100644 (file)
@@ -31,6 +31,7 @@
 #include "torture/torture.h"
 #include "util/dlinklist.h"
 #include "auth/credentials/credentials.h"
+#include "param/param.h"
 
 
 /**
index 98bf19d234cd991728e218ec097b7dae1775c78e..59b35d70fab669392c2e67a29c16c77eed9b4b4f 100644 (file)
@@ -23,6 +23,7 @@
 #include "utils/net/net.h"
 #include "libnet/libnet.h"
 #include "libcli/security/security.h"
+#include "param/param.h"
 
 int net_join(struct net_context *ctx, int argc, const char **argv) 
 {
index 9659541319e75ef222e6151950ae98a3a53dc5ca..8775bab2db3b04a0795aec9b18e2bcd373eab845 100644 (file)
@@ -37,6 +37,7 @@
 #include "lib/messaging/messaging.h"
 #include "lib/messaging/irpc.h"
 #include "auth/ntlmssp/ntlmssp.h"
+#include "param/param.h"
 
 #define INITIAL_BUFFER_SIZE 300
 #define MAX_BUFFER_SIZE 63000
index 886b51300f10815e1b9baffd2f067d51314bb212..e0ebe48d638f8a9f5e1bf541e50f8587c90e0e5e 100644 (file)
@@ -36,6 +36,7 @@
 #include "system/filesys.h"
 #include "lib/cmdline/popt_common.h"
 #include "lib/socket/socket.h"
+#include "param/param.h"
 
 
 /***********************************************
index 502d5de2d0646480290950e6a0155fd9317134b4..985f1c040866b9fb7d9add1f095219fb4a194934 100644 (file)
@@ -32,6 +32,7 @@
 #include "lib/util/dlinklist.h"
 #include "lib/tls/tls.h"
 #include "scripting/ejs/smbcalls.h"
+#include "param/param.h"
 
 #define SAMBA_SESSION_KEY "SambaSessionId"
 #define HTTP_PREAUTH_URI  "/scripting/preauth.esp"
index f9031433d38a5542d09fb68bd2cc48c5af0ee7b1..efad8b6512cbabe4da5fa246906db7a0ec49e474 100644 (file)
@@ -29,6 +29,7 @@
 #include "system/network.h"
 #include "lib/socket/netif.h"
 #include "lib/tls/tls.h"
+#include "param/param.h"
 
 /* don't allow connections to hang around forever */
 #define HTTP_TIMEOUT 120
index b1933aa2c5c79c3efb15786f96edabb1e7685b61..86488d964b6e73bd6c7c400e3d568a55784f4d02 100644 (file)
@@ -27,7 +27,7 @@
 #include "smbd/service_task.h"
 #include "nsswitch/winbindd_nss.h"
 #include "libnet/libnet_proto.h"
-#include "param/proto.h"
+#include "param/param.h"
 #include "libcli/security/proto.h"
 
 struct cmd_getpwnam_state {
index 1a59b5486ed8c8d00548053589298aaa135ff9b4..63a71b02ccd76c72196baa23587d771c0687f244 100644 (file)
@@ -27,7 +27,7 @@
 #include "smbd/service_task.h"
 #include "nsswitch/winbindd_nss.h"
 #include "libnet/libnet_proto.h"
-#include "param/proto.h"
+#include "param/param.h"
 #include "libcli/security/proto.h"
 #include "auth/credentials/credentials.h"
 
index 5ec8f1a1597953ccd54c693d30b4d9b254f78c02..f07daaec9a2bd66cca5c765a2110e52f3664275f 100644 (file)
@@ -30,6 +30,7 @@
 #include "librpc/gen_ndr/samr.h"
 #include "lib/messaging/irpc.h"
 #include "libcli/finddcs.h"
+#include "param/param.h"
 
 struct get_dom_info_state {
        struct composite_context *ctx;
index 9982a16d7414754254768f88ebb771c4320d1bcf..c5e6383c5c2f9b75f5547396daeb9e99fcb7481c 100644 (file)
@@ -27,6 +27,7 @@
 #include "smbd/service_task.h"
 #include "librpc/gen_ndr/ndr_netlogon_c.h"
 #include "libcli/libcli.h"
+#include "param/param.h"
 
 struct trusted_dom_info_state {
        struct composite_context *ctx;
index da03f0d406f6ee936c5c537f2339d69cdb3dbfac..21fbb6a2b7b7ff4cc79e2da20cce80a3421ded97 100644 (file)
@@ -38,6 +38,7 @@
 #include "libcli/ldap/ldap_client.h"
 
 #include "auth/credentials/credentials.h"
+#include "param/param.h"
 
 /*
  * Initialize a domain:
index 4874254eff91002977f9f115adc79b7df41b872a..ef19c32331bb766918ce8baea88ee7403eb9c1cb 100644 (file)
@@ -29,6 +29,7 @@
 #include "librpc/gen_ndr/ndr_netlogon.h"
 #include "librpc/gen_ndr/ndr_netlogon_c.h"
 #include "librpc/gen_ndr/winbind.h"
+#include "param/param.h"
 
 /* Oh, there is so much to keep an eye on when authenticating a user.  Oh my! */
 struct pam_auth_crap_state {
index af361794ed9a9919fb59d8d99dd883b46506ccf9..a86fc3d3a2cba89104e0a8cab988e277772bb9ff 100644 (file)
@@ -31,6 +31,7 @@
 #include "librpc/gen_ndr/netlogon.h"
 #include "libcli/security/security.h"
 #include "auth/pam_errors.h"
+#include "param/param.h"
 
 /* 
    Send off the reply to an async Samba3 query, handling filling in the PAM, NTSTATUS and string errors.
index 3793275aa3da329c04f7d7a396700c75986e2e3e..8a3f9e3154de2353951ec1c9e12156f35ed283ae 100644 (file)
@@ -31,6 +31,7 @@
 #include "lib/stream/packet.h"
 #include "smbd/service.h"
 #include "param/secrets.h"
+#include "param/param.h"
 
 void wbsrv_terminate_connection(struct wbsrv_connection *wbconn, const char *reason)
 {
index 257a1afdc0e719d21ab811a744011249ce2f4458..d813df00d199afc36fc25d0ac27088af3c898700 100644 (file)
@@ -26,6 +26,7 @@
 #include "winbind/wb_async_helpers.h"
 #include "libcli/security/security.h"
 #include "lib/util/dlinklist.h"
+#include "param/param.h"
 
 static struct wbsrv_domain *find_domain_from_sid(struct wbsrv_service *service,
                                                 const struct dom_sid *sid)
index 5938bb391d8b4c894c37e1725f5237a503edc011..b9d46af8c206311821732d51633007bd2ef2fe77 100644 (file)
@@ -20,6 +20,7 @@
 */
 
 #include "includes.h"
+#include "param/param.h"
 
 
 /* Split a domain\\user string into it's parts, because the client supplies it
index 9b0f5522e518239d70d750f241a330d228e5f4ee..e90c6fddfb58f0e27f6eabf9e9328cc8f97b3a4e 100644 (file)
@@ -31,6 +31,7 @@
 #include "smbd/process_model.h"
 #include "system/network.h"
 #include "lib/socket/netif.h"
+#include "param/param.h"
 
 void wreplsrv_terminate_in_connection(struct wreplsrv_in_connection *wreplconn, const char *reason)
 {
index dfbc97a6b7f53df3affb45be9855b5382186e426..6ac7fed0ccf11d454e9efc4c27f5f0ddb1cc0b57 100644 (file)
@@ -31,6 +31,7 @@
 #include "ldb/include/ldb_errors.h"
 #include "auth/auth.h"
 #include "db_wrap.h"
+#include "param/param.h"
 
 static struct ldb_context *wins_config_db_connect(TALLOC_CTX *mem_ctx)
 {