summaryrefslogtreecommitdiffstats
path: root/ipaserver
diff options
context:
space:
mode:
authorSimo Sorce <ssorce@redhat.com>2011-02-17 08:30:36 -0500
committerSimo Sorce <ssorce@redhat.com>2011-02-17 19:43:52 -0500
commiteab4e36ee50a4d924d7889a167f4917fa9bf6136 (patch)
tree44e71c9124958183640701e0915dcbfaafef4542 /ipaserver
parent817dac3f043d2700a565dcd64666da69eb458cc4 (diff)
downloadfreeipa-eab4e36ee50a4d924d7889a167f4917fa9bf6136.tar.gz
freeipa-eab4e36ee50a4d924d7889a167f4917fa9bf6136.tar.xz
freeipa-eab4e36ee50a4d924d7889a167f4917fa9bf6136.zip
Try to register DNS name through a DNS Update on install.
Fixes: https://fedorahosted.org/freeipa/ticket/935
Diffstat (limited to 'ipaserver')
-rw-r--r--ipaserver/plugins/join.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/ipaserver/plugins/join.py b/ipaserver/plugins/join.py
index 992c6868..81c336b2 100644
--- a/ipaserver/plugins/join.py
+++ b/ipaserver/plugins/join.py
@@ -110,7 +110,7 @@ class join(Command):
attrs_list = api.Command['host_show'](**kw)['result']
dn = attrs_list['dn']
except errors.NotFound:
- attrs_list = api.Command['host_add'](hostname)['result']
+ attrs_list = api.Command['host_add'](hostname, force=True)['result']
dn = attrs_list['dn']
config = api.Command['config_show']()['result']