summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--source3/include/includes.h2
-rw-r--r--source3/sam/account.c2
2 files changed, 1 insertions, 3 deletions
diff --git a/source3/include/includes.h b/source3/include/includes.h
index f7b0d76dd4..f1c8c50df4 100644
--- a/source3/include/includes.h
+++ b/source3/include/includes.h
@@ -751,9 +751,7 @@ extern int errno;
#include "passdb.h"
-#ifdef WITH_SAM
#include "sam.h"
-#endif
#include "session.h"
diff --git a/source3/sam/account.c b/source3/sam/account.c
index 9953ba956c..04be8ef162 100644
--- a/source3/sam/account.c
+++ b/source3/sam/account.c
@@ -24,7 +24,7 @@
#include "includes.h"
#undef DBGC_CLASS
-#define DBGC_CLASS DBGC_PASSDB
+#define DBGC_CLASS DBGC_SAM
/************************************************************
Fill the SAM_USER_HANDLE with default values.