summaryrefslogtreecommitdiff
path: root/source3
diff options
context:
space:
mode:
Diffstat (limited to 'source3')
-rw-r--r--source3/passdb/machine_account_secrets.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/source3/passdb/machine_account_secrets.c b/source3/passdb/machine_account_secrets.c
index a2bd8be493..4a6642eef7 100644
--- a/source3/passdb/machine_account_secrets.c
+++ b/source3/passdb/machine_account_secrets.c
@@ -88,7 +88,9 @@ bool secrets_clear_domain_protection(const char *domain)
bool secrets_store_domain_sid(const char *domain, const struct dom_sid *sid)
{
+#if _SAMBA_BUILD_ == 4
char *protect_ids;
+#endif
bool ret;
#if _SAMBA_BUILD_ == 4
@@ -132,7 +134,9 @@ bool secrets_fetch_domain_sid(const char *domain, struct dom_sid *sid)
bool secrets_store_domain_guid(const char *domain, struct GUID *guid)
{
+#if _SAMBA_BUILD_ == 4
char *protect_ids;
+#endif
fstring key;
#if _SAMBA_BUILD_ == 4