[Freeipa-devel] [freeipa PR#784][opened] ipa-replica-manage del (dl 0): remove server from defaultServerList
flo-renaud
freeipa-github-notification at redhat.com
Fri May 12 13:00:28 UTC 2017
URL: https://github.com/freeipa/freeipa/pull/784
Author: flo-renaud
Title: #784: ipa-replica-manage del (dl 0): remove server from defaultServerList
Action: opened
PR body:
"""
ipa-replica-manage 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/6946
"""
To pull the PR as Git branch:
git remote add ghfreeipa https://github.com/freeipa/freeipa
git fetch ghfreeipa pull/784/head:pr784
git checkout pr784
-------------- next part --------------
A non-text attachment was scrubbed...
Name: freeipa-pr-784.patch
Type: text/x-diff
Size: 1853 bytes
Desc: not available
URL: <http://listman.redhat.com/archives/freeipa-devel/attachments/20170512/6f75651f/attachment.bin>
More information about the Freeipa-devel
mailing list