* BUGFIX 2.9 ipa module utils can not handle HA FreeIPA with Python3
* Resolve comments on other PR
... | ... |
@@ -96,7 +96,7 @@ class IPAClient(object): |
96 | 96 |
if status_code not in [200, 201, 204]: |
97 | 97 |
self._fail('login', info['msg']) |
98 | 98 |
|
99 |
- self.headers = {'Cookie': resp.info().get('Set-Cookie')} |
|
99 |
+ self.headers = {'Cookie': info.get('set-cookie')} |
|
100 | 100 |
except Exception as e: |
101 | 101 |
self._fail('login', to_native(e)) |
102 | 102 |
if not self.headers: |