mirror of
https://github.com/samba-team/samba.git
synced 2024-12-22 13:34:15 +03:00
parent
3709d6b8e3
commit
83d8fd3dcf
@ -69,7 +69,8 @@ OBJ_FILES = pam_errors.o
|
||||
#######################
|
||||
# Start SUBSYSTEM auth
|
||||
[SUBSYSTEM::auth]
|
||||
PRIVATE_PROTO_HEADER = auth_proto.h
|
||||
PUBLIC_HEADERS = auth.h
|
||||
PUBLIC_PROTO_HEADER = auth_proto.h
|
||||
OBJ_FILES = \
|
||||
auth.o \
|
||||
auth_util.o \
|
||||
|
@ -1,7 +1,8 @@
|
||||
#################################
|
||||
# Start SUBSYSTEM gensec
|
||||
[SUBSYSTEM::CREDENTIALS]
|
||||
PRIVATE_PROTO_HEADER = credentials_proto.h
|
||||
PUBLIC_PROTO_HEADER = credentials_proto.h
|
||||
PUBLIC_HEADERS = credentials.h
|
||||
OBJ_FILES = credentials.o \
|
||||
credentials_files.o \
|
||||
credentials_krb5.o \
|
||||
|
@ -23,6 +23,8 @@
|
||||
#ifndef __CREDENTIALS_H__
|
||||
#define __CREDENTIALS_H__
|
||||
|
||||
#include "librpc/gen_ndr/misc.h"
|
||||
|
||||
struct ccache_container;
|
||||
|
||||
/* In order of priority */
|
||||
|
@ -4,8 +4,8 @@
|
||||
VERSION = 0.0.1
|
||||
SO_VERSION = 0.0.1
|
||||
DESCRIPTION = Generic Security Library
|
||||
PUBLIC_HEADERS = gensec.h
|
||||
PRIVATE_PROTO_HEADER = gensec_proto.h
|
||||
PUBLIC_HEADERS = gensec.h spnego.h
|
||||
PUBLIC_PROTO_HEADER = gensec_proto.h
|
||||
OBJ_FILES = gensec.o
|
||||
REQUIRED_SUBSYSTEMS = \
|
||||
CREDENTIALS
|
||||
|
@ -128,6 +128,6 @@ struct gensec_critical_sizes {
|
||||
};
|
||||
|
||||
#include "auth/credentials/credentials.h"
|
||||
#include "gensec_proto.h"
|
||||
#include "auth/gensec/gensec_proto.h"
|
||||
|
||||
#endif /* __GENSEC_H__ */
|
||||
|
@ -39,9 +39,20 @@ libcli/cldap/cldap.h: cldap.h
|
||||
lib/samba3/samba3.h: samba3.h
|
||||
include/core.h: core.h
|
||||
librpc/gen_ndr/dcerpc.h: gen_ndr/dcerpc.h
|
||||
librpc/gen_ndr/netlogon.h: gen_ndr/netlogon.h
|
||||
librpc/gen_ndr/misc.h: gen_ndr/misc.h
|
||||
librpc/gen_ndr/lsa.h: gen_ndr/lsa.h
|
||||
librpc/gen_ndr/samr.h: gen_ndr/samr.h
|
||||
librpc/gen_ndr/security.h: gen_ndr/security.h
|
||||
librpc/ndr/libndr_proto.h: ndr/proto.h
|
||||
librpc/rpc/dcerpc_proto.h: dcerpc/proto.h
|
||||
lib/tdr/tdr_proto.h: tdr/proto.h
|
||||
auth/credentials/credentials.h: credentials.h
|
||||
auth/credentials/credentials_proto.h: credentials/proto.h
|
||||
rpc_server/dcerpc_server.h: dcerpc_server.h
|
||||
rpc_server/dcerpc_server_proto.h: dcerpc_server/proto.h
|
||||
auth/auth.h: auth.h
|
||||
auth/auth_proto.h: auth/proto.h
|
||||
auth/gensec/spnego.h: gensec/spnego.h
|
||||
auth/gensec/gensec_proto.h: gensec/proto.h
|
||||
libcli/auth/credentials.h: domain_credentials.h
|
||||
|
@ -24,6 +24,8 @@
|
||||
#ifndef _SAMBA_CORE_H
|
||||
#define _SAMBA_CORE_H
|
||||
|
||||
#include "libcli/util/nt_status.h"
|
||||
|
||||
#define False (0)
|
||||
#define True (1)
|
||||
#define Auto (2)
|
||||
@ -74,4 +76,26 @@ typedef NTSTATUS (*init_module_fn) (void);
|
||||
/* same struct as dom_sid but inside a 28 bytes fixed buffer in NDR */
|
||||
#define dom_sid28 dom_sid
|
||||
|
||||
/* protocol types. It assumes that higher protocols include lower protocols
|
||||
as subsets. FIXME: Move to one of the smb-specific headers */
|
||||
enum protocol_types {
|
||||
PROTOCOL_NONE,
|
||||
PROTOCOL_CORE,
|
||||
PROTOCOL_COREPLUS,
|
||||
PROTOCOL_LANMAN1,
|
||||
PROTOCOL_LANMAN2,
|
||||
PROTOCOL_NT1,
|
||||
PROTOCOL_SMB2
|
||||
};
|
||||
|
||||
/* passed to br lock code. FIXME: Move to one of the smb-specific headers */
|
||||
enum brl_type {
|
||||
READ_LOCK,
|
||||
WRITE_LOCK,
|
||||
PENDING_READ_LOCK,
|
||||
PENDING_WRITE_LOCK
|
||||
};
|
||||
|
||||
|
||||
|
||||
#endif /* _SAMBA_CORE_H */
|
||||
|
@ -95,31 +95,10 @@ _PUBLIC_ void smb_panic(const char *why) NORETURN_ATTRIBUTE;
|
||||
#include <varargs.h>
|
||||
#endif
|
||||
|
||||
/* protocol types. It assumes that higher protocols include lower protocols
|
||||
as subsets. FIXME: Move to one of the smb-specific headers */
|
||||
enum protocol_types {
|
||||
PROTOCOL_NONE,
|
||||
PROTOCOL_CORE,
|
||||
PROTOCOL_COREPLUS,
|
||||
PROTOCOL_LANMAN1,
|
||||
PROTOCOL_LANMAN2,
|
||||
PROTOCOL_NT1,
|
||||
PROTOCOL_SMB2
|
||||
};
|
||||
|
||||
/* passed to br lock code. FIXME: Move to one of the smb-specific headers */
|
||||
enum brl_type {
|
||||
READ_LOCK,
|
||||
WRITE_LOCK,
|
||||
PENDING_READ_LOCK,
|
||||
PENDING_WRITE_LOCK
|
||||
};
|
||||
|
||||
#define _PRINTF_ATTRIBUTE(a1, a2) PRINTF_ATTRIBUTE(a1, a2)
|
||||
#include "lib/replace/replace.h"
|
||||
|
||||
/* Lists, trees, caching, database... */
|
||||
#include "libcli/util/nt_status.h"
|
||||
#include "talloc/talloc.h"
|
||||
#include "core.h"
|
||||
#include "charset/charset.h"
|
||||
|
@ -3,5 +3,5 @@ PUBLIC_HEADERS = tdr.h
|
||||
VERSION = 0.0.1
|
||||
SO_VERSION = 0.0.1
|
||||
DESCRIPTION = Simple marshall/unmarshall library
|
||||
PRIVATE_PROTO_HEADER = tdr_proto.h
|
||||
PUBLIC_PROTO_HEADER = tdr_proto.h
|
||||
OBJ_FILES = tdr.o
|
||||
|
@ -2,7 +2,7 @@
|
||||
VERSION = 0.0.1
|
||||
SO_VERSION = 0.0.1
|
||||
DESCRIPTION = Generic utility functions
|
||||
PRIVATE_PROTO_HEADER = util_proto.h
|
||||
PUBLIC_PROTO_HEADER = util_proto.h
|
||||
PUBLIC_HEADERS = util.h \
|
||||
byteorder.h \
|
||||
debug.h \
|
||||
|
@ -1,6 +1,7 @@
|
||||
#################################
|
||||
# Start SUBSYSTEM LIBCLI_AUTH
|
||||
[SUBSYSTEM::LIBCLI_AUTH]
|
||||
PUBLIC_HEADERS = credentials.h
|
||||
PRIVATE_PROTO_HEADER = proto.h
|
||||
OBJ_FILES = credentials.o \
|
||||
session.o \
|
||||
|
@ -5,7 +5,7 @@ VERSION = 0.0.1
|
||||
SO_VERSION = 0.0.1
|
||||
DESCRIPTION = Network Data Representation Core Library
|
||||
PUBLIC_HEADERS = ndr/libndr.h
|
||||
PRIVATE_PROTO_HEADER = ndr/libndr_proto.h
|
||||
PUBLIC_PROTO_HEADER = ndr/libndr_proto.h
|
||||
OBJ_FILES = \
|
||||
ndr/ndr.o \
|
||||
ndr/ndr_basic.o \
|
||||
@ -38,6 +38,7 @@ VERSION = 0.0.1
|
||||
SO_VERSION = 0.0.1
|
||||
DESCRIPTION =
|
||||
OBJ_FILES = gen_ndr/ndr_security.o
|
||||
PUBLIC_HEADERS = gen_ndr/security.h
|
||||
REQUIRED_SUBSYSTEMS = NDR_MISC NDR_SECURITY_HELPER
|
||||
|
||||
[LIBRARY::NDR_AUDIOSRV]
|
||||
@ -101,6 +102,7 @@ VERSION = 0.0.1
|
||||
SO_VERSION = 0.0.1
|
||||
DESCRIPTION =
|
||||
OBJ_FILES = gen_ndr/ndr_misc.o
|
||||
PUBLIC_HEADERS = gen_ndr/misc.h
|
||||
REQUIRED_SUBSYSTEMS = LIBNDR
|
||||
|
||||
[LIBRARY::NDR_ROT]
|
||||
@ -115,6 +117,7 @@ VERSION = 0.0.1
|
||||
SO_VERSION = 0.0.1
|
||||
DESCRIPTION =
|
||||
OBJ_FILES = gen_ndr/ndr_lsa.o
|
||||
PUBLIC_HEADERS = gen_ndr/lsa.h
|
||||
REQUIRED_SUBSYSTEMS = LIBNDR
|
||||
|
||||
[LIBRARY::NDR_DFS]
|
||||
@ -168,6 +171,7 @@ VERSION = 0.0.1
|
||||
SO_VERSION = 0.0.1
|
||||
DESCRIPTION =
|
||||
OBJ_FILES = gen_ndr/ndr_samr.o
|
||||
PUBLIC_HEADERS = gen_ndr/samr.h
|
||||
REQUIRED_SUBSYSTEMS = LIBNDR NDR_MISC NDR_LSA NDR_SECURITY
|
||||
|
||||
[LIBRARY::NDR_SPOOLSS]
|
||||
@ -351,6 +355,7 @@ VERSION = 0.0.1
|
||||
SO_VERSION = 0.0.1
|
||||
DESCRIPTION =
|
||||
OBJ_FILES = gen_ndr/ndr_netlogon.o
|
||||
PUBLIC_HEADERS = gen_ndr/netlogon.h
|
||||
REQUIRED_SUBSYSTEMS = LIBNDR NDR_SAMR NDR_LSA
|
||||
|
||||
[LIBRARY::NDR_TRKWKS]
|
||||
@ -700,6 +705,7 @@ REQUIRED_SUBSYSTEMS = dcerpc NDR_KEYSVC
|
||||
[SUBSYSTEM::NDR_DCERPC]
|
||||
OBJ_FILES = gen_ndr/ndr_dcerpc.o
|
||||
REQUIRED_SUBSYSTEMS = LIBNDR NDR_MISC
|
||||
PUBLIC_HEADERS = gen_ndr/dcerpc.h
|
||||
|
||||
################################################
|
||||
# Start SUBSYSTEM dcerpc
|
||||
@ -708,7 +714,7 @@ VERSION = 0.0.1
|
||||
SO_VERSION = 0.0.1
|
||||
DESCRIPTION = DCE/RPC client library
|
||||
PUBLIC_HEADERS = rpc/dcerpc.h
|
||||
PRIVATE_PROTO_HEADER = rpc/dcerpc_proto.h
|
||||
PUBLIC_PROTO_HEADER = rpc/dcerpc_proto.h
|
||||
OBJ_FILES = \
|
||||
rpc/dcerpc.o \
|
||||
rpc/dcerpc_auth.o \
|
||||
|
@ -9,7 +9,8 @@
|
||||
layouts
|
||||
*/
|
||||
[
|
||||
pointer_default(unique)
|
||||
pointer_default(unique),
|
||||
depends(misc)
|
||||
]
|
||||
interface dcerpc
|
||||
{
|
||||
|
@ -21,6 +21,9 @@
|
||||
#ifndef __LIBNDR_H__
|
||||
#define __LIBNDR_H__
|
||||
|
||||
#include "core.h"
|
||||
#include "lib/talloc/talloc.h"
|
||||
|
||||
/*
|
||||
this provides definitions for the libcli/rpc/ MSRPC library
|
||||
*/
|
||||
|
@ -203,7 +203,8 @@ REQUIRED_SUBSYSTEMS = \
|
||||
################################################
|
||||
# Start SUBSYSTEM dcerpc_server
|
||||
[SUBSYSTEM::dcerpc_server]
|
||||
PRIVATE_PROTO_HEADER = dcerpc_server_proto.h
|
||||
PUBLIC_HEADERS = dcerpc_server.h
|
||||
PUBLIC_PROTO_HEADER = dcerpc_server_proto.h
|
||||
OBJ_FILES = \
|
||||
dcerpc_server.o \
|
||||
dcerpc_sock.o \
|
||||
|
@ -24,6 +24,11 @@
|
||||
#ifndef SAMBA_DCERPC_SERVER_H
|
||||
#define SAMBA_DCERPC_SERVER_H
|
||||
|
||||
#include "core.h"
|
||||
#include "librpc/gen_ndr/misc.h"
|
||||
#include "librpc/gen_ndr/dcerpc.h"
|
||||
#include "librpc/ndr/libndr.h"
|
||||
|
||||
/* modules can use the following to determine if the interface has changed
|
||||
* please increment the version number after each interface change
|
||||
* with a comment and maybe update struct dcesrv_critical_sizes.
|
||||
|
Loading…
Reference in New Issue
Block a user