summaryrefslogtreecommitdiffstats
path: root/ipalib/plugins/baseldap.py
diff options
context:
space:
mode:
authorMartin Kosek <mkosek@redhat.com>2012-03-22 17:35:39 +0100
committerMartin Kosek <mkosek@redhat.com>2012-03-22 19:30:13 +0100
commit5b8e1e8c62bb899145e3572dc8bfa7cb0570fd05 (patch)
treec429d57b979a81cae5fcb938dc1d36926b142ce3 /ipalib/plugins/baseldap.py
parent735618a1c6aee05d1c6455320da46fc52c85ca8c (diff)
downloadfreeipa.git-5b8e1e8c62bb899145e3572dc8bfa7cb0570fd05.tar.gz
freeipa.git-5b8e1e8c62bb899145e3572dc8bfa7cb0570fd05.tar.xz
freeipa.git-5b8e1e8c62bb899145e3572dc8bfa7cb0570fd05.zip
Harden raw record processing in DNS plugin
There were cases where DNS plugin was too tolerant in a raw DNS record option (--<rrtype-rec) processing. It let people specify DNS record parts options in dnsrecord-mod operations for some record without specifying the record that should be updated. It also ignored DNS record parts in dnsrecord-add operation when the raw DNS record value was already set via --<rrtype>-rec option. This patch hardens the processing and returns error in both described cases to make the processes clearer and more robust. All these use cases were also covered by new unit tests. https://fedorahosted.org/freeipa/ticket/2551
Diffstat (limited to 'ipalib/plugins/baseldap.py')
0 files changed, 0 insertions, 0 deletions