1
0
mirror of https://github.com/samba-team/samba.git synced 2025-07-31 20:22:15 +03:00

s3-build: only include nsswitch header where needed.

Guenther
This commit is contained in:
Günther Deschner
2010-08-18 12:42:49 +02:00
parent 08eff4d311
commit 7ff7eb0b52
11 changed files with 11 additions and 3 deletions

View File

@ -19,6 +19,8 @@
*/ */
#include "includes.h" #include "includes.h"
#include "nsswitch/winbind_nss.h"
#ifdef HAVE_NS_API_H #ifdef HAVE_NS_API_H
#include <ns_daemon.h> #include <ns_daemon.h>

View File

@ -24,6 +24,7 @@
#include "includes.h" #include "includes.h"
#include "smbd/globals.h" #include "smbd/globals.h"
#include "../libcli/auth/libcli_auth.h" #include "../libcli/auth/libcli_auth.h"
#include "nsswitch/winbind_client.h"
#undef DBGC_CLASS #undef DBGC_CLASS
#define DBGC_CLASS DBGC_AUTH #define DBGC_CLASS DBGC_AUTH

View File

@ -659,7 +659,6 @@ struct ntlmssp_state;
#include "session.h" #include "session.h"
#include "mangle.h" #include "mangle.h"
#include "module.h" #include "module.h"
#include "nsswitch/winbind_client.h"
#include "dbwrap.h" #include "dbwrap.h"
#include "packet.h" #include "packet.h"
#include "ctdbd_conn.h" #include "ctdbd_conn.h"
@ -671,8 +670,6 @@ struct ntlmssp_state;
#include "../lib/util/smb_threads.h" #include "../lib/util/smb_threads.h"
#include "../lib/util/smb_threads_internal.h" #include "../lib/util/smb_threads_internal.h"
#include "nsswitch/winbind_nss.h"
/* forward declarations from smbldap.c */ /* forward declarations from smbldap.c */
#include "smbldap.h" #include "smbldap.h"

View File

@ -24,6 +24,7 @@
*/ */
#include "includes.h" #include "includes.h"
#include "nsswitch/winbind_client.h"
#ifndef HAVE_GETGROUPLIST #ifndef HAVE_GETGROUPLIST

View File

@ -24,6 +24,7 @@
#include "secrets.h" #include "secrets.h"
#include "../librpc/gen_ndr/samr.h" #include "../librpc/gen_ndr/samr.h"
#include "memcache.h" #include "memcache.h"
#include "nsswitch/winbind_client.h"
#undef DBGC_CLASS #undef DBGC_CLASS
#define DBGC_CLASS DBGC_PASSDB #define DBGC_CLASS DBGC_PASSDB

View File

@ -19,6 +19,7 @@
*/ */
#include "includes.h" #include "includes.h"
#include "nsswitch/winbind_client.h"
#ifdef malloc #ifdef malloc
#undef malloc #undef malloc

View File

@ -26,6 +26,7 @@
#include "tldap_util.h" #include "tldap_util.h"
#include "../librpc/gen_ndr/svcctl.h" #include "../librpc/gen_ndr/svcctl.h"
#include "memcache.h" #include "memcache.h"
#include "nsswitch/winbind_client.h"
extern char *optarg; extern char *optarg;
extern int optind; extern int optind;

View File

@ -33,6 +33,7 @@
#include <iniparser.h> #include <iniparser.h>
#include "../lib/crypto/arcfour.h" #include "../lib/crypto/arcfour.h"
#include "libads/kerberos_proto.h" #include "libads/kerberos_proto.h"
#include "nsswitch/winbind_client.h"
#ifndef PAM_WINBIND_CONFIG_FILE #ifndef PAM_WINBIND_CONFIG_FILE
#define PAM_WINBIND_CONFIG_FILE "/etc/security/pam_winbind.conf" #define PAM_WINBIND_CONFIG_FILE "/etc/security/pam_winbind.conf"

View File

@ -24,6 +24,7 @@
#include "includes.h" #include "includes.h"
#include "utils/ntlm_auth.h" #include "utils/ntlm_auth.h"
#include "../libcli/auth/libcli_auth.h" #include "../libcli/auth/libcli_auth.h"
#include "nsswitch/winbind_client.h"
#undef DBGC_CLASS #undef DBGC_CLASS
#define DBGC_CLASS DBGC_WINBIND #define DBGC_CLASS DBGC_WINBIND

View File

@ -21,6 +21,7 @@
#include "includes.h" #include "includes.h"
#include "winbindd.h" #include "winbindd.h"
#include "nsswitch/winbind_client.h"
#undef DBGC_CLASS #undef DBGC_CLASS
#define DBGC_CLASS DBGC_IDMAP #define DBGC_CLASS DBGC_IDMAP

View File

@ -25,6 +25,7 @@
#include "includes.h" #include "includes.h"
#include "popt_common.h" #include "popt_common.h"
#include "winbindd.h" #include "winbindd.h"
#include "nsswitch/winbind_client.h"
#include "../../nsswitch/libwbclient/wbc_async.h" #include "../../nsswitch/libwbclient/wbc_async.h"
#include "librpc/gen_ndr/messaging.h" #include "librpc/gen_ndr/messaging.h"
#include "../librpc/gen_ndr/srv_lsa.h" #include "../librpc/gen_ndr/srv_lsa.h"