summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--auth/common_auth.h2
-rw-r--r--source3/auth/user_info.c1
-rw-r--r--source3/auth/user_krb5.c1
-rw-r--r--source3/include/proto.h2
4 files changed, 3 insertions, 3 deletions
diff --git a/auth/common_auth.h b/auth/common_auth.h
index 4ae5df9a6b..c64b46c7cf 100644
--- a/auth/common_auth.h
+++ b/auth/common_auth.h
@@ -17,8 +17,6 @@
along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
-#include "librpc/gen_ndr/krb5pac.h"
-
#define USER_INFO_CASE_INSENSITIVE_USERNAME 0x01 /* username may be in any case */
#define USER_INFO_CASE_INSENSITIVE_PASSWORD 0x02 /* password may be in any case */
#define USER_INFO_DONT_CHECK_UNIX_ACCOUNT 0x04 /* don't check unix account status */
diff --git a/source3/auth/user_info.c b/source3/auth/user_info.c
index d5319a465a..3d4ee08b9f 100644
--- a/source3/auth/user_info.c
+++ b/source3/auth/user_info.c
@@ -18,6 +18,7 @@
*/
#include "includes.h"
+#include "librpc/gen_ndr/samr.h"
#undef DBGC_CLASS
#define DBGC_CLASS DBGC_AUTH
diff --git a/source3/auth/user_krb5.c b/source3/auth/user_krb5.c
index 580e71af86..9d6b6a445b 100644
--- a/source3/auth/user_krb5.c
+++ b/source3/auth/user_krb5.c
@@ -18,6 +18,7 @@
*/
#include "includes.h"
+#include "librpc/gen_ndr/krb5pac.h"
#undef DBGC_CLASS
#define DBGC_CLASS DBGC_AUTH
diff --git a/source3/include/proto.h b/source3/include/proto.h
index 7af0d08011..a49aa66564 100644
--- a/source3/include/proto.h
+++ b/source3/include/proto.h
@@ -4856,7 +4856,7 @@ const struct mangle_fns *posix_mangle_init(void);
bool map_username(fstring user);
/* The following definitions come from auth/user_krb5.c */
-
+struct PAC_LOGON_INFO;
NTSTATUS get_user_from_kerberos_info(TALLOC_CTX *mem_ctx,
const char *cli_name,
const char *princ_name,