summaryrefslogtreecommitdiff
path: root/source4/passdb
diff options
context:
space:
mode:
Diffstat (limited to 'source4/passdb')
-rw-r--r--source4/passdb/config.mk1
-rw-r--r--source4/passdb/secrets.h2
2 files changed, 3 insertions, 0 deletions
diff --git a/source4/passdb/config.mk b/source4/passdb/config.mk
index c57f79a577..09affdf589 100644
--- a/source4/passdb/config.mk
+++ b/source4/passdb/config.mk
@@ -1,3 +1,4 @@
[SUBSYSTEM::SECRETS]
+PRIVATE_PROTO_HEADER = proto.h
OBJ_FILES = secrets.o
REQUIRED_SUBSYSTEMS = SAMDB
diff --git a/source4/passdb/secrets.h b/source4/passdb/secrets.h
index 944a1a3e68..adbc9e1586 100644
--- a/source4/passdb/secrets.h
+++ b/source4/passdb/secrets.h
@@ -35,4 +35,6 @@ struct machine_acct_pass {
#define SECRETS_KRBTGT_SEARCH "(&((|(realm=%s)(flatname=%s))(samAccountName=krbtgt)))"
#define SECRETS_PRINCIPAL_SEARCH "(&(|(realm=%s)(flatname=%s))(servicePrincipalName=%s))"
+#include "passdb/proto.h"
+
#endif /* _SECRETS_H */