mirror of
https://github.com/samba-team/samba.git
synced 2025-07-16 20:59:12 +03:00
s4 upgradeprovision: add more attrbutes the ignore list
Also format in a pretty way the int64 ranges
This commit is contained in:
@ -886,3 +886,14 @@ def search_constructed_attrs_stored(samdb, rootdn, attrs):
|
||||
hashAtt[att][str(ent.dn).lower()] = str(ent[att])
|
||||
|
||||
return hashAtt
|
||||
|
||||
def int64range2str(value):
|
||||
"""Display the int64 range stored in value as xxx-yyy
|
||||
|
||||
:param value: The int64 range
|
||||
:return: A string of the representation of the range
|
||||
"""
|
||||
|
||||
lvalue = long(value)
|
||||
str = "%d-%d" % (lvalue&0xFFFFFFFF, lvalue>>32)
|
||||
return str
|
||||
|
Reference in New Issue
Block a user