Sha256: 9dab24f854f148a4da9b814607b0c9a1fc99ae5daf9c1a3ff35ab787992b28ee
Contents?: true
Size: 571 Bytes
Versions: 3
Compression:
Stored size: 571 Bytes
Contents
require_library_or_gem 'active_samba_ldap' ActiveSambaLdap::Base.logger ||= RAILS_DEFAULT_LOGGER ldap_configuration_file = File.join(RAILS_ROOT, 'config', 'ldap.yml') if File.exist?(ldap_configuration_file) ActiveSambaLdap::Base.configurations = ActiveSambaLdap::Configuration.read(ldap_configuration_file) ActiveSambaLdap::Base.setup_connection else ActiveSambaLdap::Base.class_eval do format = _("You should run 'script/generator scaffold_active_samba_ldap' " \ "to make %s.") logger.error(format % ldap_configuration_file) end end
Version data entries
3 entries across 3 versions & 1 rubygems
Version | Path |
---|---|
activesambaldap-0.1.0 | rails/init.rb |
activesambaldap-0.0.9 | rails/init.rb |
activesambaldap-0.0.8 | rails/init.rb |