Example #1
0
File: gpo.py Project: rti7743/samba
def gpo_flags_string(value):
    '''return gpo flags string'''
    flags = policy.get_gpo_flags(value)
    if not flags:
        ret = 'NONE'
    else:
        ret = ' '.join(flags)
    return ret
Example #2
0
 def test_get_gpo_flags(self):
     self.assertEquals(["GPO_FLAG_USER_DISABLE"],
         policy.get_gpo_flags(policy.GPO_FLAG_USER_DISABLE))