summaryrefslogtreecommitdiff
path: root/usr.sbin/ldapd/parse.y
diff options
context:
space:
mode:
Diffstat (limited to 'usr.sbin/ldapd/parse.y')
-rw-r--r--usr.sbin/ldapd/parse.y8
1 files changed, 1 insertions, 7 deletions
diff --git a/usr.sbin/ldapd/parse.y b/usr.sbin/ldapd/parse.y
index 68c885852b3..3a634984830 100644
--- a/usr.sbin/ldapd/parse.y
+++ b/usr.sbin/ldapd/parse.y
@@ -1,4 +1,4 @@
-/* $OpenBSD: parse.y,v 1.27 2018/05/14 07:53:47 reyk Exp $ */
+/* $OpenBSD: parse.y,v 1.28 2018/05/18 12:36:30 reyk Exp $ */
/*
* Copyright (c) 2009, 2010 Martin Hedenfalk <martinh@openbsd.org>
@@ -1164,12 +1164,6 @@ mk_aci(int type, int rights, enum scope scope, char *target, char *attr,
aci->scope,
aci->subject ? aci->subject : "any");
- if (aci->attribute && aci->rights != ACI_WRITE) {
- yyerror("attributes only supported for write access filters");
- free(aci);
- return NULL;
- }
-
return aci;
}