s3-passdb: include samr.h where needed.
authorGünther Deschner <gd@samba.org>
Mon, 2 Aug 2010 20:52:00 +0000 (22:52 +0200)
committerGünther Deschner <gd@samba.org>
Fri, 6 Aug 2010 13:43:37 +0000 (15:43 +0200)
Guenther

source3/libsmb/passchange.c
source3/pam_smbpass/general.h
source3/passdb/pdb_ads.c
source3/passdb/pdb_interface.c
source3/passdb/pdb_smbpasswd.c
source3/rpc_server/srv_samr_util.c
source3/utils/net_sam.c
source3/utils/pdbedit.c
source3/utils/smbpasswd.c

index 88f1ca8da272167b0ff4eb0cf4116eab4019406a..5117d78d4797c9bf7891dc31dab00ee9a9e99faa 100644 (file)
@@ -18,8 +18,8 @@
 */
 
 #include "includes.h"
-#include "rpc_client/cli_samr.h"
 #include "../librpc/gen_ndr/ndr_samr.h"
+#include "rpc_client/cli_samr.h"
 
 /*************************************************************
  Change a password on a remote machine using IPC calls.
index 320bdd0cc8729b382239f04a8e981b6704220dd9..4607620c29b7adbc66bfc9360be1aa2d53116f86 100644 (file)
@@ -1,3 +1,5 @@
+#include "../librpc/gen_ndr/samr.h"
+
 #ifndef LINUX
 /* This is only needed by modules in the Sun implementation. */
 #if defined(HAVE_SECURITY_PAM_APPL_H)
index 3ca24c499115b2459cd4ed6e6da52d76dcb2092d..9eb5b6067e2f2e46e3a14620729c0e6afd3ebbf5 100644 (file)
@@ -22,6 +22,7 @@
 #include "tldap_util.h"
 #include "../libds/common/flags.h"
 #include "secrets.h"
+#include "../librpc/gen_ndr/samr.h"
 
 struct pdb_ads_state {
        struct sockaddr_un socket_address;
index ba6725e7a5eda9cd815633822095d02c80cb3c57..b11fab450818351fb932cefc21ce086a2f80c247 100644 (file)
@@ -22,6 +22,7 @@
 
 #include "includes.h"
 #include "secrets.h"
+#include "../librpc/gen_ndr/samr.h"
 
 #undef DBGC_CLASS
 #define DBGC_CLASS DBGC_PASSDB
index bfd996436efa0d0fba3b49dd589f9d697d4ce1ac..dd89c8e10bafe5506ab49b9dd2a9ad44f7f818ae 100644 (file)
@@ -21,6 +21,7 @@
  */
 
 #include "includes.h"
+#include "../librpc/gen_ndr/samr.h"
 
 #undef DBGC_CLASS
 #define DBGC_CLASS DBGC_PASSDB
index d456486a1025eded51b0acc49e547306786dc77c..8bbcc1a5ee3f3531997acae0e02c2233b32b7aac 100644 (file)
@@ -23,6 +23,7 @@
 */
 
 #include "includes.h"
+#include "../librpc/gen_ndr/samr.h"
 #include "rpc_server/srv_samr_util.h"
 
 #undef DBGC_CLASS
index 311cdd591b6f530bad4e3eff01cf936d30c6a478..e02837fbc61349f951bf446430f19115ebeb2343 100644 (file)
@@ -20,6 +20,7 @@
 
 #include "includes.h"
 #include "utils/net.h"
+#include "../librpc/gen_ndr/samr.h"
 
 /*
  * Set a user's data
index b3c6d14a96e430588b9c57413fb396614524f96b..9dff45b8f375eb7646efd5d80669fe5addb347f2 100644 (file)
@@ -22,6 +22,7 @@
 
 #include "includes.h"
 #include "popt_common.h"
+#include "../librpc/gen_ndr/samr.h"
 
 #define BIT_BACKEND    0x00000004
 #define BIT_VERBOSE    0x00000008
index 08ccab21261adf628155d73728395944a3e75a5d..1b68136c687e617328c1751660bad6042f6760e6 100644 (file)
@@ -18,6 +18,7 @@
 
 #include "includes.h"
 #include "secrets.h"
+#include "../librpc/gen_ndr/samr.h"
 
 extern bool AllowDebugChange;