mirror of
https://github.com/samba-team/samba.git
synced 2024-12-22 13:34:15 +03:00
r14464: Don't include ndr_BASENAME.h files unless strictly required, instead
try to include just the BASENAME.h files (containing only structs)
(This used to be commit 3dd477ca51
)
This commit is contained in:
parent
753bf8fb99
commit
8528016978
@ -27,6 +27,7 @@
|
|||||||
#include "dsdb/samdb/samdb.h"
|
#include "dsdb/samdb/samdb.h"
|
||||||
#include "libcli/security/proto.h"
|
#include "libcli/security/proto.h"
|
||||||
#include "libcli/ldap/ldap.h"
|
#include "libcli/ldap/ldap.h"
|
||||||
|
#include "librpc/gen_ndr/ndr_security.h"
|
||||||
|
|
||||||
static const char *user_attrs[] = {
|
static const char *user_attrs[] = {
|
||||||
/* requried for the krb5 kdc*/
|
/* requried for the krb5 kdc*/
|
||||||
|
@ -25,6 +25,7 @@
|
|||||||
#include "includes.h"
|
#include "includes.h"
|
||||||
#include "auth/auth.h"
|
#include "auth/auth.h"
|
||||||
#include "nsswitch/winbind_client.h"
|
#include "nsswitch/winbind_client.h"
|
||||||
|
#include "librpc/gen_ndr/ndr_netlogon.h"
|
||||||
|
|
||||||
static NTSTATUS get_info3_from_ndr(TALLOC_CTX *mem_ctx, struct winbindd_response *response, struct netr_SamInfo3 *info3)
|
static NTSTATUS get_info3_from_ndr(TALLOC_CTX *mem_ctx, struct winbindd_response *response, struct netr_SamInfo3 *info3)
|
||||||
{
|
{
|
||||||
|
@ -23,7 +23,7 @@
|
|||||||
*/
|
*/
|
||||||
|
|
||||||
#include "includes.h"
|
#include "includes.h"
|
||||||
#include "librpc/gen_ndr/ndr_samr.h" /* for struct samrPassword */
|
#include "librpc/gen_ndr/samr.h" /* for struct samrPassword */
|
||||||
#include "auth/gensec/gensec.h"
|
#include "auth/gensec/gensec.h"
|
||||||
#include "libcli/auth/libcli_auth.h"
|
#include "libcli/auth/libcli_auth.h"
|
||||||
|
|
||||||
|
@ -24,7 +24,7 @@
|
|||||||
|
|
||||||
#include "includes.h"
|
#include "includes.h"
|
||||||
#include "lib/ldb/include/ldb.h"
|
#include "lib/ldb/include/ldb.h"
|
||||||
#include "librpc/gen_ndr/ndr_samr.h" /* for struct samrPassword */
|
#include "librpc/gen_ndr/samr.h" /* for struct samrPassword */
|
||||||
#include "passdb/secrets.h"
|
#include "passdb/secrets.h"
|
||||||
#include "system/filesys.h"
|
#include "system/filesys.h"
|
||||||
#include "db_wrap.h"
|
#include "db_wrap.h"
|
||||||
|
@ -23,7 +23,7 @@
|
|||||||
*/
|
*/
|
||||||
|
|
||||||
#include "includes.h"
|
#include "includes.h"
|
||||||
#include "librpc/gen_ndr/ndr_samr.h" /* for struct samrPassword */
|
#include "librpc/gen_ndr/samr.h" /* for struct samrPassword */
|
||||||
#include "lib/crypto/crypto.h"
|
#include "lib/crypto/crypto.h"
|
||||||
#include "libcli/auth/libcli_auth.h"
|
#include "libcli/auth/libcli_auth.h"
|
||||||
|
|
||||||
|
@ -25,7 +25,7 @@
|
|||||||
#include "includes.h"
|
#include "includes.h"
|
||||||
#include "system/kerberos.h"
|
#include "system/kerberos.h"
|
||||||
#include "auth/kerberos/kerberos.h"
|
#include "auth/kerberos/kerberos.h"
|
||||||
#include "librpc/gen_ndr/ndr_krb5pac.h"
|
#include "librpc/gen_ndr/krb5pac.h"
|
||||||
#include "auth/auth.h"
|
#include "auth/auth.h"
|
||||||
#include "lib/ldb/include/ldb.h"
|
#include "lib/ldb/include/ldb.h"
|
||||||
#include "auth/auth_sam.h"
|
#include "auth/auth_sam.h"
|
||||||
|
@ -27,7 +27,7 @@
|
|||||||
#include "includes.h"
|
#include "includes.h"
|
||||||
#include "system/kerberos.h"
|
#include "system/kerberos.h"
|
||||||
#include "auth/kerberos/kerberos.h"
|
#include "auth/kerberos/kerberos.h"
|
||||||
#include "librpc/gen_ndr/ndr_krb5pac.h"
|
#include "librpc/gen_ndr/krb5pac.h"
|
||||||
#include "auth/auth.h"
|
#include "auth/auth.h"
|
||||||
#include "lib/ldb/include/ldb.h"
|
#include "lib/ldb/include/ldb.h"
|
||||||
#include "auth/auth_sam.h"
|
#include "auth/auth_sam.h"
|
||||||
|
@ -22,7 +22,7 @@
|
|||||||
|
|
||||||
#include "includes.h"
|
#include "includes.h"
|
||||||
#include "lib/crypto/crypto.h"
|
#include "lib/crypto/crypto.h"
|
||||||
#include "librpc/gen_ndr/ndr_netlogon.h"
|
#include "librpc/gen_ndr/netlogon.h"
|
||||||
#include "libcli/auth/libcli_auth.h"
|
#include "libcli/auth/libcli_auth.h"
|
||||||
|
|
||||||
/****************************************************************************
|
/****************************************************************************
|
||||||
|
@ -20,7 +20,7 @@
|
|||||||
Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
|
Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#include "librpc/gen_ndr/ndr_samr.h"
|
#include "librpc/gen_ndr/samr.h"
|
||||||
|
|
||||||
/* NTLMSSP mode */
|
/* NTLMSSP mode */
|
||||||
enum ntlmssp_role
|
enum ntlmssp_role
|
||||||
|
@ -39,6 +39,8 @@
|
|||||||
#include "libcli/resolve/resolve.h"
|
#include "libcli/resolve/resolve.h"
|
||||||
#include "libcli/security/proto.h"
|
#include "libcli/security/proto.h"
|
||||||
#include "lib/replace/readline.h"
|
#include "lib/replace/readline.h"
|
||||||
|
#include "librpc/gen_ndr/ndr_nbt.h"
|
||||||
|
#include "librpc/gen_ndr/ndr_security.h"
|
||||||
|
|
||||||
static int io_bufsize = 64512;
|
static int io_bufsize = 64512;
|
||||||
|
|
||||||
|
@ -21,7 +21,7 @@
|
|||||||
*/
|
*/
|
||||||
|
|
||||||
#include "includes.h"
|
#include "includes.h"
|
||||||
#include "librpc/gen_ndr/ndr_samr.h"
|
#include "librpc/gen_ndr/samr.h"
|
||||||
#include "ads.h"
|
#include "ads.h"
|
||||||
|
|
||||||
/*
|
/*
|
||||||
|
@ -23,7 +23,7 @@
|
|||||||
*/
|
*/
|
||||||
|
|
||||||
#include "includes.h"
|
#include "includes.h"
|
||||||
#include "librpc/gen_ndr/ndr_drsuapi.h"
|
#include "librpc/gen_ndr/drsuapi.h"
|
||||||
#include "rpc_server/common/common.h"
|
#include "rpc_server/common/common.h"
|
||||||
#include "lib/ldb/include/ldb_errors.h"
|
#include "lib/ldb/include/ldb_errors.h"
|
||||||
#include "system/kerberos.h"
|
#include "system/kerberos.h"
|
||||||
|
@ -37,6 +37,7 @@
|
|||||||
#include "ldb/include/ldb_errors.h"
|
#include "ldb/include/ldb_errors.h"
|
||||||
#include "ldb/include/ldb_private.h"
|
#include "ldb/include/ldb_private.h"
|
||||||
#include "dsdb/samdb/samdb.h"
|
#include "dsdb/samdb/samdb.h"
|
||||||
|
#include "librpc/gen_ndr/ndr_security.h"
|
||||||
|
|
||||||
#include <time.h>
|
#include <time.h>
|
||||||
|
|
||||||
|
@ -34,8 +34,9 @@
|
|||||||
#include "libcli/ldap/ldap.h"
|
#include "libcli/ldap/ldap.h"
|
||||||
#include "ldb/include/ldb_errors.h"
|
#include "ldb/include/ldb_errors.h"
|
||||||
#include "ldb/include/ldb_private.h"
|
#include "ldb/include/ldb_private.h"
|
||||||
#include "librpc/gen_ndr/ndr_misc.h"
|
#include "librpc/gen_ndr/misc.h"
|
||||||
#include "librpc/gen_ndr/ndr_samr.h"
|
#include "librpc/gen_ndr/samr.h"
|
||||||
|
#include "librpc/gen_ndr/ndr_security.h"
|
||||||
#include "libcli/auth/libcli_auth.h"
|
#include "libcli/auth/libcli_auth.h"
|
||||||
#include "system/kerberos.h"
|
#include "system/kerberos.h"
|
||||||
#include "auth/kerberos/kerberos.h"
|
#include "auth/kerberos/kerberos.h"
|
||||||
|
@ -39,6 +39,7 @@
|
|||||||
#include "lib/ldb/include/ldb_private.h"
|
#include "lib/ldb/include/ldb_private.h"
|
||||||
#include "dsdb/samdb/samdb.h"
|
#include "dsdb/samdb/samdb.h"
|
||||||
#include "libcli/security/proto.h"
|
#include "libcli/security/proto.h"
|
||||||
|
#include "librpc/gen_ndr/ndr_security.h"
|
||||||
#include "db_wrap.h"
|
#include "db_wrap.h"
|
||||||
|
|
||||||
|
|
||||||
|
@ -23,6 +23,7 @@
|
|||||||
#include "includes.h"
|
#include "includes.h"
|
||||||
#include "librpc/gen_ndr/ndr_netlogon.h"
|
#include "librpc/gen_ndr/ndr_netlogon.h"
|
||||||
#include "librpc/gen_ndr/ndr_misc.h"
|
#include "librpc/gen_ndr/ndr_misc.h"
|
||||||
|
#include "librpc/gen_ndr/ndr_security.h"
|
||||||
#include "lib/ldb/include/ldb.h"
|
#include "lib/ldb/include/ldb.h"
|
||||||
#include "lib/ldb/include/ldb_errors.h"
|
#include "lib/ldb/include/ldb_errors.h"
|
||||||
#include "libcli/security/proto.h"
|
#include "libcli/security/proto.h"
|
||||||
|
@ -31,6 +31,7 @@
|
|||||||
#include "lib/ldb/include/ldb.h"
|
#include "lib/ldb/include/ldb.h"
|
||||||
#include "heimdal/lib/krb5/krb5_locl.h"
|
#include "heimdal/lib/krb5/krb5_locl.h"
|
||||||
#include "heimdal/lib/krb5/krb5-private.h"
|
#include "heimdal/lib/krb5/krb5-private.h"
|
||||||
|
#include "librpc/gen_ndr/ndr_security.h"
|
||||||
#include "auth/auth.h"
|
#include "auth/auth.h"
|
||||||
#include "dsdb/samdb/samdb.h"
|
#include "dsdb/samdb/samdb.h"
|
||||||
#include "rpc_server/dcerpc_server.h"
|
#include "rpc_server/dcerpc_server.h"
|
||||||
|
@ -20,7 +20,7 @@
|
|||||||
|
|
||||||
#include "includes.h"
|
#include "includes.h"
|
||||||
#include "system/filesys.h"
|
#include "system/filesys.h"
|
||||||
#include "librpc/gen_ndr/ndr_epmapper.h"
|
#include "librpc/gen_ndr/epmapper.h"
|
||||||
#include "librpc/gen_ndr/ndr_remact.h"
|
#include "librpc/gen_ndr/ndr_remact.h"
|
||||||
#include "librpc/gen_ndr/ndr_remact_c.h"
|
#include "librpc/gen_ndr/ndr_remact_c.h"
|
||||||
#include "librpc/gen_ndr/com_dcom.h"
|
#include "librpc/gen_ndr/com_dcom.h"
|
||||||
|
@ -25,6 +25,7 @@
|
|||||||
#include "lib/registry/reg_backend_rpc.h"
|
#include "lib/registry/reg_backend_rpc.h"
|
||||||
#include "system/time.h"
|
#include "system/time.h"
|
||||||
#include "lib/replace/readline.h"
|
#include "lib/replace/readline.h"
|
||||||
|
#include "librpc/gen_ndr/ndr_security.h"
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* ck/cd - change key
|
* ck/cd - change key
|
||||||
|
@ -28,7 +28,7 @@
|
|||||||
#include "lib/tdb/include/tdb.h"
|
#include "lib/tdb/include/tdb.h"
|
||||||
#include "lib/samba3/samba3.h"
|
#include "lib/samba3/samba3.h"
|
||||||
#include "system/filesys.h"
|
#include "system/filesys.h"
|
||||||
#include "librpc/gen_ndr/ndr_security.h"
|
#include "librpc/gen_ndr/security.h"
|
||||||
#include "lib/tdb/include/tdbutil.h"
|
#include "lib/tdb/include/tdbutil.h"
|
||||||
#include "auth/credentials/credentials.h"
|
#include "auth/credentials/credentials.h"
|
||||||
|
|
||||||
|
@ -20,7 +20,7 @@
|
|||||||
Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
|
Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#include "librpc/gen_ndr/ndr_netlogon.h"
|
#include "librpc/gen_ndr/netlogon.h"
|
||||||
|
|
||||||
struct creds_CredentialState {
|
struct creds_CredentialState {
|
||||||
uint32_t negotiate_flags;
|
uint32_t negotiate_flags;
|
||||||
|
@ -39,6 +39,7 @@
|
|||||||
#include "libcli/cldap/cldap.h"
|
#include "libcli/cldap/cldap.h"
|
||||||
#include "lib/socket/socket.h"
|
#include "lib/socket/socket.h"
|
||||||
#include "libcli/security/proto.h"
|
#include "libcli/security/proto.h"
|
||||||
|
#include "librpc/gen_ndr/ndr_nbt.h"
|
||||||
|
|
||||||
/*
|
/*
|
||||||
destroy a pending request
|
destroy a pending request
|
||||||
|
@ -21,7 +21,7 @@
|
|||||||
*/
|
*/
|
||||||
|
|
||||||
#include "libcli/util/asn_1.h"
|
#include "libcli/util/asn_1.h"
|
||||||
#include "librpc/gen_ndr/ndr_nbt.h"
|
#include "librpc/gen_ndr/nbt.h"
|
||||||
|
|
||||||
struct ldap_message;
|
struct ldap_message;
|
||||||
|
|
||||||
|
@ -25,6 +25,7 @@
|
|||||||
#include "libcli/dgram/libdgram.h"
|
#include "libcli/dgram/libdgram.h"
|
||||||
#include "lib/socket/socket.h"
|
#include "lib/socket/socket.h"
|
||||||
#include "libcli/resolve/resolve.h"
|
#include "libcli/resolve/resolve.h"
|
||||||
|
#include "librpc/gen_ndr/ndr_nbt.h"
|
||||||
|
|
||||||
NTSTATUS dgram_mailslot_browse_send(struct nbt_dgram_socket *dgmsock,
|
NTSTATUS dgram_mailslot_browse_send(struct nbt_dgram_socket *dgmsock,
|
||||||
struct nbt_name *dest_name,
|
struct nbt_name *dest_name,
|
||||||
|
@ -25,6 +25,7 @@
|
|||||||
#include "dlinklist.h"
|
#include "dlinklist.h"
|
||||||
#include "libcli/dgram/libdgram.h"
|
#include "libcli/dgram/libdgram.h"
|
||||||
#include "lib/socket/socket.h"
|
#include "lib/socket/socket.h"
|
||||||
|
#include "librpc/gen_ndr/ndr_nbt.h"
|
||||||
|
|
||||||
|
|
||||||
/*
|
/*
|
||||||
|
@ -20,7 +20,7 @@
|
|||||||
Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
|
Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#include "librpc/gen_ndr/ndr_nbt.h"
|
#include "librpc/gen_ndr/nbt.h"
|
||||||
|
|
||||||
/*
|
/*
|
||||||
a datagram name request
|
a datagram name request
|
||||||
|
@ -24,6 +24,7 @@
|
|||||||
#include "libcli/dgram/libdgram.h"
|
#include "libcli/dgram/libdgram.h"
|
||||||
#include "lib/socket/socket.h"
|
#include "lib/socket/socket.h"
|
||||||
#include "libcli/resolve/resolve.h"
|
#include "libcli/resolve/resolve.h"
|
||||||
|
#include "librpc/gen_ndr/ndr_nbt.h"
|
||||||
|
|
||||||
/*
|
/*
|
||||||
send a netlogon mailslot request
|
send a netlogon mailslot request
|
||||||
|
@ -24,6 +24,7 @@
|
|||||||
#include "libcli/dgram/libdgram.h"
|
#include "libcli/dgram/libdgram.h"
|
||||||
#include "lib/socket/socket.h"
|
#include "lib/socket/socket.h"
|
||||||
#include "libcli/resolve/resolve.h"
|
#include "libcli/resolve/resolve.h"
|
||||||
|
#include "librpc/gen_ndr/ndr_nbt.h"
|
||||||
|
|
||||||
/*
|
/*
|
||||||
send a ntlogon mailslot request
|
send a ntlogon mailslot request
|
||||||
|
@ -24,7 +24,7 @@
|
|||||||
#include "include/includes.h"
|
#include "include/includes.h"
|
||||||
#include "lib/messaging/irpc.h"
|
#include "lib/messaging/irpc.h"
|
||||||
#include "librpc/gen_ndr/ndr_irpc.h"
|
#include "librpc/gen_ndr/ndr_irpc.h"
|
||||||
#include "librpc/gen_ndr/ndr_samr.h"
|
#include "librpc/gen_ndr/samr.h"
|
||||||
#include "libcli/composite/composite.h"
|
#include "libcli/composite/composite.h"
|
||||||
#include "libcli/libcli.h"
|
#include "libcli/libcli.h"
|
||||||
#include "libcli/resolve/resolve.h"
|
#include "libcli/resolve/resolve.h"
|
||||||
|
@ -23,7 +23,7 @@
|
|||||||
#ifndef __LIBNBT_H__
|
#ifndef __LIBNBT_H__
|
||||||
#define __LIBNBT_H__
|
#define __LIBNBT_H__
|
||||||
|
|
||||||
#include "librpc/gen_ndr/ndr_nbt.h"
|
#include "librpc/gen_ndr/nbt.h"
|
||||||
|
|
||||||
/*
|
/*
|
||||||
possible states for pending requests
|
possible states for pending requests
|
||||||
|
@ -24,6 +24,7 @@
|
|||||||
#include "libcli/nbt/libnbt.h"
|
#include "libcli/nbt/libnbt.h"
|
||||||
#include "libcli/composite/composite.h"
|
#include "libcli/composite/composite.h"
|
||||||
#include "lib/socket/socket.h"
|
#include "lib/socket/socket.h"
|
||||||
|
#include "librpc/gen_ndr/ndr_nbt.h"
|
||||||
|
|
||||||
/*
|
/*
|
||||||
send a nbt name registration request
|
send a nbt name registration request
|
||||||
|
@ -25,6 +25,7 @@
|
|||||||
#include "dlinklist.h"
|
#include "dlinklist.h"
|
||||||
#include "libcli/nbt/libnbt.h"
|
#include "libcli/nbt/libnbt.h"
|
||||||
#include "lib/socket/socket.h"
|
#include "lib/socket/socket.h"
|
||||||
|
#include "librpc/gen_ndr/ndr_nbt.h"
|
||||||
|
|
||||||
#define NBT_MAX_REPLIES 1000
|
#define NBT_MAX_REPLIES 1000
|
||||||
|
|
||||||
|
@ -26,6 +26,7 @@
|
|||||||
#include "dlinklist.h"
|
#include "dlinklist.h"
|
||||||
#include "lib/events/events.h"
|
#include "lib/events/events.h"
|
||||||
#include "lib/stream/packet.h"
|
#include "lib/stream/packet.h"
|
||||||
|
#include "librpc/gen_ndr/ndr_nbt.h"
|
||||||
|
|
||||||
|
|
||||||
/*
|
/*
|
||||||
|
@ -22,7 +22,7 @@
|
|||||||
|
|
||||||
#include "libcli/raw/request.h"
|
#include "libcli/raw/request.h"
|
||||||
#include "smb.h"
|
#include "smb.h"
|
||||||
#include "librpc/gen_ndr/ndr_nbt.h"
|
#include "librpc/gen_ndr/nbt.h"
|
||||||
|
|
||||||
struct smbcli_tree; /* forward declare */
|
struct smbcli_tree; /* forward declare */
|
||||||
struct smbcli_request; /* forward declare */
|
struct smbcli_request; /* forward declare */
|
||||||
|
@ -21,6 +21,7 @@
|
|||||||
|
|
||||||
#include "includes.h"
|
#include "includes.h"
|
||||||
#include "libcli/raw/libcliraw.h"
|
#include "libcli/raw/libcliraw.h"
|
||||||
|
#include "librpc/gen_ndr/ndr_security.h"
|
||||||
|
|
||||||
/****************************************************************************
|
/****************************************************************************
|
||||||
fetch file ACL (async send)
|
fetch file ACL (async send)
|
||||||
|
@ -23,6 +23,7 @@
|
|||||||
#include "includes.h"
|
#include "includes.h"
|
||||||
#include "smb.h"
|
#include "smb.h"
|
||||||
#include "libcli/raw/libcliraw.h"
|
#include "libcli/raw/libcliraw.h"
|
||||||
|
#include "librpc/gen_ndr/ndr_security.h"
|
||||||
|
|
||||||
#define SETUP_REQUEST(cmd, wct, buflen) do { \
|
#define SETUP_REQUEST(cmd, wct, buflen) do { \
|
||||||
req = smbcli_request_setup(tree, cmd, wct, buflen); \
|
req = smbcli_request_setup(tree, cmd, wct, buflen); \
|
||||||
|
@ -21,6 +21,7 @@
|
|||||||
|
|
||||||
#include "includes.h"
|
#include "includes.h"
|
||||||
#include "libcli/raw/libcliraw.h"
|
#include "libcli/raw/libcliraw.h"
|
||||||
|
#include "librpc/gen_ndr/ndr_security.h"
|
||||||
|
|
||||||
/* local macros to make the code more readable */
|
/* local macros to make the code more readable */
|
||||||
#define FINFO_CHECK_MIN_SIZE(size) if (blob->length < (size)) { \
|
#define FINFO_CHECK_MIN_SIZE(size) if (blob->length < (size)) { \
|
||||||
|
@ -34,6 +34,7 @@
|
|||||||
#include "system/network.h"
|
#include "system/network.h"
|
||||||
#include "system/filesys.h"
|
#include "system/filesys.h"
|
||||||
#include "libcli/composite/composite.h"
|
#include "libcli/composite/composite.h"
|
||||||
|
#include "librpc/gen_ndr/ndr_nbt.h"
|
||||||
|
|
||||||
struct host_state {
|
struct host_state {
|
||||||
struct nbt_name name;
|
struct nbt_name name;
|
||||||
|
@ -28,6 +28,7 @@
|
|||||||
#include "libcli/composite/composite.h"
|
#include "libcli/composite/composite.h"
|
||||||
#include "system/network.h"
|
#include "system/network.h"
|
||||||
#include "netif/netif.h"
|
#include "netif/netif.h"
|
||||||
|
#include "librpc/gen_ndr/ndr_nbt.h"
|
||||||
|
|
||||||
struct nbtlist_state {
|
struct nbtlist_state {
|
||||||
struct nbt_name name;
|
struct nbt_name name;
|
||||||
|
@ -24,6 +24,7 @@
|
|||||||
#include "lib/events/events.h"
|
#include "lib/events/events.h"
|
||||||
#include "libcli/composite/composite.h"
|
#include "libcli/composite/composite.h"
|
||||||
#include "libcli/resolve/resolve.h"
|
#include "libcli/resolve/resolve.h"
|
||||||
|
#include "librpc/gen_ndr/ndr_nbt.h"
|
||||||
|
|
||||||
struct resolve_state {
|
struct resolve_state {
|
||||||
struct nbt_name name;
|
struct nbt_name name;
|
||||||
|
@ -23,6 +23,7 @@
|
|||||||
#include "includes.h"
|
#include "includes.h"
|
||||||
#include "system/iconv.h"
|
#include "system/iconv.h"
|
||||||
#include "libcli/security/proto.h"
|
#include "libcli/security/proto.h"
|
||||||
|
#include "librpc/gen_ndr/ndr_security.h"
|
||||||
|
|
||||||
struct flag_map {
|
struct flag_map {
|
||||||
const char *name;
|
const char *name;
|
||||||
|
@ -24,6 +24,7 @@
|
|||||||
#include "includes.h"
|
#include "includes.h"
|
||||||
#include "dsdb/samdb/samdb.h"
|
#include "dsdb/samdb/samdb.h"
|
||||||
#include "libcli/security/proto.h"
|
#include "libcli/security/proto.h"
|
||||||
|
#include "librpc/gen_ndr/ndr_security.h"
|
||||||
|
|
||||||
/*
|
/*
|
||||||
return a blank security token
|
return a blank security token
|
||||||
|
@ -28,6 +28,7 @@
|
|||||||
#include "lib/events/events.h"
|
#include "lib/events/events.h"
|
||||||
#include "libcli/resolve/resolve.h"
|
#include "libcli/resolve/resolve.h"
|
||||||
#include "auth/credentials/credentials.h"
|
#include "auth/credentials/credentials.h"
|
||||||
|
#include "librpc/gen_ndr/ndr_nbt.h"
|
||||||
|
|
||||||
/* the stages of this call */
|
/* the stages of this call */
|
||||||
enum connect_stage {CONNECT_RESOLVE,
|
enum connect_stage {CONNECT_RESOLVE,
|
||||||
|
@ -31,6 +31,7 @@
|
|||||||
#include "libcli/libcli.h"
|
#include "libcli/libcli.h"
|
||||||
#include "libcli/security/proto.h"
|
#include "libcli/security/proto.h"
|
||||||
#include "librpc/gen_ndr/ndr_lsa.h"
|
#include "librpc/gen_ndr/ndr_lsa.h"
|
||||||
|
#include "librpc/gen_ndr/ndr_security.h"
|
||||||
#include "librpc/gen_ndr/ndr_lsa_c.h"
|
#include "librpc/gen_ndr/ndr_lsa_c.h"
|
||||||
|
|
||||||
struct smblsa_state {
|
struct smblsa_state {
|
||||||
|
@ -25,6 +25,7 @@
|
|||||||
#include "dlinklist.h"
|
#include "dlinklist.h"
|
||||||
#include "lib/socket/socket.h"
|
#include "lib/socket/socket.h"
|
||||||
#include "libcli/wrepl/winsrepl.h"
|
#include "libcli/wrepl/winsrepl.h"
|
||||||
|
#include "librpc/gen_ndr/ndr_winsrepl.h"
|
||||||
#include "lib/stream/packet.h"
|
#include "lib/stream/packet.h"
|
||||||
#include "libcli/composite/composite.h"
|
#include "libcli/composite/composite.h"
|
||||||
#include "system/network.h"
|
#include "system/network.h"
|
||||||
|
@ -20,8 +20,8 @@
|
|||||||
Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
|
Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#include "librpc/gen_ndr/ndr_nbt.h"
|
#include "librpc/gen_ndr/nbt.h"
|
||||||
#include "librpc/gen_ndr/ndr_winsrepl.h"
|
#include "librpc/gen_ndr/winsrepl.h"
|
||||||
|
|
||||||
/*
|
/*
|
||||||
main context structure for the wins replication client library
|
main context structure for the wins replication client library
|
||||||
|
@ -22,7 +22,7 @@
|
|||||||
composite function io definitions
|
composite function io definitions
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#include "librpc/gen_ndr/ndr_samr.h"
|
#include "librpc/gen_ndr/samr.h"
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* Monitor structure and message types definitions. Composite function monitoring
|
* Monitor structure and message types definitions. Composite function monitoring
|
||||||
|
@ -31,7 +31,9 @@
|
|||||||
#include "db_wrap.h"
|
#include "db_wrap.h"
|
||||||
#include "libcli/security/proto.h"
|
#include "libcli/security/proto.h"
|
||||||
#include "auth/credentials/credentials.h"
|
#include "auth/credentials/credentials.h"
|
||||||
|
#include "librpc/gen_ndr/ndr_samr.h"
|
||||||
#include "librpc/gen_ndr/ndr_samr_c.h"
|
#include "librpc/gen_ndr/ndr_samr_c.h"
|
||||||
|
#include "librpc/gen_ndr/ndr_security.h"
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* complete a domain join, when joining to a AD domain:
|
* complete a domain join, when joining to a AD domain:
|
||||||
|
@ -23,7 +23,7 @@
|
|||||||
#ifndef __LIBNET_JOIN_H__
|
#ifndef __LIBNET_JOIN_H__
|
||||||
#define __LIBNET_JOIN_H__
|
#define __LIBNET_JOIN_H__
|
||||||
|
|
||||||
#include "librpc/gen_ndr/ndr_netlogon.h"
|
#include "librpc/gen_ndr/netlogon.h"
|
||||||
|
|
||||||
enum libnet_Join_level {
|
enum libnet_Join_level {
|
||||||
LIBNET_JOIN_AUTOMATIC,
|
LIBNET_JOIN_AUTOMATIC,
|
||||||
|
@ -24,6 +24,7 @@
|
|||||||
#include "libnet/libnet.h"
|
#include "libnet/libnet.h"
|
||||||
#include "lib/crypto/crypto.h"
|
#include "lib/crypto/crypto.h"
|
||||||
#include "libcli/auth/libcli_auth.h"
|
#include "libcli/auth/libcli_auth.h"
|
||||||
|
#include "librpc/gen_ndr/ndr_samr.h"
|
||||||
#include "librpc/gen_ndr/ndr_samr_c.h"
|
#include "librpc/gen_ndr/ndr_samr_c.h"
|
||||||
|
|
||||||
/*
|
/*
|
||||||
|
@ -22,6 +22,7 @@
|
|||||||
#include "includes.h"
|
#include "includes.h"
|
||||||
#include "libnet/libnet.h"
|
#include "libnet/libnet.h"
|
||||||
#include "libcli/libcli.h"
|
#include "libcli/libcli.h"
|
||||||
|
#include "librpc/gen_ndr/ndr_lsa.h"
|
||||||
#include "librpc/gen_ndr/ndr_lsa_c.h"
|
#include "librpc/gen_ndr/ndr_lsa_c.h"
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
@ -25,6 +25,7 @@
|
|||||||
#include "libnet/libnet.h"
|
#include "libnet/libnet.h"
|
||||||
#include "dlinklist.h"
|
#include "dlinklist.h"
|
||||||
#include "samba3/samba3.h"
|
#include "samba3/samba3.h"
|
||||||
|
#include "librpc/gen_ndr/ndr_security.h"
|
||||||
|
|
||||||
|
|
||||||
struct samdump_secret {
|
struct samdump_secret {
|
||||||
|
@ -31,6 +31,7 @@
|
|||||||
#include "librpc/gen_ndr/ndr_misc.h"
|
#include "librpc/gen_ndr/ndr_misc.h"
|
||||||
#include "db_wrap.h"
|
#include "db_wrap.h"
|
||||||
#include "libcli/security/proto.h"
|
#include "libcli/security/proto.h"
|
||||||
|
#include "librpc/gen_ndr/ndr_security.h"
|
||||||
|
|
||||||
struct samsync_ldb_secret {
|
struct samsync_ldb_secret {
|
||||||
struct samsync_ldb_secret *prev, *next;
|
struct samsync_ldb_secret *prev, *next;
|
||||||
|
@ -20,6 +20,7 @@
|
|||||||
|
|
||||||
#include "includes.h"
|
#include "includes.h"
|
||||||
#include "libnet/libnet.h"
|
#include "libnet/libnet.h"
|
||||||
|
#include "librpc/gen_ndr/ndr_srvsvc.h"
|
||||||
#include "librpc/gen_ndr/ndr_srvsvc_c.h"
|
#include "librpc/gen_ndr/ndr_srvsvc_c.h"
|
||||||
|
|
||||||
|
|
||||||
|
@ -18,7 +18,7 @@
|
|||||||
Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
|
Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#include "librpc/gen_ndr/ndr_srvsvc.h"
|
#include "librpc/gen_ndr/srvsvc.h"
|
||||||
|
|
||||||
enum libnet_ListShares_level {
|
enum libnet_ListShares_level {
|
||||||
LIBNET_LIST_SHARES_GENERIC,
|
LIBNET_LIST_SHARES_GENERIC,
|
||||||
|
@ -21,6 +21,7 @@
|
|||||||
#include "includes.h"
|
#include "includes.h"
|
||||||
#include "libnet/libnet.h"
|
#include "libnet/libnet.h"
|
||||||
#include "system/time.h"
|
#include "system/time.h"
|
||||||
|
#include "librpc/gen_ndr/ndr_srvsvc.h"
|
||||||
#include "librpc/gen_ndr/ndr_srvsvc_c.h"
|
#include "librpc/gen_ndr/ndr_srvsvc_c.h"
|
||||||
|
|
||||||
/*
|
/*
|
||||||
|
@ -21,6 +21,7 @@
|
|||||||
|
|
||||||
#include "includes.h"
|
#include "includes.h"
|
||||||
#include "libnet/libnet.h"
|
#include "libnet/libnet.h"
|
||||||
|
#include "librpc/gen_ndr/ndr_samr.h"
|
||||||
|
|
||||||
|
|
||||||
NTSTATUS libnet_CreateUser(struct libnet_context *ctx, TALLOC_CTX *mem_ctx, struct libnet_CreateUser *r)
|
NTSTATUS libnet_CreateUser(struct libnet_context *ctx, TALLOC_CTX *mem_ctx, struct libnet_CreateUser *r)
|
||||||
|
@ -25,6 +25,7 @@
|
|||||||
#include "libnet/libnet.h"
|
#include "libnet/libnet.h"
|
||||||
#include "libcli/auth/libcli_auth.h"
|
#include "libcli/auth/libcli_auth.h"
|
||||||
#include "auth/gensec/schannel_proto.h"
|
#include "auth/gensec/schannel_proto.h"
|
||||||
|
#include "librpc/gen_ndr/ndr_netlogon.h"
|
||||||
#include "librpc/gen_ndr/ndr_netlogon_c.h"
|
#include "librpc/gen_ndr/ndr_netlogon_c.h"
|
||||||
|
|
||||||
|
|
||||||
|
@ -18,7 +18,7 @@
|
|||||||
Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
|
Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#include "librpc/gen_ndr/ndr_netlogon.h"
|
#include "librpc/gen_ndr/netlogon.h"
|
||||||
|
|
||||||
struct libnet_SamSync_state {
|
struct libnet_SamSync_state {
|
||||||
struct libnet_context *machine_net_ctx;
|
struct libnet_context *machine_net_ctx;
|
||||||
|
@ -7,7 +7,7 @@
|
|||||||
[
|
[
|
||||||
version(0.0),
|
version(0.0),
|
||||||
pointer_default(unique),
|
pointer_default(unique),
|
||||||
depends(security,netlogon),
|
depends(security,netlogon,samr),
|
||||||
helper("librpc/ndr/ndr_krb5pac.h")
|
helper("librpc/ndr/ndr_krb5pac.h")
|
||||||
]
|
]
|
||||||
interface krb5pac
|
interface krb5pac
|
||||||
|
@ -18,7 +18,7 @@
|
|||||||
endpoint("ncacn_np:[\\pipe\\epmapper]", "ncacn_ip_tcp:[135]", "ncalrpc:"),
|
endpoint("ncacn_np:[\\pipe\\epmapper]", "ncacn_ip_tcp:[135]", "ncalrpc:"),
|
||||||
pointer_default(unique),
|
pointer_default(unique),
|
||||||
pointer_default_top(unique),
|
pointer_default_top(unique),
|
||||||
depends(dcom)
|
depends(dcom, orpc)
|
||||||
]
|
]
|
||||||
interface IOXIDResolver
|
interface IOXIDResolver
|
||||||
{
|
{
|
||||||
|
@ -10,7 +10,7 @@
|
|||||||
pointer_default(unique),
|
pointer_default(unique),
|
||||||
pointer_default_top(unique),
|
pointer_default_top(unique),
|
||||||
endpoint("ncalrpc:", "ncacn_ip_tcp:[135]", "ncacn_np:[\\pipe\\epmapper]"),
|
endpoint("ncalrpc:", "ncacn_ip_tcp:[135]", "ncacn_np:[\\pipe\\epmapper]"),
|
||||||
depends(dcom)
|
depends(dcom,orpc)
|
||||||
]
|
]
|
||||||
interface IRemoteActivation
|
interface IRemoteActivation
|
||||||
{
|
{
|
||||||
|
@ -5,7 +5,7 @@
|
|||||||
*/
|
*/
|
||||||
|
|
||||||
[
|
[
|
||||||
depends(netlogon)
|
depends(netlogon,nbt)
|
||||||
]
|
]
|
||||||
interface schannel
|
interface schannel
|
||||||
{
|
{
|
||||||
|
@ -11,7 +11,7 @@
|
|||||||
pointer_default(unique),
|
pointer_default(unique),
|
||||||
pointer_default_top(unique),
|
pointer_default_top(unique),
|
||||||
helpstring("Remote Registry Service"),
|
helpstring("Remote Registry Service"),
|
||||||
depends(lsa,initshutdown)
|
depends(lsa,initshutdown,security)
|
||||||
] interface winreg
|
] interface winreg
|
||||||
{
|
{
|
||||||
declare bitmap security_secinfo;
|
declare bitmap security_secinfo;
|
||||||
|
@ -23,6 +23,7 @@
|
|||||||
|
|
||||||
|
|
||||||
#include "includes.h"
|
#include "includes.h"
|
||||||
|
#include "librpc/gen_ndr/ndr_security.h"
|
||||||
|
|
||||||
/*
|
/*
|
||||||
parse a dom_sid2 - this is a dom_sid but with an extra copy of the num_auths field
|
parse a dom_sid2 - this is a dom_sid but with an extra copy of the num_auths field
|
||||||
|
@ -22,6 +22,7 @@
|
|||||||
|
|
||||||
|
|
||||||
#include "includes.h"
|
#include "includes.h"
|
||||||
|
#include "librpc/gen_ndr/ndr_security.h"
|
||||||
|
|
||||||
/*
|
/*
|
||||||
return the wire size of a dom_sid
|
return the wire size of a dom_sid
|
||||||
|
@ -26,6 +26,7 @@
|
|||||||
#include "auth/auth.h"
|
#include "auth/auth.h"
|
||||||
#include "libcli/composite/composite.h"
|
#include "libcli/composite/composite.h"
|
||||||
#include "libcli/auth/libcli_auth.h"
|
#include "libcli/auth/libcli_auth.h"
|
||||||
|
#include "librpc/gen_ndr/ndr_netlogon.h"
|
||||||
#include "librpc/gen_ndr/ndr_netlogon_c.h"
|
#include "librpc/gen_ndr/ndr_netlogon_c.h"
|
||||||
|
|
||||||
|
|
||||||
|
@ -25,6 +25,7 @@
|
|||||||
#include "system/network.h"
|
#include "system/network.h"
|
||||||
#include "nbt_server/nbt_server.h"
|
#include "nbt_server/nbt_server.h"
|
||||||
#include "nbt_server/wins/winsserver.h"
|
#include "nbt_server/wins/winsserver.h"
|
||||||
|
#include "librpc/gen_ndr/ndr_nbt.h"
|
||||||
#include "lib/socket/socket.h"
|
#include "lib/socket/socket.h"
|
||||||
|
|
||||||
|
|
||||||
|
@ -23,6 +23,7 @@
|
|||||||
#include "includes.h"
|
#include "includes.h"
|
||||||
#include "nbt_server/nbt_server.h"
|
#include "nbt_server/nbt_server.h"
|
||||||
#include "lib/socket/socket.h"
|
#include "lib/socket/socket.h"
|
||||||
|
#include "librpc/gen_ndr/ndr_nbt.h"
|
||||||
|
|
||||||
static const char *nbt_browse_opcode_string(enum nbt_browse_opcode r)
|
static const char *nbt_browse_opcode_string(enum nbt_browse_opcode r)
|
||||||
{
|
{
|
||||||
|
@ -27,6 +27,7 @@
|
|||||||
#include "dsdb/samdb/samdb.h"
|
#include "dsdb/samdb/samdb.h"
|
||||||
#include "auth/auth.h"
|
#include "auth/auth.h"
|
||||||
#include "db_wrap.h"
|
#include "db_wrap.h"
|
||||||
|
#include "librpc/gen_ndr/ndr_nbt.h"
|
||||||
|
|
||||||
/*
|
/*
|
||||||
reply to a GETDC request
|
reply to a GETDC request
|
||||||
|
@ -23,6 +23,7 @@
|
|||||||
#include "includes.h"
|
#include "includes.h"
|
||||||
#include "nbt_server/nbt_server.h"
|
#include "nbt_server/nbt_server.h"
|
||||||
#include "lib/socket/socket.h"
|
#include "lib/socket/socket.h"
|
||||||
|
#include "librpc/gen_ndr/ndr_nbt.h"
|
||||||
|
|
||||||
/*
|
/*
|
||||||
reply to a SAM LOGON request
|
reply to a SAM LOGON request
|
||||||
|
@ -26,6 +26,7 @@
|
|||||||
#include "lib/socket/socket.h"
|
#include "lib/socket/socket.h"
|
||||||
#include "libcli/resolve/resolve.h"
|
#include "libcli/resolve/resolve.h"
|
||||||
#include "nbt_server/dgram/proto.h"
|
#include "nbt_server/dgram/proto.h"
|
||||||
|
#include "librpc/gen_ndr/ndr_nbt.h"
|
||||||
|
|
||||||
/*
|
/*
|
||||||
a list of mailslots that we have static handlers for
|
a list of mailslots that we have static handlers for
|
||||||
|
@ -26,8 +26,10 @@
|
|||||||
#include "smbd/service.h"
|
#include "smbd/service.h"
|
||||||
#include "nbt_server/nbt_server.h"
|
#include "nbt_server/nbt_server.h"
|
||||||
#include "nbt_server/wins/winsserver.h"
|
#include "nbt_server/wins/winsserver.h"
|
||||||
|
#include "librpc/gen_ndr/ndr_irpc.h"
|
||||||
#include "lib/socket/socket.h"
|
#include "lib/socket/socket.h"
|
||||||
#include "libcli/resolve/resolve.h"
|
#include "libcli/resolve/resolve.h"
|
||||||
|
#include "librpc/gen_ndr/ndr_nbt.h"
|
||||||
|
|
||||||
/*
|
/*
|
||||||
serve out the nbt statistics
|
serve out the nbt statistics
|
||||||
|
@ -23,7 +23,7 @@
|
|||||||
#include "libcli/nbt/libnbt.h"
|
#include "libcli/nbt/libnbt.h"
|
||||||
#include "libcli/wrepl/winsrepl.h"
|
#include "libcli/wrepl/winsrepl.h"
|
||||||
#include "libcli/dgram/libdgram.h"
|
#include "libcli/dgram/libdgram.h"
|
||||||
#include "librpc/gen_ndr/ndr_irpc.h"
|
#include "librpc/gen_ndr/irpc.h"
|
||||||
#include "lib/messaging/irpc.h"
|
#include "lib/messaging/irpc.h"
|
||||||
|
|
||||||
/*
|
/*
|
||||||
|
@ -25,6 +25,7 @@
|
|||||||
#include "system/network.h"
|
#include "system/network.h"
|
||||||
#include "nbt_server/nbt_server.h"
|
#include "nbt_server/nbt_server.h"
|
||||||
#include "lib/socket/socket.h"
|
#include "lib/socket/socket.h"
|
||||||
|
#include "librpc/gen_ndr/ndr_nbt.h"
|
||||||
|
|
||||||
/*
|
/*
|
||||||
send a name status reply
|
send a name status reply
|
||||||
|
@ -23,6 +23,7 @@
|
|||||||
#include "includes.h"
|
#include "includes.h"
|
||||||
#include "nbt_server/nbt_server.h"
|
#include "nbt_server/nbt_server.h"
|
||||||
#include "lib/socket/socket.h"
|
#include "lib/socket/socket.h"
|
||||||
|
#include "librpc/gen_ndr/ndr_nbt.h"
|
||||||
|
|
||||||
/*
|
/*
|
||||||
we received a badly formed packet - log it
|
we received a badly formed packet - log it
|
||||||
|
@ -25,6 +25,7 @@
|
|||||||
#include "system/network.h"
|
#include "system/network.h"
|
||||||
#include "nbt_server/nbt_server.h"
|
#include "nbt_server/nbt_server.h"
|
||||||
#include "nbt_server/wins/winsserver.h"
|
#include "nbt_server/wins/winsserver.h"
|
||||||
|
#include "librpc/gen_ndr/ndr_nbt.h"
|
||||||
#include "lib/socket/socket.h"
|
#include "lib/socket/socket.h"
|
||||||
|
|
||||||
/*
|
/*
|
||||||
|
@ -28,6 +28,7 @@
|
|||||||
#include "libcli/composite/composite.h"
|
#include "libcli/composite/composite.h"
|
||||||
#include "librpc/gen_ndr/ndr_samr.h"
|
#include "librpc/gen_ndr/ndr_samr.h"
|
||||||
#include "nbt_server/wins/winsserver.h"
|
#include "nbt_server/wins/winsserver.h"
|
||||||
|
#include "librpc/gen_ndr/ndr_nbt.h"
|
||||||
|
|
||||||
|
|
||||||
static void nbtd_start_refresh_timer(struct nbtd_iface_name *iname);
|
static void nbtd_start_refresh_timer(struct nbtd_iface_name *iname);
|
||||||
|
@ -25,6 +25,7 @@
|
|||||||
#include "nbt_server/wins/winsserver.h"
|
#include "nbt_server/wins/winsserver.h"
|
||||||
#include "libcli/composite/composite.h"
|
#include "libcli/composite/composite.h"
|
||||||
#include "lib/events/events.h"
|
#include "lib/events/events.h"
|
||||||
|
#include "librpc/gen_ndr/ndr_nbt.h"
|
||||||
#include "smbd/service_task.h"
|
#include "smbd/service_task.h"
|
||||||
|
|
||||||
static void nbtd_wins_refresh_handler(struct composite_context *c);
|
static void nbtd_wins_refresh_handler(struct composite_context *c);
|
||||||
|
@ -26,6 +26,7 @@
|
|||||||
#include "nbt_server/wins/winsdb.h"
|
#include "nbt_server/wins/winsdb.h"
|
||||||
#include "lib/ldb/include/ldb.h"
|
#include "lib/ldb/include/ldb.h"
|
||||||
#include "lib/ldb/include/ldb_errors.h"
|
#include "lib/ldb/include/ldb_errors.h"
|
||||||
|
#include "librpc/gen_ndr/ndr_nbt.h"
|
||||||
#include "system/time.h"
|
#include "system/time.h"
|
||||||
#include "db_wrap.h"
|
#include "db_wrap.h"
|
||||||
#include "system/network.h"
|
#include "system/network.h"
|
||||||
|
@ -25,6 +25,7 @@
|
|||||||
#include "nbt_server/nbt_server.h"
|
#include "nbt_server/nbt_server.h"
|
||||||
#include "nbt_server/wins/winsdb.h"
|
#include "nbt_server/wins/winsdb.h"
|
||||||
#include "nbt_server/wins/winsserver.h"
|
#include "nbt_server/wins/winsserver.h"
|
||||||
|
#include "librpc/gen_ndr/ndr_nbt.h"
|
||||||
#include "system/time.h"
|
#include "system/time.h"
|
||||||
#include "libcli/composite/composite.h"
|
#include "libcli/composite/composite.h"
|
||||||
#include "smbd/service_task.h"
|
#include "smbd/service_task.h"
|
||||||
|
@ -28,6 +28,7 @@
|
|||||||
#include "libcli/ldap/ldap.h"
|
#include "libcli/ldap/ldap.h"
|
||||||
#include "db_wrap.h"
|
#include "db_wrap.h"
|
||||||
#include "libcli/security/proto.h"
|
#include "libcli/security/proto.h"
|
||||||
|
#include "librpc/gen_ndr/ndr_security.h"
|
||||||
|
|
||||||
/*
|
/*
|
||||||
these are used for the fallback local uid/gid to sid mapping
|
these are used for the fallback local uid/gid to sid mapping
|
||||||
|
@ -21,7 +21,7 @@
|
|||||||
|
|
||||||
#include "includes.h"
|
#include "includes.h"
|
||||||
#include "libcli/rap/rap.h"
|
#include "libcli/rap/rap.h"
|
||||||
#include "librpc/gen_ndr/ndr_srvsvc.h"
|
#include "librpc/gen_ndr/srvsvc.h"
|
||||||
#include "rpc_server/common/common.h"
|
#include "rpc_server/common/common.h"
|
||||||
|
|
||||||
/* At this moment these are just dummy functions, but you might get the
|
/* At this moment these are just dummy functions, but you might get the
|
||||||
|
@ -23,7 +23,7 @@
|
|||||||
#include "includes.h"
|
#include "includes.h"
|
||||||
#include "auth/auth.h"
|
#include "auth/auth.h"
|
||||||
#include "vfs_posix.h"
|
#include "vfs_posix.h"
|
||||||
#include "librpc/gen_ndr/ndr_xattr.h"
|
#include "librpc/gen_ndr/xattr.h"
|
||||||
#include "libcli/security/proto.h"
|
#include "libcli/security/proto.h"
|
||||||
|
|
||||||
|
|
||||||
|
@ -22,7 +22,7 @@
|
|||||||
|
|
||||||
#include "includes.h"
|
#include "includes.h"
|
||||||
#include "vfs_posix.h"
|
#include "vfs_posix.h"
|
||||||
#include "librpc/gen_ndr/ndr_xattr.h"
|
#include "librpc/gen_ndr/xattr.h"
|
||||||
|
|
||||||
/* We use libblkid out of e2fsprogs to identify UUID of a volume */
|
/* We use libblkid out of e2fsprogs to identify UUID of a volume */
|
||||||
#ifdef HAVE_LIBBLKID
|
#ifdef HAVE_LIBBLKID
|
||||||
|
@ -23,7 +23,7 @@
|
|||||||
#include "includes.h"
|
#include "includes.h"
|
||||||
#include "system/dir.h"
|
#include "system/dir.h"
|
||||||
#include "vfs_posix.h"
|
#include "vfs_posix.h"
|
||||||
#include "librpc/gen_ndr/ndr_security.h"
|
#include "librpc/gen_ndr/security.h"
|
||||||
|
|
||||||
/*
|
/*
|
||||||
create a directory with EAs
|
create a directory with EAs
|
||||||
|
@ -26,7 +26,7 @@
|
|||||||
#include "system/time.h"
|
#include "system/time.h"
|
||||||
#include "dlinklist.h"
|
#include "dlinklist.h"
|
||||||
#include "messaging/messaging.h"
|
#include "messaging/messaging.h"
|
||||||
#include "librpc/gen_ndr/ndr_xattr.h"
|
#include "librpc/gen_ndr/xattr.h"
|
||||||
|
|
||||||
/*
|
/*
|
||||||
create file handles with convenient numbers for sniffers
|
create file handles with convenient numbers for sniffers
|
||||||
|
@ -22,7 +22,7 @@
|
|||||||
|
|
||||||
#include "includes.h"
|
#include "includes.h"
|
||||||
#include "vfs_posix.h"
|
#include "vfs_posix.h"
|
||||||
#include "librpc/gen_ndr/ndr_xattr.h"
|
#include "librpc/gen_ndr/xattr.h"
|
||||||
|
|
||||||
|
|
||||||
/*
|
/*
|
||||||
|
@ -22,7 +22,7 @@
|
|||||||
|
|
||||||
#include "includes.h"
|
#include "includes.h"
|
||||||
#include "vfs_posix.h"
|
#include "vfs_posix.h"
|
||||||
#include "librpc/gen_ndr/ndr_security.h"
|
#include "librpc/gen_ndr/security.h"
|
||||||
|
|
||||||
/*
|
/*
|
||||||
read from a file
|
read from a file
|
||||||
|
@ -22,7 +22,7 @@
|
|||||||
|
|
||||||
#include "includes.h"
|
#include "includes.h"
|
||||||
#include "vfs_posix.h"
|
#include "vfs_posix.h"
|
||||||
#include "librpc/gen_ndr/ndr_security.h"
|
#include "librpc/gen_ndr/security.h"
|
||||||
|
|
||||||
/*
|
/*
|
||||||
resolve a wildcard rename pattern. This works on one component of the name
|
resolve a wildcard rename pattern. This works on one component of the name
|
||||||
|
@ -23,7 +23,7 @@
|
|||||||
#include "includes.h"
|
#include "includes.h"
|
||||||
#include "vfs_posix.h"
|
#include "vfs_posix.h"
|
||||||
#include "system/time.h"
|
#include "system/time.h"
|
||||||
#include "librpc/gen_ndr/ndr_security.h"
|
#include "librpc/gen_ndr/security.h"
|
||||||
#include "smbd/service_stream.h"
|
#include "smbd/service_stream.h"
|
||||||
#include "lib/events/events.h"
|
#include "lib/events/events.h"
|
||||||
|
|
||||||
|
@ -23,7 +23,7 @@
|
|||||||
#include "includes.h"
|
#include "includes.h"
|
||||||
#include "vfs_posix.h"
|
#include "vfs_posix.h"
|
||||||
#include "system/time.h"
|
#include "system/time.h"
|
||||||
#include "librpc/gen_ndr/ndr_xattr.h"
|
#include "librpc/gen_ndr/xattr.h"
|
||||||
|
|
||||||
|
|
||||||
/*
|
/*
|
||||||
|
@ -22,7 +22,7 @@
|
|||||||
|
|
||||||
#include "includes.h"
|
#include "includes.h"
|
||||||
#include "vfs_posix.h"
|
#include "vfs_posix.h"
|
||||||
#include "librpc/gen_ndr/ndr_xattr.h"
|
#include "librpc/gen_ndr/xattr.h"
|
||||||
|
|
||||||
|
|
||||||
/*
|
/*
|
||||||
|
@ -22,7 +22,7 @@
|
|||||||
|
|
||||||
#include "includes.h"
|
#include "includes.h"
|
||||||
#include "vfs_posix.h"
|
#include "vfs_posix.h"
|
||||||
#include "librpc/gen_ndr/ndr_security.h"
|
#include "librpc/gen_ndr/security.h"
|
||||||
|
|
||||||
|
|
||||||
/*
|
/*
|
||||||
|
@ -23,6 +23,7 @@
|
|||||||
#include "includes.h"
|
#include "includes.h"
|
||||||
#include "vfs_posix.h"
|
#include "vfs_posix.h"
|
||||||
#include "util/unix_privs.h"
|
#include "util/unix_privs.h"
|
||||||
|
#include "librpc/gen_ndr/ndr_xattr.h"
|
||||||
|
|
||||||
/*
|
/*
|
||||||
pull a xattr as a blob
|
pull a xattr as a blob
|
||||||
|
@ -26,7 +26,7 @@
|
|||||||
|
|
||||||
#include "includes.h"
|
#include "includes.h"
|
||||||
#include "vfs_posix.h"
|
#include "vfs_posix.h"
|
||||||
#include "librpc/gen_ndr/ndr_security.h"
|
#include "librpc/gen_ndr/security.h"
|
||||||
#include "smbd/service_stream.h"
|
#include "smbd/service_stream.h"
|
||||||
#include "lib/tdb/include/tdb.h"
|
#include "lib/tdb/include/tdb.h"
|
||||||
#include "db_wrap.h"
|
#include "db_wrap.h"
|
||||||
|
@ -23,7 +23,7 @@
|
|||||||
#ifndef _VFS_POSIX_H_
|
#ifndef _VFS_POSIX_H_
|
||||||
#define _VFS_POSIX_H_
|
#define _VFS_POSIX_H_
|
||||||
|
|
||||||
#include "librpc/gen_ndr/ndr_xattr.h"
|
#include "librpc/gen_ndr/xattr.h"
|
||||||
#include "system/filesys.h"
|
#include "system/filesys.h"
|
||||||
#include "smb_server/smb_server.h"
|
#include "smb_server/smb_server.h"
|
||||||
#include "ntvfs/ntvfs.h"
|
#include "ntvfs/ntvfs.h"
|
||||||
|
@ -59,8 +59,8 @@
|
|||||||
#include "pstring.h"
|
#include "pstring.h"
|
||||||
#include "system/time.h"
|
#include "system/time.h"
|
||||||
#include "system/iconv.h"
|
#include "system/iconv.h"
|
||||||
#include "librpc/gen_ndr/ndr_svcctl.h"
|
#include "librpc/gen_ndr/svcctl.h"
|
||||||
#include "librpc/gen_ndr/ndr_samr.h"
|
#include "librpc/gen_ndr/samr.h"
|
||||||
#include "smb_server/smb_server.h"
|
#include "smb_server/smb_server.h"
|
||||||
#include "libcli/raw/signing.h"
|
#include "libcli/raw/signing.h"
|
||||||
#include "dlinklist.h"
|
#include "dlinklist.h"
|
||||||
|
@ -2239,10 +2239,14 @@ sub HeaderInterface($)
|
|||||||
|
|
||||||
pidl_hdr "#include \"librpc/ndr/libndr.h\"";
|
pidl_hdr "#include \"librpc/ndr/libndr.h\"";
|
||||||
|
|
||||||
|
if (has_property($interface, "object")) {
|
||||||
|
pidl "#include \"librpc/gen_ndr/ndr_orpc.h\"";
|
||||||
|
}
|
||||||
|
|
||||||
if (defined $interface->{PROPERTIES}->{depends}) {
|
if (defined $interface->{PROPERTIES}->{depends}) {
|
||||||
my @d = split / /, $interface->{PROPERTIES}->{depends};
|
my @d = split / /, $interface->{PROPERTIES}->{depends};
|
||||||
foreach my $i (@d) {
|
foreach my $i (@d) {
|
||||||
pidl_hdr "#include \"librpc/gen_ndr/ndr_$i\.h\"";
|
pidl "#include \"librpc/gen_ndr/ndr_$i\.h\"";
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -309,11 +309,11 @@ sub ParseInterface($)
|
|||||||
|
|
||||||
sub Parse($$)
|
sub Parse($$)
|
||||||
{
|
{
|
||||||
my($ndr) = shift;
|
my($ndr,$header) = @_;
|
||||||
my($filename) = shift;
|
|
||||||
|
|
||||||
$res = "";
|
$res = "";
|
||||||
$res .= "/* server functions auto-generated by pidl */\n";
|
$res .= "/* server functions auto-generated by pidl */\n";
|
||||||
|
$res .= "#include \"$header\"\n";
|
||||||
$res .= "\n";
|
$res .= "\n";
|
||||||
|
|
||||||
foreach my $x (@{$ndr}) {
|
foreach my $x (@{$ndr}) {
|
||||||
|
Some files were not shown because too many files have changed in this diff Show More
Loading…
Reference in New Issue
Block a user