|
|
|
# should methods be generated by metaprogramming ?
|
|
# (to ensure type_cast/normalize_value and not to repeat attr parameters)
|
|
|
|
ldap_virtual_attr :plopToto, '1.3.6.1.4.1.1466.115.121.1.15'
|
|
|
|
def plopToto(always_array = true)
|
|
val = "#{self.olcLocalSSF} #{self.olcThreads}"
|
|
(always_array) ? [val] : val
|
|
end
|
|
|
|
def plopToto=(val)
|
|
pp self.schema.ldap_syntax('1.3.6.1.4.1.1466.115.121.1.15').normalize_value(367)
|
|
end
|
|
|