lib/active_samba_ldap/computer.rb in activesambaldap-0.0.2 vs lib/active_samba_ldap/computer.rb in activesambaldap-0.0.3
- old
+ new
@@ -1,13 +1,24 @@
-require 'active_samba_ldap/account'
-require 'active_samba_ldap/computer_account'
+require 'active_samba_ldap/base'
+require 'active_samba_ldap/entry'
+require 'active_samba_ldap/samba_entry'
+require 'active_samba_ldap/account_entry'
+require 'active_samba_ldap/computer_account_entry'
+require 'active_samba_ldap/samba_account_entry'
module ActiveSambaLdap
class Computer < Base
include Reloadable
include Entry
+ include SambaEntry
- include Account
- include ComputerAccount
+ include AccountEntry
+ include ComputerAccountEntry
+ include SambaAccountEntry
+
+ private
+ def default_account_flags
+ "[W]"
+ end
end
end