mirror of
https://github.com/samba-team/samba.git
synced 2025-05-27 17:05:51 +03:00
s3-build: only include nsswitch header where needed.
Guenther
This commit is contained in:
parent
08eff4d311
commit
7ff7eb0b52
@ -19,6 +19,8 @@
|
||||
*/
|
||||
|
||||
#include "includes.h"
|
||||
#include "nsswitch/winbind_nss.h"
|
||||
|
||||
#ifdef HAVE_NS_API_H
|
||||
|
||||
#include <ns_daemon.h>
|
||||
|
@ -24,6 +24,7 @@
|
||||
#include "includes.h"
|
||||
#include "smbd/globals.h"
|
||||
#include "../libcli/auth/libcli_auth.h"
|
||||
#include "nsswitch/winbind_client.h"
|
||||
|
||||
#undef DBGC_CLASS
|
||||
#define DBGC_CLASS DBGC_AUTH
|
||||
|
@ -659,7 +659,6 @@ struct ntlmssp_state;
|
||||
#include "session.h"
|
||||
#include "mangle.h"
|
||||
#include "module.h"
|
||||
#include "nsswitch/winbind_client.h"
|
||||
#include "dbwrap.h"
|
||||
#include "packet.h"
|
||||
#include "ctdbd_conn.h"
|
||||
@ -671,8 +670,6 @@ struct ntlmssp_state;
|
||||
#include "../lib/util/smb_threads.h"
|
||||
#include "../lib/util/smb_threads_internal.h"
|
||||
|
||||
#include "nsswitch/winbind_nss.h"
|
||||
|
||||
/* forward declarations from smbldap.c */
|
||||
|
||||
#include "smbldap.h"
|
||||
|
@ -24,6 +24,7 @@
|
||||
*/
|
||||
|
||||
#include "includes.h"
|
||||
#include "nsswitch/winbind_client.h"
|
||||
|
||||
#ifndef HAVE_GETGROUPLIST
|
||||
|
||||
|
@ -24,6 +24,7 @@
|
||||
#include "secrets.h"
|
||||
#include "../librpc/gen_ndr/samr.h"
|
||||
#include "memcache.h"
|
||||
#include "nsswitch/winbind_client.h"
|
||||
|
||||
#undef DBGC_CLASS
|
||||
#define DBGC_CLASS DBGC_PASSDB
|
||||
|
@ -19,6 +19,7 @@
|
||||
*/
|
||||
|
||||
#include "includes.h"
|
||||
#include "nsswitch/winbind_client.h"
|
||||
|
||||
#ifdef malloc
|
||||
#undef malloc
|
||||
|
@ -26,6 +26,7 @@
|
||||
#include "tldap_util.h"
|
||||
#include "../librpc/gen_ndr/svcctl.h"
|
||||
#include "memcache.h"
|
||||
#include "nsswitch/winbind_client.h"
|
||||
|
||||
extern char *optarg;
|
||||
extern int optind;
|
||||
|
@ -33,6 +33,7 @@
|
||||
#include <iniparser.h>
|
||||
#include "../lib/crypto/arcfour.h"
|
||||
#include "libads/kerberos_proto.h"
|
||||
#include "nsswitch/winbind_client.h"
|
||||
|
||||
#ifndef PAM_WINBIND_CONFIG_FILE
|
||||
#define PAM_WINBIND_CONFIG_FILE "/etc/security/pam_winbind.conf"
|
||||
|
@ -24,6 +24,7 @@
|
||||
#include "includes.h"
|
||||
#include "utils/ntlm_auth.h"
|
||||
#include "../libcli/auth/libcli_auth.h"
|
||||
#include "nsswitch/winbind_client.h"
|
||||
|
||||
#undef DBGC_CLASS
|
||||
#define DBGC_CLASS DBGC_WINBIND
|
||||
|
@ -21,6 +21,7 @@
|
||||
|
||||
#include "includes.h"
|
||||
#include "winbindd.h"
|
||||
#include "nsswitch/winbind_client.h"
|
||||
|
||||
#undef DBGC_CLASS
|
||||
#define DBGC_CLASS DBGC_IDMAP
|
||||
|
@ -25,6 +25,7 @@
|
||||
#include "includes.h"
|
||||
#include "popt_common.h"
|
||||
#include "winbindd.h"
|
||||
#include "nsswitch/winbind_client.h"
|
||||
#include "../../nsswitch/libwbclient/wbc_async.h"
|
||||
#include "librpc/gen_ndr/messaging.h"
|
||||
#include "../librpc/gen_ndr/srv_lsa.h"
|
||||
|
Loading…
x
Reference in New Issue
Block a user