|
Lines 100-108
Link Here
|
| 100 |
ucr = config_registry.ConfigRegistry() |
100 |
ucr = config_registry.ConfigRegistry() |
| 101 |
ucr.load() |
101 |
ucr.load() |
| 102 |
|
102 |
|
| 103 |
s4_ldap_bindpw=open(ucr['%s/s4/ldap/bindpw' % CONFIGBASENAME]).read() |
103 |
s4_ldap_bindpw=None |
| 104 |
if s4_ldap_bindpw[-1] == '\n': |
104 |
bindpw_file=ucr['%s/s4/ldap/bindpw' % CONFIGBASENAME] |
| 105 |
s4_ldap_bindpw=s4_ldap_bindpw[0:-1] |
105 |
if bindpw_file: |
|
|
106 |
s4_ldap_bindpw=open(bindpw_file).read() |
| 107 |
if s4_ldap_bindpw[-1] == '\n': |
| 108 |
s4_ldap_bindpw=s4_ldap_bindpw[0:-1] |
| 106 |
|
109 |
|
| 107 |
univention.s4connector.s4.s4.__init__(self, |
110 |
univention.s4connector.s4.s4.__init__(self, |
| 108 |
CONFIGBASENAME, |
111 |
CONFIGBASENAME, |