summaryrefslogtreecommitdiff
path: root/python
diff options
context:
space:
mode:
authorDouglas Bagnall <douglas.bagnall@catalyst.net.nz>2020-12-04 13:56:56 +1300
committerNoel Power <npower@samba.org>2020-12-15 14:32:43 +0000
commit25a94fa4743f4bda9924786775aba43bb8c58c0d (patch)
tree77f0d22947a14584433778cdb916bd5a0f6d8ab1 /python
parent6601b3ac544244563a8cd3cdb5a4bc7da1b4a759 (diff)
downloadsamba-25a94fa4743f4bda9924786775aba43bb8c58c0d.tar.gz
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 <douglas.bagnall@catalyst.net.nz> Reviewed-by: Noel Power <npower@samba.org>
Diffstat (limited to 'python')
-rw-r--r--python/samba/dbchecker.py2
1 files changed, 1 insertions, 1 deletions
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.