diff options
author | Günther Deschner <gd@samba.org> | 2010-08-02 22:52:00 +0200 |
---|---|---|
committer | Günther Deschner <gd@samba.org> | 2010-08-06 15:43:37 +0200 |
commit | ae36783c7bed73461c012d78ec3e1f3a6bc3d221 (patch) | |
tree | 7210b99741677aedb38eb52e1f4ed3f6ded40f4b | |
parent | 677dcfa6782f03fa11c322b6c8e1abdc0a354604 (diff) | |
download | samba-ae36783c7bed73461c012d78ec3e1f3a6bc3d221.tar.gz samba-ae36783c7bed73461c012d78ec3e1f3a6bc3d221.tar.bz2 samba-ae36783c7bed73461c012d78ec3e1f3a6bc3d221.zip |
s3-passdb: include samr.h where needed.
Guenther
-rw-r--r-- | source3/libsmb/passchange.c | 2 | ||||
-rw-r--r-- | source3/pam_smbpass/general.h | 2 | ||||
-rw-r--r-- | source3/passdb/pdb_ads.c | 1 | ||||
-rw-r--r-- | source3/passdb/pdb_interface.c | 1 | ||||
-rw-r--r-- | source3/passdb/pdb_smbpasswd.c | 1 | ||||
-rw-r--r-- | source3/rpc_server/srv_samr_util.c | 1 | ||||
-rw-r--r-- | source3/utils/net_sam.c | 1 | ||||
-rw-r--r-- | source3/utils/pdbedit.c | 1 | ||||
-rw-r--r-- | source3/utils/smbpasswd.c | 1 |
9 files changed, 10 insertions, 1 deletions
diff --git a/source3/libsmb/passchange.c b/source3/libsmb/passchange.c index 88f1ca8da2..5117d78d47 100644 --- a/source3/libsmb/passchange.c +++ b/source3/libsmb/passchange.c @@ -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. diff --git a/source3/pam_smbpass/general.h b/source3/pam_smbpass/general.h index 320bdd0cc8..4607620c29 100644 --- a/source3/pam_smbpass/general.h +++ b/source3/pam_smbpass/general.h @@ -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) diff --git a/source3/passdb/pdb_ads.c b/source3/passdb/pdb_ads.c index 3ca24c4991..9eb5b6067e 100644 --- a/source3/passdb/pdb_ads.c +++ b/source3/passdb/pdb_ads.c @@ -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; diff --git a/source3/passdb/pdb_interface.c b/source3/passdb/pdb_interface.c index ba6725e7a5..b11fab4508 100644 --- a/source3/passdb/pdb_interface.c +++ b/source3/passdb/pdb_interface.c @@ -22,6 +22,7 @@ #include "includes.h" #include "secrets.h" +#include "../librpc/gen_ndr/samr.h" #undef DBGC_CLASS #define DBGC_CLASS DBGC_PASSDB diff --git a/source3/passdb/pdb_smbpasswd.c b/source3/passdb/pdb_smbpasswd.c index bfd996436e..dd89c8e10b 100644 --- a/source3/passdb/pdb_smbpasswd.c +++ b/source3/passdb/pdb_smbpasswd.c @@ -21,6 +21,7 @@ */ #include "includes.h" +#include "../librpc/gen_ndr/samr.h" #undef DBGC_CLASS #define DBGC_CLASS DBGC_PASSDB diff --git a/source3/rpc_server/srv_samr_util.c b/source3/rpc_server/srv_samr_util.c index d456486a10..8bbcc1a5ee 100644 --- a/source3/rpc_server/srv_samr_util.c +++ b/source3/rpc_server/srv_samr_util.c @@ -23,6 +23,7 @@ */ #include "includes.h" +#include "../librpc/gen_ndr/samr.h" #include "rpc_server/srv_samr_util.h" #undef DBGC_CLASS diff --git a/source3/utils/net_sam.c b/source3/utils/net_sam.c index 311cdd591b..e02837fbc6 100644 --- a/source3/utils/net_sam.c +++ b/source3/utils/net_sam.c @@ -20,6 +20,7 @@ #include "includes.h" #include "utils/net.h" +#include "../librpc/gen_ndr/samr.h" /* * Set a user's data diff --git a/source3/utils/pdbedit.c b/source3/utils/pdbedit.c index b3c6d14a96..9dff45b8f3 100644 --- a/source3/utils/pdbedit.c +++ b/source3/utils/pdbedit.c @@ -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 diff --git a/source3/utils/smbpasswd.c b/source3/utils/smbpasswd.c index 08ccab2126..1b68136c68 100644 --- a/source3/utils/smbpasswd.c +++ b/source3/utils/smbpasswd.c @@ -18,6 +18,7 @@ #include "includes.h" #include "secrets.h" +#include "../librpc/gen_ndr/samr.h" extern bool AllowDebugChange; |