Revision c8996a8d
Added by Marc Dequènes over 15 years ago
- ID c8996a8ded92c354c1e46eef2abf2b5b998f9159
bin/postman | ||
---|---|---|
|
||
ldap_config = @config.ldap
|
||
ldap_config.logger = logger
|
||
ActiveLdap::Base.establish_connection(ldap_config.marshal_dump)
|
||
ActiveLdap::Base.setup_connection(ldap_config.marshal_dump)
|
||
|
||
# setup logs
|
||
unless @config.log.nil?
|
||
... | ... | |
subsys = cmdline.shift
|
||
|
||
result = OpenStruct.new
|
||
result.cmd = cmdstr
|
||
result.cmd = cmdline
|
||
result.ok = false
|
||
ok = true
|
||
case subsys.upcase
|
Also available in: Unified diff
[fix] correct silly mistake and replace obsolete ActiveLdap::Base.establish_connection() call