mirror of
https://salsa.debian.org/freeipa-team/freeipa.git
synced 2024-12-23 07:33:27 -06:00
ed001c97ee
Add new options to ipa config-mod, allowing to enable SID generation on upgraded servers: ipa config-mod --enable-sid --add-sids --netbios-name NAME The new option uses Dbus to launch an oddjob command, org.freeipa.server.config-enable-sid that runs the installation steps related to SID generation. --add-sids is optional and triggers the sid generation task that populates SID for existing users / groups. --netbios-name is optional and allows to specify the NetBIOS Name. When not provided, the NetBIOS name is generated based on the leading component of the DNS domain name. This command can be run multiple times. Fixes: https://pagure.io/freeipa/issue/8995 Signed-off-by: Florence Blanc-Renaud <flo@redhat.com> Reviewed-By: Christian Heimes <cheimes@redhat.com> Reviewed-By: Rob Crittenden <rcritten@redhat.com> Reviewed-By: Alexander Bokovoy <abokovoy@redhat.com>
33 lines
1.1 KiB
XML
33 lines
1.1 KiB
XML
<?xml version="1.0"?>
|
|
<oddjobconfig>
|
|
<service name="org.freeipa.server">
|
|
<allow user="root"/>
|
|
<allow user="ipaapi"/>
|
|
<object name="/">
|
|
<interface name="org.freeipa.server">
|
|
<method name="conncheck">
|
|
<helper exec="@ODDJOBDIR@/org.freeipa.server.conncheck"
|
|
arguments="1"
|
|
prepend_user_name="no"
|
|
argument_passing_method="cmdline"/>
|
|
</method>
|
|
<method name="trust_enable_agent">
|
|
<helper exec="@ODDJOBDIR@/org.freeipa.server.trust-enable-agent"
|
|
arguments="1"
|
|
prepend_user_name="no"
|
|
argument_passing_method="cmdline"/>
|
|
</method>
|
|
<method name="config_enable_sid">
|
|
<helper exec="@ODDJOBDIR@/org.freeipa.server.config-enable-sid"
|
|
arguments="10"
|
|
prepend_user_name="no"
|
|
argument_passing_method="cmdline"/>
|
|
</method>
|
|
</interface>
|
|
<interface name="org.freedesktop.DBus.Introspectable">
|
|
<allow min_uid="0" max_uid="0"/>
|
|
</interface>
|
|
</object>
|
|
</service>
|
|
</oddjobconfig>
|