mirror of
https://salsa.debian.org/freeipa-team/freeipa.git
synced 2025-02-25 18:55:28 -06:00
Add server option to ipa-join so the IPA server can be specified.
This is needed because in the client installer we actually perform the join before creating the configuration files that join uses. All we need is the IPA server to join to and we have that from the CLI options so use that.
This commit is contained in:
committed by
Jason Gerard DeRose
parent
ab1667f3c1
commit
0dcaea8d16
@@ -376,7 +376,7 @@ def main():
|
||||
print "Test kerberos configuration failed"
|
||||
return 1
|
||||
os.environ['KRB5_CONFIG'] = krb_name
|
||||
join_args = ["/usr/sbin/ipa-join"]
|
||||
join_args = ["/usr/sbin/ipa-join", "-s", cli_server]
|
||||
if options.principal is not None:
|
||||
principal = options.principal
|
||||
if principal.find('@') == -1:
|
||||
|
||||
Reference in New Issue
Block a user