Sha256: 76acbea7d74350bae3a02dd40da6a93e73c7b26d3db5f51dfa40b6829dfd927b

Contents?: true

Size: 264 Bytes

Versions: 8

Compression:

Stored size: 264 Bytes

Contents

class Group
  include DataMapper::Resource
  property :id,       Serial, :field => "gidNumber"
  property :name,     String, :field => "cn"

  dn_prefix { |group| "cn=#{group.name}" }

  treebase "ou=groups"

  ldap_properties {{:objectclass => "posixGroup"}}
end

Version data entries

8 entries across 8 versions & 1 rubygems

Version Path
dm-ldap-adapter-0.4.7 spec/support/group.rb
dm-ldap-adapter-0.4.8 spec/support/group.rb
dm-ldap-adapter-0.4.6 spec/support/group.rb
dm-ldap-adapter-0.4.6-java spec/support/group.rb
dm-ldap-adapter-0.4.5-java spec/support/group.rb
dm-ldap-adapter-0.4.5 spec/support/group.rb
dm-ldap-adapter-0.4.4-java spec/support/group.rb
dm-ldap-adapter-0.4.4 spec/support/group.rb