summaryrefslogtreecommitdiff
path: root/source4
diff options
context:
space:
mode:
Diffstat (limited to 'source4')
-rw-r--r--source4/include/secrets.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/source4/include/secrets.h b/source4/include/secrets.h
index c2bd66ecf9..429e955a8f 100644
--- a/source4/include/secrets.h
+++ b/source4/include/secrets.h
@@ -62,6 +62,6 @@ struct machine_acct_pass {
#define SECRETS_PRIMARY_DOMAIN_FILTER "(&(flatname=%s)(objectclass=primaryDomain))"
#define SECRETS_PRIMARY_REALM_FILTER "(&(realm=%s)(objectclass=primaryDomain))"
#define SECRETS_KRBTGT_SEARCH "(&((|(realm=%s)(flatname=%s))(samAccountName=krbtgt)))"
-#define SECRETS_PRINCIPAL_SEARCH "(&((|(realm=%s)(flatname=%s))(servicePrincipalName=%s)))"
+#define SECRETS_PRINCIPAL_SEARCH "(&(|(realm=%s)(flatname=%s))(servicePrincipalName=%s))"
#endif /* _SECRETS_H */