Files
freeipa/ipaserver/plugins
Florence Blanc-Renaud a02a0a95f2 server-del: update defaultServerList in cn=default,ou=profile,$BASE
ipa server-del should remove the server from the entry
cn=default,ou=profile,$BASE
The entry contains an attribute
defaultServerList: srv1.domain.com srv2.domain.com srv3.domain.com

The code calls srvlist = ret.single_value.get('defaultServerList') which means
that srvlist contains a single value (string) containing all the servers
separated by a space, and not a list of attribute values. Because of that,
srvlist[0] corresponds to the first character of the value.
The fix splits srvlist and not srvlist[0].

https://pagure.io/freeipa/issue/6943

Reviewed-By: Martin Babinsky <mbabinsk@redhat.com>
2017-05-19 18:45:52 +02:00
..
2010-12-20 17:19:53 -05:00
2016-11-25 16:18:22 +01:00
2017-03-27 19:08:26 +02:00
2017-05-19 09:52:46 +02:00
2017-03-27 19:08:26 +02:00
2017-04-03 13:08:52 +02:00
2017-05-19 09:52:46 +02:00
2017-03-27 19:08:26 +02:00
2017-05-19 09:52:46 +02:00
2017-05-19 09:52:46 +02:00
2017-03-27 19:08:26 +02:00
2017-03-27 19:08:26 +02:00
2017-03-27 19:08:26 +02:00
2017-03-27 19:08:26 +02:00
2017-03-27 19:08:26 +02:00
2016-06-16 08:47:20 +02:00
2017-03-07 19:52:43 +01:00
2017-02-22 10:15:50 +01:00
2017-04-28 08:25:03 +02:00
2017-03-09 14:10:02 +01:00
2016-08-17 16:55:49 +02:00