Hello,

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]
     
             try:
    -            (rc, vc) = kerberos.authGSSClientInit(service, self.flags)
    +            (rc, vc) = kerberos.authGSSClientInit(service, 
gssflags=self.flags)
             except kerberos.GSSError, e:
                 self._handle_exception(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>
        sys.exit(main())
      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
        auth_config.execute()
      File 
"/usr/lib/python2.7/dist-packages/ipapython/platform/debian/auth.py", line 41, 
in execute
        ipautil.run(["/usr/sbin/pam-auth-update"]+args,env)
    NameError: global name 'ipautil' is not defined

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1282818

Title:
  14.04 freeipa ipa-client-install fails

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/freeipa/+bug/1282818/+subscriptions

-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to