Project

General

Profile

« Previous | Next » 

Revision 7f913647

Added by Marc Dequènes over 14 years ago

  • ID 7f913647af33494ef7a79a0cd1949daa103ab3a0

[evol] improve config #14 (validate global and shadow config, and removed shadowwalker's stuff from the general classes)

View differences:

bin/shadowwalker
def execute(args)
config = LdapShadows::Config.instance
config.load_global_config([File.join(ENV['HOME'], ".shadowwalker")])
begin
$ldapctl = config.load_shadow($program_options[:shadow_name])
rescue ActiveLdap::Error => e

Also available in: Unified diff