mirror of
https://salsa.debian.org/freeipa-team/freeipa.git
synced 2025-02-25 18:55:28 -06:00
winsync-migrate: Require root privileges
https://fedorahosted.org/freeipa/ticket/4524 Reviewed-By: Martin Babinsky <mbabinsk@redhat.com>
This commit is contained in:
parent
e6a2a67d7a
commit
0e11a87090
@ -71,7 +71,8 @@ class MigrateWinsync(admintool.AdminTool):
|
||||
the realm passed via --realm option
|
||||
"""
|
||||
|
||||
super(MigrateWinsync, self).validate_options()
|
||||
# Require root to have access to HTTP keytab
|
||||
super(MigrateWinsync, self).validate_options(needs_root=True)
|
||||
|
||||
if self.options.realm is None:
|
||||
raise admintool.ScriptError(
|
||||
|
Loading…
Reference in New Issue
Block a user