r13938: Around round of splitups
authorJelmer Vernooij <jelmer@samba.org>
Tue, 7 Mar 2006 13:36:26 +0000 (13:36 +0000)
committerGerald (Jerry) Carter <jerry@samba.org>
Wed, 10 Oct 2007 18:52:29 +0000 (13:52 -0500)
(This used to be commit 2d655f05285a86bb1bbb882e4dd843def15c9dfa)

19 files changed:
source4/auth/auth_unix.c
source4/auth/config.mk
source4/auth/gensec/config.mk
source4/auth/gensec/schannel.c
source4/include/includes.h
source4/lib/cmdline/config.mk
source4/lib/cmdline/popt_credentials.c
source4/lib/ldb/config.mk
source4/libcli/config.mk
source4/libnet/libnet_lookup.c
source4/main.mk
source4/passdb/config.mk
source4/passdb/secrets.h
source4/rpc_server/lsa/dcesrv_lsa.c
source4/rpc_server/netlogon/dcerpc_netlogon.c
source4/smbd/process_standard.c
source4/smbd/server.c
source4/winbind/wb_samba3_cmd.c
source4/winbind/wb_server.c

index eab86aecf862186d9b92d89cac730a886710792d..417025dfdf317804620a12eaf2c0b44d6ac856be 100644 (file)
@@ -24,6 +24,7 @@
 #include "auth/auth.h"
 #include "system/passwd.h" /* needed by some systems for struct passwd */
 #include "lib/socket/socket.h" 
+#include "auth/pam_errors.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 56bc28c8409380bb335d1f2725b6272d815b5f89..7372f563de8ce770c00e6010ad65ffdee58a1664 100644 (file)
@@ -63,6 +63,7 @@ REQUIRED_SUBSYSTEMS = \
 #######################
 
 [SUBSYSTEM::PAM_ERRORS]
+PRIVATE_PROTO_HEADER = pam_errors.h
 OBJ_FILES = pam_errors.o
 
 #######################
index 17e22123ab90600f3ece08bc71b7b2ec5e648d44..79b6cdda09a0eaa44b6b156ed2ce4d49bf119515 100644 (file)
@@ -59,6 +59,7 @@ REQUIRED_SUBSYSTEMS = AUTH SCHANNELDB NDR_SCHANNEL
 ################################################
 # Start SUBSYSTEM SCHANNELDB
 [SUBSYSTEM::SCHANNELDB]
+PRIVATE_PROTO_HEADER = schannel_state.h
 OBJ_FILES = \
                schannel_state.o
 #
index 0409b17c4de370def71deaaa1a460aef2dee72ca..2b3c330a2d33c8bbe490e2412e11c9bfa6f0d927 100644 (file)
@@ -25,6 +25,7 @@
 #include "librpc/gen_ndr/ndr_schannel.h"
 #include "auth/auth.h"
 #include "auth/gensec/schannel.h"
+#include "auth/gensec/schannel_state.h"
 #include "auth/gensec/schannel_proto.h"
 
 static size_t schannel_sig_size(struct gensec_security *gensec_security, size_t data_size)
index adf4d37016f5ff3c5613decdc35ba02b84b61b0e..89d586b75cd3e27bce58efc5c3c3f62ad8661e4b 100644 (file)
@@ -123,6 +123,7 @@ enum brl_type {
 #include "libcli/raw/interfaces.h"
 #include "auth/credentials/credentials.h"
 #include "libcli/nbt/libnbt.h"
+#include "libcli/util/proto.h"
 
 #undef _PRINTF_ATTRIBUTE
 #define _PRINTF_ATTRIBUTE(a1, a2)
index 28e482d9b261bda5fb540f1964c29683ae83427c..9380de53be2638de0ef9d13a9cc8988756185a07 100644 (file)
@@ -1,4 +1,5 @@
 [SUBSYSTEM::LIBCMDLINE_CREDENTIALS]
+PRIVATE_PROTO_HEADER = credentials.h
 OBJ_FILES = credentials.o
 REQUIRED_SUBSYSTEMS = CREDENTIALS
 
index 4a85fc540705a1d068fd72faa7410467c574d34a..072ac418ae53680666f47a5514bb5267b5d1d4fc 100644 (file)
@@ -21,6 +21,7 @@
 
 #include "includes.h"
 #include "lib/cmdline/popt_common.h"
+#include "lib/cmdline/credentials.h"
 #include "auth/gensec/gensec.h"
 
 /* Handle command line options:
index 423fef567f2f066c61b80e7dcf00c20644e6bcb3..3834ac02131bbbc6cab08c1597c20200ff40d0f3 100644 (file)
@@ -172,7 +172,7 @@ OBJ_FILES = \
 ################################################
 # Start SUBSYSTEM LIBLDB_CMDLINE
 [SUBSYSTEM::LIBLDB_CMDLINE]
-NOPROTO = NO
+NOPROTO = YES
 OBJ_FILES= \
                tools/cmdline.o
 REQUIRED_SUBSYSTEMS = LIBLDB LIBBASIC LIBPOPT POPT_SAMBA POPT_CREDENTIALS
index abe4c7673189758104433540ee793eeb08283b72..7dfa4717d8918afb897cff3cd2691f7c2d93e0af 100644 (file)
@@ -3,6 +3,7 @@ include ldap/config.mk
 include security/config.mk
 
 [SUBSYSTEM::LIBCLI_UTILS]
+PRIVATE_PROTO_HEADER = util/proto.h
 PUBLIC_HEADERS = util/nterr.h util/doserr.h util/nt_status.h
 OBJ_FILES = util/asn1.o \
                util/doserr.o \
@@ -92,6 +93,7 @@ OBJ_FILES = \
 REQUIRED_SUBSYSTEMS = LIBCLI_NBT LIBNETIF
 
 [SUBSYSTEM::LIBCLI_FINDDCS]
+PRIVATE_PROTO_HEADER = finddcs.h
 OBJ_FILES = \
        finddcs.o
 REQUIRED_SUBSYSTEMS = LIBCLI_NBT MESSAGING
index 968b76763ad0544cd58b5abbd0d2298485be0343..2ef62901da3868ffd1e5136b30c22f7cf1451bc6 100644 (file)
@@ -29,6 +29,7 @@
 #include "lib/messaging/messaging.h"
 #include "lib/messaging/irpc.h"
 #include "libcli/resolve/resolve.h"
+#include "libcli/finddcs.h"
 
 struct lookup_state {
        struct composite_context *resolve_ctx;
index ecc614ca7bf1ce52f24cd8eb016cddf35d6296c3..df0951d2a9eabbb6881fc910977c5969976ae09a 100644 (file)
@@ -248,6 +248,7 @@ include/includes.h: \
                lib/util/util_proto.h \
                lib/charset/charset.h \
                param/param.h \
+               libcli/util/proto.h
 
 clean_pch: 
        -rm -f include/includes.h.gch
index c57f79a577036e1a1a6143123d70bafa93305ec6..09affdf5894a050ad645d91949610157b0129c13 100644 (file)
@@ -1,3 +1,4 @@
 [SUBSYSTEM::SECRETS]
+PRIVATE_PROTO_HEADER = proto.h
 OBJ_FILES = secrets.o
 REQUIRED_SUBSYSTEMS = SAMDB
index 944a1a3e68744887329b9495f72fde54d79c6e43..adbc9e1586bc42ca4e05f5244b702d8117c26214 100644 (file)
@@ -35,4 +35,6 @@ struct machine_acct_pass {
 #define SECRETS_KRBTGT_SEARCH "(&((|(realm=%s)(flatname=%s))(samAccountName=krbtgt)))"
 #define SECRETS_PRINCIPAL_SEARCH "(&(|(realm=%s)(flatname=%s))(servicePrincipalName=%s))"
 
+#include "passdb/proto.h"
+
 #endif /* _SECRETS_H */
index 5af1dc3f4092f921e9715ca3ae092385d11fc937..e307305961f697886a51233319593cfb68b121f4 100644 (file)
@@ -30,6 +30,7 @@
 #include "libcli/security/proto.h"
 #include "libcli/auth/proto.h"
 #include "ntvfs/ntvfs.h"
+#include "passdb/secrets.h"
 #include "db_wrap.h"
 
 /*
index 76968882490fda780e847d07c5967789bb3e5a7b..f4340864257fb6c5e17e17f0a8b601c069ca75f8 100644 (file)
@@ -30,6 +30,7 @@
 #include "rpc_server/samr/proto.h"
 #include "db_wrap.h"
 #include "libcli/auth/proto.h"
+#include "auth/gensec/schannel_state.h"
 
 struct server_pipe_state {
        struct netr_Credential client_challenge;
index 8b319db1c2dba733d1f95821604f7676acff50c5..dadbe5bf804eec7f4124935ef6a791847992c143 100644 (file)
 #include "lib/tdb/include/tdb.h"
 #include "smb_server/smb_server.h"
 
-/* For sepecifiying event context to GSSAPI below */
+/* For specifiying event context to GSSAPI below */
 #include "system/kerberos.h"
 #include "heimdal/lib/gssapi/gssapi_locl.h"
 
+#include "passdb/secrets.h"
+
 /*
   called when the process model is selected
 */
index 93a4f1fb39906eeb7e26e1bc2636144d55b1e3d2..8488a37f5a7b9452c9fdbae918749df947b061c2 100644 (file)
@@ -36,6 +36,7 @@
 #include "auth/gensec/gensec.h"
 #include "smbd/process_model.h"
 #include "smbd/service.h"
+#include "passdb/secrets.h"
 
 /*
   recursively delete a directory tree
index 39cee9baba342539c0d76c87abf188ee8e81a48b..31365aa9eb323a0b840352616086c96a2110011f 100644 (file)
@@ -29,6 +29,7 @@
 #include "version.h"
 #include "librpc/gen_ndr/ndr_netlogon.h"
 #include "libcli/security/proto.h"
+#include "auth/pam_errors.h"
 
 /* 
    Send off the reply to an async Samba3 query, handling filling in the PAM, NTSTATUS and string errors.
index f6083a6fc8466fb4ad498f595fe89ae0e90e567f..8cd578216861c3fcc3a6711ccb5806ea2f48d170 100644 (file)
@@ -31,6 +31,7 @@
 #include "winbind/wb_server.h"
 #include "lib/stream/packet.h"
 #include "smbd/service.h"
+#include "passdb/secrets.h"
 
 void wbsrv_terminate_connection(struct wbsrv_connection *wbconn, const char *reason)
 {