]> git.ipfire.org Git - thirdparty/samba.git/commit
CVE-2026-4408: lib/util: introduce strstr_for_invalid_account_characters()
authorStefan Metzmacher <metze@samba.org>
Thu, 23 Apr 2026 16:56:21 +0000 (18:56 +0200)
committerStefan Metzmacher <metze@samba.org>
Tue, 26 May 2026 12:51:32 +0000 (12:51 +0000)
commit9910bbfc09ba35cf4ea82ff92a9f94de9f5bc862
tree8488e4d9b841b1b85f2ba304fc9d2edd69fec8f5
parent5288e3f8469c0103c5a32d59bb7962a3a7f0c2bf
CVE-2026-4408: lib/util: introduce strstr_for_invalid_account_characters()

This splits out the logic from samaccountname_bad_chars_check()
in source4/dsdb/samdb/ldb_modules/samldb.c, this will be used
in other places soon.

BUG: https://bugzilla.samba.org/show_bug.cgi?id=16034

Signed-off-by: Stefan Metzmacher <metze@samba.org>
Reviewed-by: Douglas Bagnall <douglas.bagnall@catalyst.net.nz>
lib/util/samba_util.h
lib/util/util_str.c