++ hack
This commit is contained in:
parent
aa9548e753
commit
074efffaa7
6 changed files with 56 additions and 6 deletions
|
|
@ -5,7 +5,10 @@ from ldap_manager import LdapManager
|
|||
config = configparser.ConfigParser()
|
||||
config.read('pay.conf')
|
||||
|
||||
# Note 2020-02-15: this stuff clearly does not belong here,
|
||||
# if config.py is used everywhere.
|
||||
|
||||
etcd_client = EtcdWrapper(host=config['etcd']['host'], port=config['etcd']['port'])
|
||||
|
||||
ldap_manager = LdapManager(server=config['ldap']['server'], admin_dn=config['ldap']['admin_dn'],
|
||||
admin_password=config['ldap']['admin_password'])
|
||||
admin_password=config['ldap']['admin_password'])
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue