Project

General

Profile

« Previous | Next » 

Revision 0add0aab

Added by Marc Dequènes about 15 years ago

  • ID 0add0aabb74dc7c4fe2b42733430d69b6412b2b5

[evol] improve config #6 (rename config files)

View differences:

.gitignore
lib/ldap_shadows/config.rb
data/locale
#
conf/ldap_shadows/private.conf
conf/ldap_shadows/shadow_private.conf
var
bin/shadowwalker
set_locale(locale)
config_str = IO.read(File.join(LdapShadows::Config::CFG_DIR, "test.conf"))
config_str = IO.read(File.join(LdapShadows::Config::CFG_DIR, "shadow.conf"))
config = YAML.load(config_str)
config_str_prv_filelist = [
File.join(ENV['HOME'], ".shadowwalker"),
File.join(LdapShadows::Config::CFG_DIR, "private.conf")
File.join(LdapShadows::Config::CFG_DIR, "shadow_private.conf")
]
config_str_prv_filelist.each do |file|
if File.exists?(file)
conf/ldap_shadows/shadow.conf
---
presentation:
hidden_attributes: ['objectClass', 'userPassword', 'hasSubordinates', 'entryUUID', 'entryDN', 'structuralObjectClass', 'subschemaSubentry']
tree_objects: ['unit', 'entity']
conf/ldap_shadows/test.conf
---
presentation:
hidden_attributes: ['objectClass', 'userPassword', 'hasSubordinates', 'entryUUID', 'entryDN', 'structuralObjectClass', 'subschemaSubentry']
tree_objects: ['unit', 'entity']

Also available in: Unified diff