samba-tool: max() with key option is available in python >= 2.6