summaryrefslogtreecommitdiffstats
path: root/install/tools/ipa-adtrust-install
diff options
context:
space:
mode:
authorSumit Bose <sbose@redhat.com>2012-10-02 22:11:17 +0200
committerRob Crittenden <rcritten@redhat.com>2012-10-04 22:15:36 -0400
commit58a99dd5ac5755cb02feb0feecb18d294eaa805c (patch)
tree5cf269bb15017f740fbdf81c48158ae515f51778 /install/tools/ipa-adtrust-install
parentf5e839ef213d409b501b197cda3a974a55af518b (diff)
downloadfreeipa-58a99dd5ac5755cb02feb0feecb18d294eaa805c.tar.gz
freeipa-58a99dd5ac5755cb02feb0feecb18d294eaa805c.tar.xz
freeipa-58a99dd5ac5755cb02feb0feecb18d294eaa805c.zip
Add SIDs for existing users and groups at the end of ipa-adtrust-install
Fixes https://fedorahosted.org/freeipa/ticket/3104
Diffstat (limited to 'install/tools/ipa-adtrust-install')
-rwxr-xr-xinstall/tools/ipa-adtrust-install5
1 files changed, 4 insertions, 1 deletions
diff --git a/install/tools/ipa-adtrust-install b/install/tools/ipa-adtrust-install
index 4285642e6..52179038e 100755
--- a/install/tools/ipa-adtrust-install
+++ b/install/tools/ipa-adtrust-install
@@ -61,6 +61,9 @@ def parse_options():
parser.add_option("-A", "--admin-name",
sensitive=True, dest="admin_name", default='admin',
help="admin user principal")
+ parser.add_option("--add-sids", dest="add_sids", action="store_true",
+ default=False, help="Add SIDs for existing users and" \
+ "groups as the final step")
options, args = parser.parse_args()
safe_options = parser.get_safe_opts(options)
@@ -250,7 +253,7 @@ def main():
smb.autobind = service.ENABLED
smb.setup(api.env.host, ip_address, api.env.realm, api.env.domain,
netbios_name, options.rid_base, options.secondary_rid_base,
- options.no_msdcs)
+ options.no_msdcs, options.add_sids)
smb.find_local_id_range()
smb.create_instance()