summary |
shortlog |
log |
commit | commitdiff |
tree
raw |
patch |
inline | side by side (from parent 1:
ff541ab)
Prevents guest accounts from using debian-private and debian.net
return self['accountStatus'] == 'active' and self.numkeys() != 0
def is_guest_account(self):
return self['accountStatus'] == 'active' and self.numkeys() != 0
def is_guest_account(self):
- return self['gidNumber'] == 60000
+ return 'guest' in self['supplementaryGid']
def latitude_dec(self, anonymized=False):
return userdir_ldap.DecDegree(self['latitude'], anonymized)
def latitude_dec(self, anonymized=False):
return userdir_ldap.DecDegree(self['latitude'], anonymized)