summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJoseph Sutton <josephsutton@catalyst.net.nz>2022-06-14 21:09:53 +1200
committerJule Anger <janger@samba.org>2022-07-24 11:41:53 +0200
commit5d958156c7e5d6c1da61d18fe4fd105b22639b56 (patch)
treec57093e62a9fd0aea475b90c4afb2557296ce9cf
parent93bd8b08a092bacdcde1673749a8a94c4409229a (diff)
downloadsamba-5d958156c7e5d6c1da61d18fe4fd105b22639b56.tar.gz
CVE-2022-32746 s4/dsdb/objectclass_attrs: Fix typo
BUG: https://bugzilla.samba.org/show_bug.cgi?id=15009 Signed-off-by: Joseph Sutton <josephsutton@catalyst.net.nz>
-rw-r--r--source4/dsdb/samdb/ldb_modules/objectclass_attrs.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source4/dsdb/samdb/ldb_modules/objectclass_attrs.c b/source4/dsdb/samdb/ldb_modules/objectclass_attrs.c
index 6ab46a729a2..2a77353cdfc 100644
--- a/source4/dsdb/samdb/ldb_modules/objectclass_attrs.c
+++ b/source4/dsdb/samdb/ldb_modules/objectclass_attrs.c
@@ -263,7 +263,7 @@ static int attr_handler(struct oc_context *ac)
LDB_CONTROL_AS_SYSTEM_OID);
if (!dsdb_module_am_system(ac->module) && !as_system) {
ldb_asprintf_errstring(ldb,
- "objectclass_attrs: attribute '%s' on entry '%s' must can only be modified as system",
+ "objectclass_attrs: attribute '%s' on entry '%s' can only be modified as system",
msg->elements[i].name,
ldb_dn_get_linearized(msg->dn));
return LDB_ERR_CONSTRAINT_VIOLATION;