diff options
author | Sumit Bose <sbose@redhat.com> | 2012-10-02 22:11:17 +0200 |
---|---|---|
committer | Rob Crittenden <rcritten@redhat.com> | 2012-10-04 22:15:36 -0400 |
commit | 58a99dd5ac5755cb02feb0feecb18d294eaa805c (patch) | |
tree | 5cf269bb15017f740fbdf81c48158ae515f51778 /install/tools/ipa-adtrust-install | |
parent | f5e839ef213d409b501b197cda3a974a55af518b (diff) | |
download | freeipa-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-x | install/tools/ipa-adtrust-install | 5 |
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() |