Project

General

Profile

« Previous | Next » 

Revision 90809ae4

Added by Marc Dequènes over 14 years ago

  • ID 90809ae4611daed224702e4f6083c42f9277a4a4

[cleanup] internal rework #2

View differences:

conf/ldap_shadows/shadows/MilkyPond/hooks/aspects/fs.rb
def self.hook_common(shadow, item)
unless item.attribute_present?('gidNumber')
item.primaryGroup = shadow.find_klass(:group).find(:first, DEFAULT_GROUP)
item.primaryGroup = shadow.get_object(:group).find(:first, DEFAULT_GROUP)
end
if item.attribute_present?('uidNumber')

Also available in: Unified diff