mirror of
https://github.com/samba-team/samba.git
synced 2025-02-04 17:47:26 +03:00
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>
This commit is contained in:
parent
6601b3ac54
commit
25a94fa474
@ -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.
|
||||
|
Loading…
x
Reference in New Issue
Block a user