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:
Rob Crittenden
2009-11-25 11:32:39 -05:00
committed by Jason Gerard DeRose
parent ab1667f3c1
commit 0dcaea8d16
2 changed files with 9 additions and 5 deletions

View File

@@ -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: