I've run into this issue too, on Ubuntu 14.04. I managed to figure out
that this is caused by a different version of the python-kerberos
package. The authGSSClientInit method signature has changed.

I checked out the "release-3-3-4" tag in git, and made the following
change to fix it:

    diff --git a/ipalib/rpc.py b/ipalib/rpc.py
    index 81e7aa3..ce5f2a0 100644
    --- a/ipalib/rpc.py
    +++ b/ipalib/rpc.py
    @@ -380,7 +380,7 @@ class KerbTransport(SSLTransport):
             service = "HTTP@" + host.split(':')[0]
    -            (rc, vc) = kerberos.authGSSClientInit(service, self.flags)
    +            (rc, vc) = kerberos.authGSSClientInit(service, 
             except kerberos.GSSError, e:

I'm still getting the following error after this fix, and will post
another comment if I manage to fix that one too.

    Traceback (most recent call last):
      File "/usr/sbin/ipa-client-install", line 2605, in <module>
      File "/usr/sbin/ipa-client-install", line 2586, in main
        rval = install(options, env, fstore, statestore)
      File "/usr/sbin/ipa-client-install", line 2463, in install
"/usr/lib/python2.7/dist-packages/ipapython/platform/debian/auth.py", line 41, 
in execute
    NameError: global name 'ipautil' is not defined

You received this bug notification because you are a member of FreeIPA,
which is subscribed to freeipa in Ubuntu.

  14.04 freeipa ipa-client-install fails

Status in “freeipa” package in Ubuntu:

Bug description:
  Running ipa-client-install --mkhomedir --enable-dns-updates -d
  --force-join ran as previous install had partially failed on install
  and rollback. Had to manually delete some files to get installer to
  run again, --uninstall option did not work.


  This sections seems to be the main point of failure:

  failed to find session_cookie in persistent storage for principal 
  trying https://ipa2.domain.name/ipa/xml
  Connection to https://ipa2.domain.name/ipa/xml failed with argument 2 must be 
string or None, not int
  trying https://ipa1.domain.name/ipa/xml
  Connection to https://ipa1.domain.name/ipa/xml failed with argument 2 must be 
string or None, not int
  Cannot connect to the server due to generic error: cannot connect to 
'Gettext('any of the configured servers', domain='ipa', localedir=None)': 
https://ipa2.domain.name/ipa/xml, https://ipa1.domain.name/ipa/xml
  Installation failed. Rolling back changes.

To manage notifications about this bug go to:

Mailing list: https://launchpad.net/~freeipa
Post to     : freeipa@lists.launchpad.net
Unsubscribe : https://launchpad.net/~freeipa
More help   : https://help.launchpad.net/ListHelp

Reply via email to