authtool -- missing dependencies to samba and krb5-config

Bug #86379 reported by Alex Mauer
72
Affects Status Importance Assigned to Milestone
authtool (Ubuntu)
In Progress
Medium
Unassigned
Nominated for Hardy by Pablo Catalina

Bug Description

Binary package hint: authtool

If package 'samba' isn't installed and Active Directory Authentication is selected in authtool, then when authtool tries to restart samba, it fails because there is no samba init script. And so it never gets around to writing the pam configuration files.

Revision history for this message
Andrew Mitchell (ajmitch) wrote :

Thanks, I'm adding in a check for the init script before trying to run it

Changed in authtool:
status: Unconfirmed → In Progress
Changed in authtool:
importance: Undecided → Medium
Revision history for this message
Arnaud Quette (aquette) wrote :

seems krb5-config is needed too.
I've got this without it:
/usr/lib/python2.5/site-packages/apt/__init__.py:18: FutureWarning: apt API not stable yet
  warnings.warn("apt API not stable yet", FutureWarning)
Traceback (most recent call last):
  File "/usr/bin/authtool-gtk", line 552, in <module>
    app = AuthtoolGTK()
  File "/usr/bin/authtool-gtk", line 41, in __init__
    self.authtools = Authtools()
  File "/var/lib/python-support/python2.5/AuthTool/authtools.py", line 264, in __init__
    self.method_cfgs[method] = obj(self.cfg)
  File "/usr/share/authtool/auth_methods/kerberos/kerberos.py", line 50, in __init__
    default_realm = self.db.get('krb5-config/default_realm')
  File "/var/lib/python-support/python2.5/AuthTool/authtools.py", line 192, in get
    return self.db.get(item)
  File "/usr/lib/python2.5/site-packages/debconf.py", line 60, in <lambda>
    lambda *args, **kw: self.command(command, *args, **kw))
  File "/usr/lib/python2.5/site-packages/debconf.py", line 96, in command
    raise DebconfError(status, data)
debconf.DebconfError: (10, "krb5-config/default_realm doesn't exist")

Revision history for this message
Chris Rowson (christopherrowson) wrote :

I found when installing this app that it depends on samba and krb-config. These packages aren't installed automatically.

Revision history for this message
Francis Viviers (francis-impilinux) wrote :

This is a gutsy problem as well.

Revision history for this message
Caspar Clemens Mierau (leitmedium) wrote :

Renamed Bug and changed duplicates so all authtool samba/krb5-config dependency bugs are collected in this bug.

Revision history for this message
Brunni (michaelbrunner) wrote :

Hi!

I thought I could use this Tool to activate LDAP-Authentication, but it's just not starting.
The Description in the packet-manager was:
Authentication Properties
network authentication configuration tool
Authtool is a network authentication configuration tool, for configuring a workstation to authenticate against a server, whether it be LDAP+Kerberos, Active Directory, NIS+ or standalone.
This is the GTK+ frontend for authtool.

Problem here the same:

#!: sudo /usr/bin/authtool-gtk
/usr/lib/python2.5/site-packages/apt/__init__.py:18: FutureWarning: apt API not stable yet
  warnings.warn("apt API not stable yet", FutureWarning)
Traceback (most recent call last):
  File "/usr/bin/authtool-gtk", line 552, in <module>
    app = AuthtoolGTK()
  File "/usr/bin/authtool-gtk", line 41, in __init__
    self.authtools = Authtools()
  File "/var/lib/python-support/python2.5/AuthTool/authtools.py", line 264, in __init__
    self.method_cfgs[method] = obj(self.cfg)
  File "/usr/share/authtool/auth_methods/kerberos/kerberos.py", line 50, in __init__
    default_realm = self.db.get('krb5-config/default_realm')
  File "/var/lib/python-support/python2.5/AuthTool/authtools.py", line 192, in get
    return self.db.get(item)
  File "/usr/lib/python2.5/site-packages/debconf.py", line 60, in <lambda>
    lambda *args, **kw: self.command(command, *args, **kw))
  File "/usr/lib/python2.5/site-packages/debconf.py", line 96, in command
    raise DebconfError(status, data)
debconf.DebconfError: (10, "krb5-config/default_realm doesn't exist")

Revision history for this message
Pablo Catalina (xkill) wrote :

At Hardy:
apt-get install krb5-config
and solve the problem

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Duplicates of this bug

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.