From 25a94fa4743f4bda9924786775aba43bb8c58c0d Mon Sep 17 00:00:00 2001 From: Douglas Bagnall Date: Fri, 4 Dec 2020 13:56:56 +1300 Subject: [PATCH] dbcheck: make rIDSetReferences attr check case-insensitve Yes, it looks inefficient, but that's because it is just trying to fit in. Very soon we will fix it it properly. Signed-off-by: Douglas Bagnall Reviewed-by: Noel Power --- python/samba/dbchecker.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/python/samba/dbchecker.py b/python/samba/dbchecker.py index 28b56edaafb..f691f977f6f 100644 --- a/python/samba/dbchecker.py +++ b/python/samba/dbchecker.py @@ -2632,7 +2632,7 @@ newSuperior: %s""" % (str(from_dn), str(to_rdn), str(to_base))) if dn == self.server_ref_dn: # Check we have a valid RID Set - if "*" in attrs or "rIDSetReferences" in attrs: + if "*" in attrs or "ridsetreferences" in map(str.lower, attrs): if "rIDSetReferences" not in obj: # NO RID SET reference # We are RID master, allocate it.