summaryrefslogtreecommitdiffstats
path: root/ipaserver/plugins/join.py
diff options
context:
space:
mode:
Diffstat (limited to 'ipaserver/plugins/join.py')
-rw-r--r--ipaserver/plugins/join.py3
1 files changed, 3 insertions, 0 deletions
diff --git a/ipaserver/plugins/join.py b/ipaserver/plugins/join.py
index e2f72bfaf..74fa806ff 100644
--- a/ipaserver/plugins/join.py
+++ b/ipaserver/plugins/join.py
@@ -113,6 +113,9 @@ class join(Command):
attrs_list = api.Command['host_add'](hostname)['result']
dn = attrs_list['dn']
+ config = api.Command['config_show']()['result']
+ attrs_list['ipacertificatesubjectbase'] = config['ipacertificatesubjectbase']
+
return (dn, attrs_list)
api.register(join)