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 b74bbc3..8cd46cd 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 840db3e..e9b24d5 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 61e004f..dd000e9 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 693ec35..8398bbf 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 c32efb0..2899bc5 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 2b6bc4f..5770dbf 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 51d0056..a974cd5 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 dd9f19a..a3351f7 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 811e562..81b4181 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 a911ed9..afbbd61 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 c11d93f..000e715 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 5c5ad1f..d3dbc3c 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 003394a..a98918a 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 52b3bfc..8b6920c 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 6e16094..ed01c0b 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 a1a1414..fbf6f78 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 1dec279..5eef4de 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 28c9059..2663184 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 0a3cb21..eaa8fe4 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 d416a63..693de9f 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 f894af8..738d8a1 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 dc4759e..feefe90 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 b26358b..e4e2aed 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 a275810..22d04a5 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 31182a4..288ed29 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 40cb306..340d0c3 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 ddee8d1..93f45b8 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 f26e5a7..b3d5ccd 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 c8ae293..5afcf8c 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 2ea1a96..a6753d4 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 fcf29d4..dda9f75 100644 (file)
@@ -21,6 +21,7 @@
 */
 #include "includes.h"
 #include "system/iconv.h"
+#include "param/param.h"
 
 /**
  * @file
index 062b4dd..8510f70 100644 (file)
@@ -22,6 +22,7 @@
 #include "lib/util/dlinklist.h"
 #include "system/iconv.h"
 #include "system/filesys.h"
+#include "param/param.h"
 
 
 /**
index 413c8e7..6f91c3a 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 259dbf8..9abd7f5 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 0e026f8..f91006b 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 c0bac67..02e82c7 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 dedb344..b6af8ab 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 9ba3254..77225b9 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 761339b..ec72d01 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 4b609b0..2ad5e3b 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 a5d6f76..dfb69ab 100644 (file)
@@ -18,6 +18,7 @@
 
 #include "includes.h"
 #include "registry.h"
+#include "param/param.h"
 
 /**
  * @file
index dd2440b..fe8bc5c 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 6bf7ca4..445a1da 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 58d00ba..00b1f6c 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 5e19485..640d195 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 a5c4cc6..4c41e13 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 50fe41c..a91157c 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 84a2a7e..78bd431 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 14eb7b9..7a325eb 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 df47a34..79acf60 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 5881dcf..6b9b174 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 a159ab6..46cca36 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 32de972..ab26a7b 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 afa80d6..d68cdb5 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 7b03667..62c4a19 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 fd3967d..efc31b1 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 bb3e15d..b44b50e 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 0aa6ec5..51f631e 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 0482b04..90f51b2 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 a5217d7..6a15c25 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 c2dc393..eff22ee 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 a37c9a7..1a82ea0 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 ad331c8..faa2962 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 ee9b8df..9315c0f 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 f7bfdc3..8c88950 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 a365f25..0edf64c 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 026fe0b..27b16ec 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 5797062..6a14e57 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 711f02a..347d513 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 a628a07..1994b68 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 e2f4f03..47a250a 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 40debc6..9404bc8 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 1947ead..2c30128 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 1147258..7403dd9 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 6b47e43..c946d0b 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 4406257..e823025 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 c255238..eb06abd 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 51888ce..e24dffb 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 bea1e84..da15340 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 b0bc55c..40fa605 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 09b2549..f53d355 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 4f42ec5..30b3c5f 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 6b59262..3b81d65 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 e5d8b39..e89e6b8 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 0b8856f..1fa073d 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 3c59902..2794622 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 7b281ff..cfaee05 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 f75250e..47d2540 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 7e674fd..120a475 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 d63bdb1..5735dbe 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 dcdaa5e..f0edd47 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 4c079b3..d248bd7 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 69282dd..63c6abd 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 0bfe6e4..0a79b79 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 03c5aff..39e4ca7 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 5df4a57..75e474a 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 30bb530..120f883 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 afeb319..6fab101 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 8d2aed7..53ac7fa 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 3d12118..83c852a 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 26173fb..e7c00f5 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 c38e5d7..15f52eb 100644 (file)
@@ -21,6 +21,7 @@
 
 #include "includes.h"
 #include "param/share.h"
+#include "param/param.h"
 
 struct sclassic_snum {
        int snum;
index fe65cb7..586000f 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 6e6e125..308d4bf 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 ccd2bdb..7ca13fc 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 466d35c..c3de00d 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 326217e..144e61c 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 2198dc5..14a724a 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 6ddffa1..e51a847 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 3ac7934..a468dc5 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 6d70dd0..e9c56b9 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 cd39bcd..d6c8d86 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 c0e1a0d..6e8732f 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 bc7994a..08b9eac 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 77d9dd3..3aaf324 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 fc26fdd..02b9481 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 6f15ee5..b31b70b 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 afdee28..0e7a834 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 9541194..f5ae0aa 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 caa977c..b29b86e 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 c159eb3..8a99223 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 6470060..b3664ab 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 7b7f03f..120bc01 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 a8c0e6f..6a36d2f 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 e4a9f98..3ac7ca5 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 fdb502d..167555f 100644 (file)
@@ -21,6 +21,7 @@
 
 #include "includes.h"
 #include "system/filesys.h"
+#include "param/param.h"
 
 /**
  * @file
index f83c7b7..e11e619 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 78f39f7..93f6f03 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 5117697..84aebc9 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 8c510ef..b6b1d02 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 d72e3ca..d493aa8 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 cb6cc84..030a4f5 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 d232f49..6a1c077 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 17b8a94..cfd3c10 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 0dca151..9be2511 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 675ab9f..1bcbfbb 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 1f4725d..bc51c42 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 116816a..a98781b 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 07c586e..1509324 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 7a3b9f1..186bd98 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 ad35e84..95975e6 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 90b3f41..deebfd9 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 c543aa7..8c2d5a3 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 f21a050..7c5de2d 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 724e2a5..e70fd7c 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 ba0ba34..4f0bfa8 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 3eac50c..53cceb9 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 c4515ea..e3bfaa6 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 69ef562..c829b36 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 e66ebcd..ea5c09c 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 11cb917..79771a0 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 b6eedbc..5e80564 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 533974c..e4ab9d9 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 44b60b8..6ef33be 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 071783a..c4d7bc2 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 7d0d46d..d744a89 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 f8fa4ff..104a205 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 fffb572..d412a04 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 0270342..6841253 100755 (executable)
@@ -50,6 +50,7 @@
 #include "system/filesys.h"
 #include "libcli/libcli.h"
 #include "torture/util.h"
+#include "param/param.h"
 
 
 
index 3c108dc..b00b377 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 57595da..74c3272 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 860a097..59e1aeb 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 48fd060..be00e0b 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 e2e222d..c1fdc06 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 7dc600a..19df14c 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 08420d0..c3ec54c 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 b1a6517..08c102c 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 6357fa9..bf3e59c 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 cfdf483..4666023 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 6d0c3d5..40a3438 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 7a94ef7..907772a 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 72eba40..73bb12d 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 da74067..b149af1 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 dada316..7571420 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 358bf87..baf4edc 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 e1d7c69..c070a47 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 e6bc003..2494fbe 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 d35d9fd..0e1c266 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 4395588..c6fb71c 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 56a0fcc..e20699c 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 62d273e..fdfc437 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 fc59d1a..c5182fb 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 5e680fb..caa3a5f 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 babfb42..a148081 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 aa3dc14..2a1e731 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 bd0fb7c..6a1c2a3 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 8322e57..80431f5 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 8e4f3b5..01826dc 100644 (file)
@@ -31,6 +31,7 @@
 #include "torture/torture.h"
 #include "util/dlinklist.h"
 #include "auth/credentials/credentials.h"
+#include "param/param.h"
 
 
 /**
index 98bf19d..59b35d7 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 9659541..8775bab 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 886b513..e0ebe48 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 502d5de..985f1c0 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 f903143..efad8b6 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 b1933aa..86488d9 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 1a59b54..63a71b0 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 5ec8f1a..f07daae 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 9982a16..c5e6383 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 da03f0d..21fbb6a 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 4874254..ef19c32 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 af36179..a86fc3d 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 3793275..8a3f9e3 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 257a1af..d813df0 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 5938bb3..b9d46af 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 9b0f552..e90c6fd 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 dfbc97a..6ac7fed 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)
 {